From 9205b63179448fbfa4d2cdcc70d3b74947c8a862 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 4 Jul 2019 17:28:15 +0200 Subject: community/teamspeak3-server: updated for pentium4 builds and blacklisted for i486 --- blacklist | 1 + community/teamspeak3-server/PKGBUILD | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/blacklist b/blacklist index 271081c4..8bc1b19e 100644 --- a/blacklist +++ b/blacklist @@ -60,6 +60,7 @@ pentium4 skia-sharp # does not provide a bin/gn for 32-bit Linux, see FS32#8 pentium4 skia-sharp58 # does not provide a bin/gn for 32-bit Linux, see FS32#8 pentium4 skia-sharp60 # does not provide a bin/gn for 32-bit Linux, see FS32#8 pentium4 tarantool # hand-crafted assembly code, see upstream +i486 teamspeak3-server # no need and most likely not running on i486 pentium4 vc # "Unsupported target architecture 'i686'. No support_???.cpp file exists for this architecture", complain upstream if you need it pentium4 wiredtiger # WiredTiger requires a 64-bit build pentium4 zcash # We don't yet support 32bit systems (and we won't by launch) but we can look into this after launch. diff --git a/community/teamspeak3-server/PKGBUILD b/community/teamspeak3-server/PKGBUILD index 08d7c2f0..e4231ad2 100644 --- a/community/teamspeak3-server/PKGBUILD +++ b/community/teamspeak3-server/PKGBUILD @@ -1,2 +1,14 @@ -sha256sums_i686=('d20d1df1d27445c117b47926e70ebd4c62e0338f18aab2c5d2c218ae6c2b0369') +sha256sums_i686=('d9ace85f222768f290f50420a845bdbcbb1688d9c0eb477be1171992eccb1140') +source_pentium4=("${source_i686[@]}") sha256sums_pentium4=("${sha256sums_i686[@]}") + +# set _TSARCH for pentium4 directly instead of trying to patch the +# if CARCH -> _TSRACH=... +if [ "${CARCH}" = "pentium4" ]; then + eval "$( + declare -f package | \ + sed ' + s/${_TSARCH}/x86/g + ' + )" +fi -- cgit v1.2.3-54-g00ecf