diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-23 03:42:11 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-23 03:42:11 +0000 |
commit | 43441dafdc65181ff8165e06736998981058064c (patch) | |
tree | eb829c218e1637862b7e41b3e2a1476dd799663a /community/gemrb/PKGBUILD | |
parent | b137011f8ca1733aef39da7b276bba93c3ad74cd (diff) |
Mon Jun 23 03:39:38 UTC 2014
Diffstat (limited to 'community/gemrb/PKGBUILD')
-rw-r--r-- | community/gemrb/PKGBUILD | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/community/gemrb/PKGBUILD b/community/gemrb/PKGBUILD index bd3faabde..cbef891ce 100644 --- a/community/gemrb/PKGBUILD +++ b/community/gemrb/PKGBUILD @@ -1,18 +1,21 @@ -# $Id: PKGBUILD 99757 2013-10-30 23:31:38Z allan $ +# $Id: PKGBUILD 113432 2014-06-22 19:07:16Z stativ $ # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com> pkgname=gemrb -pkgver=0.8.0.1 +pkgver=0.8.1 pkgrel=1 pkgdesc="OSS implementation of Bioware's Infinity Engine which supports eg. Baldur's Gate" arch=('i686' 'x86_64') url="http://www.gemrb.org/" license=('GPL') -depends=('python2' 'openal' 'libpng' 'sdl_mixer') +depends=('python2' 'openal' 'libpng' 'sdl_mixer' 'freetype2') # optionally it is possible to build vlc plugin too +# for future reference: there is also and experimental SDL2/OpenGL renderer makedepends=('cmake') +# i686 build breaks because of the stack protector +[ $CARCH=="i686" ] && options=('!buildflags') install=gemrb.install source=("http://downloads.sourceforge.net/sourceforge/gemrb/$pkgname-$pkgver.tar.gz") -md5sums=('fdb97cc031cf969938952ce2c79b25fc') +md5sums=('5e7d727f336caf91657375595982c063') build() { cd "$srcdir/$pkgname-$pkgver" @@ -22,7 +25,14 @@ build() { fi cd "$srcdir/build" - cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgver + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + ../$pkgname-$pkgver + + # fix the dirs not being properly set by cmake (bug #269) + echo '#define PLUGINDIR "/usr/lib/gemrb/plugins" + #define SYSCONFDIR "/etc/gemrb"' >> config.h + make } |