diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -3,20 +3,20 @@ pkgname=arx-git _installname=arx -pkgver=1.1.2.r5464.gc87968a +pkgver=1.1.2+r5464.gc87968a pkgrel=1 pkgdesc='Cross-platform port of Arx Fatalis, a first-person fantasy RPG (executables only; Git version)' url='http://arx-libertatis.org/' arch=('i686' 'x86_64') license=('GPL3') -depends=('sdl' 'devil' 'openal' 'zlib' 'boost' 'glew' 'mesa' 'libgl') +depends=('sdl2' 'zlib' 'boost-libs' 'glm' 'freetype2' 'openal' 'glew') optdepends=('arxfatalis-data-gog: game data from GOG.com installer' 'arxfatalis-data-copy: game data from existing win32 installation' 'arxfatalis-data-demo: game data from official freeware demo' 'qt: enable built-in crash handler (Qt5 version; recompile needed)' 'qt4: enable built-in crash handler (Qt4 version; recompile needed)' 'gdb: generate detailed crash reports') -makedepends=('git' 'cmake') +makedepends=('git' 'cmake' 'boost') provides=('arx') conflicts=('arx arxlibertatis') install=arx.install @@ -30,7 +30,7 @@ pkgver() { _version=$(git describe --tags $(git rev-list --tags --max-count=1)) _commits=$(git log 1.1.2..master --pretty=oneline | wc -l) _rev=$(git log -1 --format="%h") - echo "$_version.r$_commits.g$_rev" + echo "$_version+r$_commits.g$_rev" } build() { @@ -40,6 +40,7 @@ build() { -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBEXECDIR=lib/$_installname \ -DINSTALL_DATADIR=share/$_installname \ + -DWITH_SDL=2 \ -DCMAKE_BUILD_TYPE=Release \ -DUNITY_BUILD=ON |