gzdoom: update to 4.5.0, adopt.
Force linking to gtk and openal instead of dlopening. Clean up unused deps. Thanks nbm for initial update diff and prompting.
This commit is contained in:
parent
c4ecb8adf5
commit
55d8c766df
1 changed files with 18 additions and 11 deletions
|
@ -1,23 +1,25 @@
|
|||
# Template file for 'gzdoom'
|
||||
pkgname=gzdoom
|
||||
version=4.4.2
|
||||
version=4.5.0
|
||||
revision=1
|
||||
_tagdate=2020-06-16
|
||||
_tagdate=2021-10-31
|
||||
_widepix_commit=f4bb3541edd570cbccb58e5cdaba3dc0979208b9
|
||||
wrksrc="${pkgname}-g${version}"
|
||||
build_style=cmake
|
||||
configure_args="-DINSTALL_PK3_PATH=share/gzdoom"
|
||||
configure_args="-DINSTALL_PK3_PATH=share/gzdoom -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
|
||||
hostmakedepends="pkg-config tar xz"
|
||||
makedepends="SDL2-devel gtk+3-devel fluidsynth-devel libgme-devel libgomp-devel
|
||||
ppl-devel ZMusic-devel"
|
||||
depends="gtk+3"
|
||||
makedepends="SDL2-devel gtk+3-devel libgomp-devel ZMusic-devel libopenal-devel"
|
||||
short_desc="Advanced Doom source port with OpenGL support"
|
||||
maintainer="Michael Straube <straubem@gmx.de>"
|
||||
maintainer="Érico Nogueira <ericonr@disroot.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}_amd64.deb"
|
||||
checksum="d0ede9aefa8834b6d97a8a5336e57077475f43c297447f75b37550ee93010674
|
||||
ccff299967bd47c8154d3af835fe514df29fc0560831437074a4b5ada674e6ba"
|
||||
# WARNING: watch out for new submodules
|
||||
distfiles="https://github.com/coelckers/gzdoom/archive/g${version}.tar.gz
|
||||
https://github.com/coelckers/gzdoom/releases/download/g${version}/gzdoom_${version}_amd64.deb
|
||||
https://github.com/nashmuhandes/WidePix/archive/${_widepix_commit}.tar.gz"
|
||||
checksum="21eb1a221dae532a6c29f243584be3d5454f8eb4da85a67e405115f89666611d
|
||||
2f07795728940fca07aa9771d5a8bb77f7764862b96cc5a4126a5b8db7a357b8
|
||||
e0b85ca089a3714968f56acc9525f352dbec14f15e88e0aef1cdece64c4f3cbf"
|
||||
skip_extraction="${pkgname}_${version}_amd64.deb"
|
||||
nocross=yes
|
||||
|
||||
|
@ -33,6 +35,11 @@ post_extract() {
|
|||
bsdtar xOf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}_${version}_amd64.deb data.tar.xz |
|
||||
tar --strip-components=4 -xJf - ./usr/share/{pixmaps/gzdoom.png,applications/gzdoom.desktop}
|
||||
|
||||
rmdir wadsrc_widescreen/static
|
||||
mv ../WidePix-${_widepix_commit} wadsrc_widescreen/static
|
||||
}
|
||||
|
||||
post_patch() {
|
||||
vsed -e "s|GIT_DESCRIPTION|\"${version}\"|g" -i src/gitinfo.cpp
|
||||
vsed -e "s|VERSIONSTR|\"${version}\"|g" -i src/gitinfo.cpp
|
||||
vsed -e "s|GIT_TIME|\"${_tagdate}\"|g" -i src/gitinfo.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue