hedgewars: update to 0.9.25.

This commit is contained in:
Helmut Pozimski 2018-12-06 14:46:49 +01:00
parent 66165956c0
commit 6c6787eb1c

View file

@ -1,7 +1,7 @@
# Template file for 'hedgewars'
pkgname=hedgewars
version=0.9.24.1
revision=2
version=0.9.25
revision=1
wrksrc="${pkgname}-src-${version}"
build_style=cmake
configure_args="-DNOSERVER=1 -DDATA_INSTALL_DIR=/usr/share/${pkgname}
@ -15,7 +15,7 @@ maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
license="GPL-2.0-only"
homepage="https://www.hedgewars.org/"
distfiles="https://hedgewars.org/download/releases/hedgewars-src-${version}.tar.bz2"
checksum=81360a41aa911a667163c25bed9a823e32b17ff130b328399ddcba049b5d5bb8
checksum=07dc527dbc90dddea894f518aadd67aa2eebb19738739a7c1bd7fd1e608e1c6e
nopie_files="/usr/bin/hwengine"
nocross="Needs investigation: fails to link hwengine"
@ -23,6 +23,14 @@ if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel"
fi
case $XBPS_TARGET_MACHINE in
# forces usage of C engine and ghc due to a 32 bit freepascal bug
i686*)
hostmakedepends+=" glew-devel ghc"
nopie_files+=" /usr/bin/hedgewars"
;;
esac
post_install() {
vinstall ${DESTDIR}/usr/share/hedgewars/Data/misc/hedgewars.desktop 644 usr/share/applications
}