gr-lida 0.11.0

This commit is contained in:
Adrián Chaves Fernández (Gallaecio) 2016-05-22 15:49:52 +02:00
parent 7f50b29b66
commit 0be796e73d
2 changed files with 33 additions and 7 deletions

View File

@ -4,26 +4,40 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com> # Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=gr-lida pkgname=gr-lida
_pkgname=GR-lida pkgver=0.11.0
pkgver=0.9.1
pkgrel=1 pkgrel=1
pkgdesc="Front-End for DOSBox and ScummVM" pkgdesc="Front-End for DOSBox and ScummVM"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
license=('GPL2') license=('GPL2')
url="http://sharesource.org/project/grlida/" url="http://sharesource.org/project/grlida/"
depends=('phonon') depends=('phonon' 'poppler-qt4')
categories=('games') categories=('games')
optdepends=('dosbox: for DOSBox support' 'scummvm: for ScummVM support') optdepends=('dosbox: for DOSBox support' 'scummvm: for ScummVM support')
source=(http://dl.sharesource.org/grlida/$_pkgname-$pkgver.tar.bz2) source=(https://github.com/Monthy/gr-lida/archive/v$pkgver.tar.gz
md5sums=('e9595643bf36bfb83d81510b71981ab5') "zlib.patch")
md5sums=('44fd4e5f1f6c4a247fb317445e445dab')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
# http://www.gr-lida.org/foros/viewtopic.php?id=162
sed \
-e "s/CONFIG += qt warn_on thread release/CONFIG += qt warn_on thread release use_zlib/g" \
-i gr-lida.pro
Â# Based on r18607 of Scribus
patch -uNp1 -i "$srcdir/zlib.patch"
}
build() { build() {
cd $srcdir/$_pkgname-$pkgver cd $srcdir/$pkgname-$pkgver
qmake qmake
make make
} }
package() { package() {
cd $srcdir/$_pkgname-$pkgver cd $srcdir/$pkgname-$pkgver
make INSTALL_ROOT=$pkgdir install make INSTALL_ROOT=$pkgdir install
} }
md5sums=('44fd4e5f1f6c4a247fb317445e445dab'
'7cb2d35980188df85f4de2dd4a8c8504')

12
gr-lida/zlib.patch Normal file
View File

@ -0,0 +1,12 @@
diff -Naur gr-lida-0.11.0/3rdparty/osdab-zip/zip_p.h gr-lida-0.11.0-fixed/3rdparty/osdab-zip/zip_p.h
--- gr-lida-0.11.0/3rdparty/osdab-zip/zip_p.h 2013-08-18 16:37:11.000000000 +0200
+++ gr-lida-0.11.0-fixed/3rdparty/osdab-zip/zip_p.h 2016-05-22 15:43:42.022901270 +0200
@@ -66,7 +66,7 @@
public:
// uLongf from zconf.h
- typedef uLongf crc_t;
+ typedef z_crc_t crc_t;
ZipPrivate();
virtual ~ZipPrivate();