diff options
author | smls | 2015-08-15 00:07:25 +0200 |
---|---|---|
committer | smls | 2015-08-15 00:15:32 +0200 |
commit | 770f6938343dd0bdb1a3b34d3b419b18f721e512 (patch) | |
tree | 374b3d643b7aa38e49f0659454a78620da2e9514 | |
parent | 7843062cf517ec0cb8408d09e1316e205ae9a220 (diff) | |
download | aur-770f6938343dd0bdb1a3b34d3b419b18f721e512.tar.gz |
build against SDL2 and update dependency list
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 12 insertions, 11 deletions
@@ -1,6 +1,6 @@ pkgbase = arx-git pkgdesc = Cross-platform port of Arx Fatalis, a first-person fantasy RPG (executables only; Git version) - pkgver = 1.1.2.r5464.gc87968a + pkgver = 1.1.2+r5464.gc87968a pkgrel = 1 url = http://arx-libertatis.org/ install = arx.install @@ -9,14 +9,14 @@ pkgbase = arx-git license = GPL3 makedepends = git makedepends = cmake - depends = sdl - depends = devil - depends = openal + makedepends = boost + depends = sdl2 depends = zlib - depends = boost + depends = boost-libs + depends = glm + depends = freetype2 + depends = openal depends = glew - depends = mesa - depends = libgl optdepends = arxfatalis-data-gog: game data from GOG.com installer optdepends = arxfatalis-data-copy: game data from existing win32 installation optdepends = arxfatalis-data-demo: game data from official freeware demo @@ -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 |