mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:33:20 +08:00
gr-lida 0.11.0
This commit is contained in:
parent
7f50b29b66
commit
0be796e73d
@ -4,26 +4,40 @@
|
||||
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
||||
|
||||
pkgname=gr-lida
|
||||
_pkgname=GR-lida
|
||||
pkgver=0.9.1
|
||||
pkgver=0.11.0
|
||||
pkgrel=1
|
||||
pkgdesc="Front-End for DOSBox and ScummVM"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL2')
|
||||
url="http://sharesource.org/project/grlida/"
|
||||
depends=('phonon')
|
||||
depends=('phonon' 'poppler-qt4')
|
||||
categories=('games')
|
||||
optdepends=('dosbox: for DOSBox support' 'scummvm: for ScummVM support')
|
||||
source=(http://dl.sharesource.org/grlida/$_pkgname-$pkgver.tar.bz2)
|
||||
md5sums=('e9595643bf36bfb83d81510b71981ab5')
|
||||
source=(https://github.com/Monthy/gr-lida/archive/v$pkgver.tar.gz
|
||||
"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() {
|
||||
cd $srcdir/$_pkgname-$pkgver
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
qmake
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$_pkgname-$pkgver
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
make INSTALL_ROOT=$pkgdir install
|
||||
}
|
||||
md5sums=('44fd4e5f1f6c4a247fb317445e445dab'
|
||||
'7cb2d35980188df85f4de2dd4a8c8504')
|
||||
|
12
gr-lida/zlib.patch
Normal file
12
gr-lida/zlib.patch
Normal 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();
|
Loading…
Reference in New Issue
Block a user