gzdoom: update to 3.4.1. (#193)

This commit is contained in:
travankor 2018-06-19 12:18:15 -07:00 committed by cr6git
parent ce605e2560
commit 37a2938ba3

View File

@ -1,8 +1,8 @@
# Template file for 'gzdoom'
pkgname=gzdoom
version=3.2.5
revision=2
_tagdate=2018-01-03
version=3.4.1
revision=1
_tagdate=2018-06-16
wrksrc=${pkgname}-g${version}
build_style=cmake
configure_args="-DINSTALL_PK3_PATH=share/gzdoom"
@ -11,12 +11,12 @@ makedepends="SDL2-devel gtk+3-devel fluidsynth-devel libgme-devel libgomp-devel
depends="libfluidsynth gtk+3"
short_desc="Advanced Doom source port with OpenGL support"
maintainer="Michael Straube <straubem@gmx.de>"
license="GPL-3"
homepage="http://www.zdoom.org"
license="GPL-3.0-or-later"
homepage="https://www.zdoom.org"
distfiles="https://github.com/coelckers/${pkgname}/archive/g${version}.tar.gz
https://github.com/coelckers/${pkgname}/releases/download/g${version}/${pkgname}_${version}_armhf.deb"
checksum="e9cf0aa5b7ee0b165532dee55e4965f6aabf1acadb79f7372f8e362540206748
2db1ea9c20ede1e07b6bcb6e6c45c984e1795c3ab716a6cca5c227ed6d900df5"
checksum="295a006417a13c1996c89d9ebf87457788371a9e2576dbcffc04a55576e300f7
f1824fe1a677b6d1f6bd1a17271e15756ac88f8881baaf8db9d0c825a30dae2d"
skip_extraction="${pkgname}_${version}_armhf.deb"
nocross=yes
@ -35,7 +35,7 @@ post_extract() {
sed -i "s|VERSIONSTR|\"${version}\"|g" src/gitinfo.cpp
sed -i "s|GIT_TIME|\"${_tagdate}\"|g" src/gitinfo.cpp
sed -i 's|#define SHARE_DIR.*|#define SHARE_DIR "/usr/share/gzdoom/"|' src/posix/i_system.h
sed -i 's|"/usr/share/games/doom"|"/usr/share/gzdoom"|g' src/gameconfigfile.cpp
sed -i 's|/usr/share/games/doom|/usr/share/gzdoom|g' src/gameconfigfile.cpp
}
post_install() {
@ -43,5 +43,5 @@ post_install() {
mv ${PKGDESTDIR}/usr/share/{doc/gzdoom/licenses,licenses/${pkgname}}
vinstall gzdoom.desktop 644 usr/share/applications
vinstall gzdoom.png 644 usr/share/pixmaps
vinstall soundfont/gzdoom.sf2 644 usr/share/gzdoom
vinstall soundfont/gzdoom.sf2 644 usr/share/gzdoom/soundfonts
}