community/distcc to 3.4-1

This commit is contained in:
Kevin Mihelich 2021-05-24 22:27:39 +00:00
parent 4c6fc3ca74
commit df98b1d385

View file

@ -10,9 +10,9 @@
# - patch to allow zero timeout (INT_MAX time to complete)
pkgname=distcc
pkgver=3.3.5
pkgrel=3
_gccver=10.2.0 # Current GCC version, used for symlinks. See FS#69044
pkgver=3.4
pkgrel=1
_gccver=11.1.0 # Current GCC version, used for symlinks. See FS#69044
pkgdesc='Distributed compilation service for C, C++ and Objective-C'
arch=(x86_64)
url='https://github.com/distcc/distcc'
@ -24,29 +24,22 @@ optdepends=("gcc=$_gccver"
"gtk3: for distccmon")
backup=(etc/conf.d/distccd
etc/distcc/hosts)
source=("git+$url#commit=8d2a5709d249949e8177dcf08b56dbe7857daa7f" # tag: v3.3.5
source=("git+$url#commit=50d821efe99cae82c05be0a4ab3b4035ef0d3883" # tag: v3.4
distccd.conf.d
distccd.service
sysusers.conf
gtk3.patch::https://github.com/distcc/distcc/commit/ff0a09f9e335d26265d8955176df1009ce40f518.patch
allow-zero-timeout.patch)
sha256sums=('SKIP'
'43e02b461841ca2976816c244a0eca8b24820ca143f73cc0924403d75a8c012f'
'360493245590d8c1480ff93cd30c9e81cb86efebacd78e45f37e7d6cdbcc2136'
'4e037a6225f498b51d6902d117be979454ac78ec5fd2f65f1d5a38e10859612a'
'fa931b9e0356878469a10c647573d8b20ce45a21d77cffbdd56a36983923bcb5'
'73ac95393ee94bcb28f49499e8eec61bfd29a7de38889eaebd237fbbcba6e2c6')
b2sums=('SKIP'
'c48a6daea2cae5e5865c488e612c819e6f9bf4a1b205e2cd264b795de3450d40b0fe05264fbd8a3fe861f03e38d91e7e791ad67e22da5b5d0b43bcb380b8b4c9'
'9b6ffc02e9360fd92f7595e96ef2d69b5f6d72acf343009375fa081f86b26f51960b139c4f6e0e3c8befa37eba4894d61351bbfab6386389c262db0cc01a8b8e'
'd1b057ce49994ac61e9d5a861c1c770452102300d47a9c396b3272d7f5afbd3fe3e865e6db11c046e73ae3b6886bc8970a10624650731d55132362436904f989'
'9fb83627feffba4093ea68f31cdd9257d0626f1c97aff4cd55ab74d02aceabc763e1fc59c35ddc042b61113c081b1f4cc64b8021e7ae8a5883641e7cc488f7ec')
prepare() {
cd $pkgname
patch -p1 -i "$srcdir/gtk3.patch"
patch -p1 -i ../allow-zero-timeout.patch
./autogen.sh
sed -i 's/ install-gnome-data//g' Makefile.in
# FS#66418, support Python 3.9
find . -name '*.py' -type f -exec sed -i 's,e.clock(,e.perf_counter(,g' {} \;
# Remove debug print, ref. https://github.com/distcc/distcc/commit/2df787cc0c02743254d5e6c04a38da82f1e3d9f6
sed -i '/fisk state/d' src/mon-gnome.c
}
build() {