From fcfb6536c12a2aea5ac6e6f82c87ad329be5742b Mon Sep 17 00:00:00 2001 From: ragnarov <101@mailu.io> Date: Mon, 29 Jan 2024 19:31:31 +0600 Subject: [PATCH] openra: update to 20231010 --- srcpkgs/openra/template | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/srcpkgs/openra/template b/srcpkgs/openra/template index 744359faf2b4c..7480a6ccc9ead 100644 --- a/srcpkgs/openra/template +++ b/srcpkgs/openra/template @@ -1,7 +1,7 @@ # Template file for 'openra' pkgname=openra -version=20210321 -revision=2 +version=20231010 +revision=1 build_style="gnu-makefile" make_install_target="install install-linux-shortcuts install-linux-appdata" make_build_args="TARGETPLATFORM=unix-generic" @@ -14,7 +14,15 @@ maintainer="Orphaned " license="GPL-3.0-or-later" homepage="http://www.openra.net" distfiles="https://github.com/OpenRA/OpenRA/archive/release-${version}.tar.gz" -checksum=fe9a09aaebcd2bb859c3d00abdd45f4f958e249d0c9a4c6cff1b8cdceee7e909 +checksum=013d016f1b0e0cfe2f8e1acae6184cf1853fc702a5a6c5a7bd35b7e615f70498 + +# these insure that mono is selected for dot net dependency +# TARGETPLATFORM seems to determine if your systems libraries +# will be used or some other!? +# without it I get glibc dependency on musl system, strange! +# these variables don't have any default values, so we are good +make_install_args="RUNTIME=mono TARGETPLATFORM=unix-generic" +make_build_args="RUNTIME=mono TARGETPLATFORM=unix-generic" if [ "$XBPS_ENDIAN" = "be" ]; then broken="Fails to build" @@ -26,5 +34,5 @@ fi pre_build() { vsed -i -e "s#/app/lib#${XBPS_CROSS_BASE}/lib#g" configure-system-libraries.sh - make VERSION="release-${version}" version + make RUNTIME=mono TARGETPLATFORM=unix-generic VERSION="release-${version}" version }