summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta2019-03-01 08:24:33 +0100
committerJan Cholasta2019-03-01 08:24:33 +0100
commit908a2a8d8141096ad7fcea1ccd33ea7c08150c72 (patch)
tree3f8978e2ecdd94bbee1d2da0e0bcaf2c386059ff
parentc1b3f0fc86c6013f79349d4349db7c65d0fbe488 (diff)
parent264ec693526d7c2ae6e962a81f5f535b71d9a35b (diff)
downloadaur-908a2a8d8141096ad7fcea1ccd33ea7c08150c72.tar.gz
gzdoom-3.7.2-2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d20b197746e..d716cb795c4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gzdoom
pkgdesc = Advanced Doom source port with OpenGL support
pkgver = 3.7.2
- pkgrel = 1
+ pkgrel = 2
url = http://www.zdoom.org/
arch = i686
arch = x86_64
@@ -11,7 +11,7 @@ pkgbase = gzdoom
license = LGPL3
makedepends = cmake
makedepends = desktop-file-utils
- makedepends = fluidsynth
+ makedepends = fluidsynth>=2
makedepends = git
makedepends = gtk3
depends = hicolor-icon-theme
@@ -22,7 +22,7 @@ pkgbase = gzdoom
optdepends = blasphemer-wad: Blasphemer (free Heretic) game data
optdepends = chexquest3-wad: Chex Quest 3 game data
optdepends = doom1-wad: Doom shareware game data
- optdepends = fluidsynth: FluidSynth MIDI device
+ optdepends = fluidsynth>=2: FluidSynth MIDI device
optdepends = freedm: FreeDM game data
optdepends = freedoom1: Freedoom: Phase 1 game data
optdepends = freedoom2: Freedoom: Phase 2 game data
diff --git a/PKGBUILD b/PKGBUILD
index 6a9e2bb1677..7000140784e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_name=gzdoom
pkgname=${_name}
pkgver=3.7.2
-pkgrel=1
+pkgrel=2
pkgdesc='Advanced Doom source port with OpenGL support'
arch=('i686' 'x86_64')
url='http://www.zdoom.org/'
@@ -16,13 +16,13 @@ depends=('hicolor-icon-theme'
'sdl2')
makedepends=('cmake'
'desktop-file-utils'
- 'fluidsynth'
+ 'fluidsynth>=2'
'git'
'gtk3')
optdepends=('blasphemer-wad: Blasphemer (free Heretic) game data'
'chexquest3-wad: Chex Quest 3 game data'
'doom1-wad: Doom shareware game data'
- 'fluidsynth: FluidSynth MIDI device'
+ 'fluidsynth>=2: FluidSynth MIDI device'
'freedm: FreeDM game data'
'freedoom1: Freedoom: Phase 1 game data'
'freedoom2: Freedoom: Phase 2 game data'
@@ -58,10 +58,12 @@ prepare() {
build() {
cd $_name
+ local _cflags="-DSHARE_DIR=\\\"/usr/share/$_name\\\" \
+ -DFLUIDSYNTHLIB2=\\\"libfluidsynth.so.2\\\""
cmake -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_C_FLAGS="$CFLAGS -DSHARE_DIR=\\\"/usr/share/$_name\\\"" \
- -DCMAKE_CXX_FLAGS="$CXXFLAGS -DSHARE_DIR=\\\"/usr/share/$_name\\\"" \
- -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -Wl,-z,noexecstack" \
+ -DCMAKE_C_FLAGS="${CFLAGS} ${_cflags}" \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${_cflags}" \
+ -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS} -Wl,-z,noexecstack" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_PATH=bin \
-DINSTALL_PK3_PATH=share/$_name \