[arch-commits] Commit in gemrb/trunk (PKGBUILD)
Lukas Jirkovsky
stativ at nymeria.archlinux.org
Sun Jun 22 18:54:15 UTC 2014
Date: Sunday, June 22, 2014 @ 20:54:15
Author: stativ
Revision: 113430
gemrb: Prepare for the 0.8.1 release.
Modified:
gemrb/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-06-22 16:37:51 UTC (rev 113429)
+++ PKGBUILD 2014-06-22 18:54:15 UTC (rev 113430)
@@ -1,18 +1,19 @@
# $Id$
# Maintainer: Lukas Jirkovsky <l.jirkovsky at 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')
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 +23,14 @@
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
}
More information about the arch-commits
mailing list