srb2: update to 2.2.9
This commit is contained in:
parent
2e75396495
commit
c5dc4d45dd
|
@ -0,0 +1,12 @@
|
||||||
|
diff -Naur SRB2-SRB2_release_2.2.9/src/sdl/MakeNIX.cfg SRB2-SRB2_release_2.2.9.orig/src/sdl/MakeNIX.cfg
|
||||||
|
--- SRB2-SRB2_release_2.2.9.orig/src/sdl/MakeNIX.cfg 2021-05-07 00:06:51.901546000 -0700
|
||||||
|
+++ SRB2-SRB2_release_2.2.9/src/sdl/MakeNIX.cfg 2021-05-06 19:38:24.000000000 -0700
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
|
OPTS=-DUNIXCOMMON
|
||||||
|
|
||||||
|
#LDFLAGS = -L/usr/local/lib
|
||||||
|
+ LIBS+=-lm
|
||||||
|
- LIBS=-lm
|
||||||
|
ifdef LINUX
|
||||||
|
LIBS+=-lrt
|
||||||
|
ifdef NOTERMIOS
|
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'srb2'
|
# Template file for 'srb2'
|
||||||
pkgname=srb2
|
pkgname=srb2
|
||||||
version=2.2.8
|
version=2.2.9
|
||||||
revision=1
|
revision=1
|
||||||
create_wrksrc=true
|
create_wrksrc=true
|
||||||
build_wrksrc="SRB2-SRB2_release_${version}"
|
build_wrksrc="SRB2-SRB2_release_${version}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_use_env=yes
|
make_use_env=yes
|
||||||
make_build_args=" -C src LINUX=1 USE_OPENMP=1 EXENAME=${pkgname}
|
make_build_args=" -C src ECHO=1 LINUX=1 USE_OPENMP=1 EXENAME=${pkgname}
|
||||||
DBGNAME=${pkgname}-debug NOOBJDUMP=1 NOUPX=1"
|
DBGNAME=${pkgname}-debug NOOBJDUMP=1 NOUPX=1"
|
||||||
hostmakedepends="pkg-config gettext"
|
hostmakedepends="pkg-config gettext"
|
||||||
makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libcurl-devel libgme-devel libopenmpt-devel"
|
makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libcurl-devel libgme-devel libopenmpt-devel"
|
||||||
|
@ -15,9 +15,9 @@ maintainer="oreo639 <oreo6391@gmail.com>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://srb2.org/"
|
homepage="https://srb2.org/"
|
||||||
distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz
|
distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz
|
||||||
https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-v${version}-Full.zip"
|
https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-v${version//./}-Full.zip"
|
||||||
checksum="bbb2777a05a16019d8b4a3fcef9829e6e7cfd795710b3ffcce009120f0e2c43c
|
checksum="5f7eeb08e90323e28cdcb02ad25c904eef25ce75316720609b995a1e4ffd154a
|
||||||
7a3805b1127bd42db6432a9fe3e25927269e334497d48bdc9c2751edc114d718"
|
48cf787a70f44b31fa7a56db4053a404a7103a494f1e09fd2bbfd563672a3534"
|
||||||
restricted=yes
|
restricted=yes
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
@ -26,6 +26,11 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
*) make_build_args+=" NONX86=1" ;;
|
*) make_build_args+=" NONX86=1" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
|
makedepends+=" libexecinfo-devel"
|
||||||
|
export LIBS="-lexecinfo"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
make_build_args+=" OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
|
make_build_args+=" OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue