mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
hedgewars: update to 0.9.25.
This commit is contained in:
parent
66165956c0
commit
6c6787eb1c
1 changed files with 11 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'hedgewars'
|
# Template file for 'hedgewars'
|
||||||
pkgname=hedgewars
|
pkgname=hedgewars
|
||||||
version=0.9.24.1
|
version=0.9.25
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="${pkgname}-src-${version}"
|
wrksrc="${pkgname}-src-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DNOSERVER=1 -DDATA_INSTALL_DIR=/usr/share/${pkgname}
|
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"
|
license="GPL-2.0-only"
|
||||||
homepage="https://www.hedgewars.org/"
|
homepage="https://www.hedgewars.org/"
|
||||||
distfiles="https://hedgewars.org/download/releases/hedgewars-src-${version}.tar.bz2"
|
distfiles="https://hedgewars.org/download/releases/hedgewars-src-${version}.tar.bz2"
|
||||||
checksum=81360a41aa911a667163c25bed9a823e32b17ff130b328399ddcba049b5d5bb8
|
checksum=07dc527dbc90dddea894f518aadd67aa2eebb19738739a7c1bd7fd1e608e1c6e
|
||||||
nopie_files="/usr/bin/hwengine"
|
nopie_files="/usr/bin/hwengine"
|
||||||
nocross="Needs investigation: fails to link hwengine"
|
nocross="Needs investigation: fails to link hwengine"
|
||||||
|
|
||||||
|
@ -23,6 +23,14 @@ if [ -n "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" qt5-devel"
|
hostmakedepends+=" qt5-devel"
|
||||||
fi
|
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() {
|
post_install() {
|
||||||
vinstall ${DESTDIR}/usr/share/hedgewars/Data/misc/hedgewars.desktop 644 usr/share/applications
|
vinstall ${DESTDIR}/usr/share/hedgewars/Data/misc/hedgewars.desktop 644 usr/share/applications
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue