mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-23 04:13:06 +02:00
yquake2: update to 5.34.
This commit is contained in:
parent
6bf05aca8d
commit
354dff02f8
2 changed files with 22 additions and 5 deletions
20
srcpkgs/yquake2/patches/build.patch
Normal file
20
srcpkgs/yquake2/patches/build.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
--- Makefile.orig 2016-06-26 08:34:49.136904943 +0200
|
||||||
|
+++ Makefile 2016-06-26 08:35:46.448588504 +0200
|
||||||
|
@@ -154,7 +154,7 @@ CFLAGS := -O2 -fno-strict-aliasing -fomi
|
||||||
|
-Wall -pipe -g -fwrapv
|
||||||
|
CFLAGS += $(OSX_ARCH)
|
||||||
|
else
|
||||||
|
-CFLAGS := -O2 -fno-strict-aliasing -fomit-frame-pointer \
|
||||||
|
+CFLAGS += -O2 -fno-strict-aliasing -fomit-frame-pointer \
|
||||||
|
-Wall -pipe -g -ggdb -MMD -fwrapv
|
||||||
|
endif
|
||||||
|
|
||||||
|
@@ -227,7 +227,7 @@ endif
|
||||||
|
|
||||||
|
# Base LDFLAGS.
|
||||||
|
ifeq ($(OSTYPE),Linux)
|
||||||
|
-LDFLAGS := -L/usr/lib -lm -ldl -rdynamic
|
||||||
|
+LDFLAGS += -L/usr/lib -lm -ldl -rdynamic
|
||||||
|
else ifeq ($(OSTYPE),FreeBSD)
|
||||||
|
LDFLAGS := -L/usr/local/lib -lm
|
||||||
|
else ifeq ($(OSTYPE),OpenBSD)
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'yquake2'
|
# Template file for 'yquake2'
|
||||||
pkgname=yquake2
|
pkgname=yquake2
|
||||||
version=5.33
|
version=5.34
|
||||||
revision=1
|
revision=1
|
||||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
||||||
wrksrc="quake2-${version}"
|
wrksrc="quake2-${version}"
|
||||||
|
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://www.yamagi.org/quake2/"
|
homepage="http://www.yamagi.org/quake2/"
|
||||||
distfiles="http://deponie.yamagi.org/quake2/quake2-${version}.tar.xz"
|
distfiles="http://deponie.yamagi.org/quake2/quake2-${version}.tar.xz"
|
||||||
checksum=aeee453841ab110c3ef43062da1cc4eed3214ec6f497b2f9fb269268700c7aa3
|
checksum=80e1193c633dbee87b9fcb8643069f9bda443aa65551c8f351870136c33d38d4
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs} WITH_SYSTEMWIDE=yes WITH_SYSTEMDIR=/usr/share/${pkgname}
|
make ${makejobs} WITH_SYSTEMWIDE=yes WITH_SYSTEMDIR=/usr/share/${pkgname}
|
||||||
|
@ -23,10 +23,7 @@ do_install() {
|
||||||
vbin release/quake2 ${pkgname}
|
vbin release/quake2 ${pkgname}
|
||||||
vbin release/q2ded ${pkgname}-q2ded
|
vbin release/q2ded ${pkgname}-q2ded
|
||||||
vinstall release/baseq2/game.so 644 usr/share/${pkgname}/baseq2
|
vinstall release/baseq2/game.so 644 usr/share/${pkgname}/baseq2
|
||||||
|
|
||||||
vinstall README 644 usr/share/doc/${pkgname}
|
|
||||||
vinstall stuff/yq2.cfg 644 usr/share/doc/${pkgname}
|
vinstall stuff/yq2.cfg 644 usr/share/doc/${pkgname}
|
||||||
|
|
||||||
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
||||||
vinstall stuff/icon/Quake2.png 644 usr/share/pixmaps ${pkgname}.png
|
vinstall stuff/icon/Quake2.png 644 usr/share/pixmaps ${pkgname}.png
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue