summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta2019-05-15 16:52:52 +0200
committerJan Cholasta2019-05-15 16:54:31 +0200
commitd3477e03027da3eb8a78956cc3647cb5a4f630fe (patch)
treef901040b35b3f175e9d22bf2e7dfe020846cf510
parent9621e0aa1ba9bc3d67aa94ba967f2b83ad832a3e (diff)
parent0f889ccdc40613601360b892df389734df0822b6 (diff)
downloadaur-gzdoom-legacy-git.tar.gz
gzdoom-legacy-git-g3.8.0_legacy+15+gf205c793a-1
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD18
2 files changed, 13 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7e96f9656c5..d2e484450fb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gzdoom-legacy-git
pkgdesc = Advanced Doom source port with OpenGL support (git legacy version)
- pkgver = g3.7.1_legacy
+ pkgver = g3.8.0_legacy+15+gf205c793a
pkgrel = 1
url = http://www.zdoom.org/
arch = i686
@@ -11,18 +11,17 @@ pkgbase = gzdoom-legacy-git
license = LGPL3
makedepends = cmake
makedepends = desktop-file-utils
- makedepends = fluidsynth
+ makedepends = fluidsynth>=2
makedepends = git
makedepends = gtk3
depends = hicolor-icon-theme
depends = libgl
- depends = libgme
depends = libjpeg
depends = sdl2
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 ca904dbe64c..9dfabd4a092 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_name=gzdoom
pkgname=${_name}-legacy-git
-pkgver=g3.7.1_legacy
+pkgver=g3.8.0_legacy+15+gf205c793a
pkgrel=1
pkgdesc='Advanced Doom source port with OpenGL support (git legacy version)'
arch=('i686' 'x86_64')
@@ -10,18 +10,17 @@ url='http://www.zdoom.org/'
license=('BSD' 'custom:dumb' 'GPL3' 'LGPL3')
depends=('hicolor-icon-theme'
'libgl'
- 'libgme'
'libjpeg'
'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'
@@ -52,7 +51,7 @@ sha256sums=('SKIP'
pkgver() {
cd $_name
- git describe --tags --match '[Gg]*_legacy' | tr - +
+ git describe --long --tags --match '[Gg]*_legacy' | tr - +
}
prepare() {
@@ -64,10 +63,13 @@ prepare() {
build() {
cd $_name
+ local _cflags="-ffile-prefix-map=\"$PWD\"=. \
+ -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 \