mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
hedgewars: update to 1.0.0
This commit is contained in:
parent
ba0d9e7427
commit
740b148aad
1 changed files with 14 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'hedgewars'
|
# Template file for 'hedgewars'
|
||||||
pkgname=hedgewars
|
pkgname=hedgewars
|
||||||
version=0.9.25
|
version=1.0.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="${pkgname}-src-${version}"
|
wrksrc="${pkgname}-src-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -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=07dc527dbc90dddea894f518aadd67aa2eebb19738739a7c1bd7fd1e608e1c6e
|
checksum=211634e61f2e4beecc3c98c6f749601fcd08321fda1ba969b3b3832a004f155b
|
||||||
nopie_files="/usr/bin/hwengine"
|
nopie_files="/usr/bin/hwengine"
|
||||||
nocross="Needs investigation: fails to link hwengine"
|
nocross="Needs investigation: fails to link hwengine"
|
||||||
|
|
||||||
|
@ -25,12 +25,23 @@ fi
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
case $XBPS_TARGET_MACHINE in
|
||||||
# forces usage of C engine and ghc due to a 32 bit freepascal bug
|
# forces usage of C engine and ghc due to a 32 bit freepascal bug
|
||||||
|
# https://travis-ci.org/void-linux/void-packages/jobs/596458977#L4316
|
||||||
i686*)
|
i686*)
|
||||||
hostmakedepends+=" glew-devel ghc"
|
hostmakedepends+=" glew-devel ghc libatomic-devel"
|
||||||
nopie_files+=" /usr/bin/hedgewars"
|
nopie_files+=" /usr/bin/hedgewars"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
# remove option not supported by clang
|
||||||
|
case $XBPS_TARGET_MACHINE in
|
||||||
|
i686*)
|
||||||
|
CFLAGS=${CFLAGS/-fstack-clash-protection/}
|
||||||
|
CXXFLAGS=${CXXFLAGS/-fstack-clash-protection/}
|
||||||
|
;;
|
||||||
|
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