mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/boinc: fix
This commit is contained in:
parent
09a96ef8cf
commit
18d3d68a52
1 changed files with 6 additions and 5 deletions
|
@ -5,6 +5,7 @@
|
|||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - set boinc alternate platform to match their platforms:
|
||||
# https://boinc.berkeley.edu/trac/wiki/BoincPlatforms
|
||||
# - upstream patch to fix FTBFS, included in 7.20
|
||||
|
||||
pkgbase=boinc
|
||||
pkgname=(boinc boinc-nox)
|
||||
|
@ -19,15 +20,19 @@ makedepends=('curl' 'freeglut' 'glu' 'inetutils' 'libnotify' 'libnsl' 'libxmu' '
|
|||
install=$pkgbase.install
|
||||
options=('!staticlibs')
|
||||
source=("$pkgbase-$pkgver.tar.gz::https://github.com/BOINC/boinc/archive/$_tag.tar.gz"
|
||||
https://github.com/BOINC/boinc/commit/3f6fc35cc28387e327cb6f47feb00061ed17b84c.patch
|
||||
boinc.bash
|
||||
boinc.desktop
|
||||
boinc.sysusers)
|
||||
sha512sums=('200587a0896aec6a7e7247132811141909aa333cb2bb9350c5ba016ffdf056413b1c5346361b311c087634b2d29cdbb204486385d8561a299b68739244c5a532'
|
||||
'102bf29657392d4227d7a4ec2870648e69d189070c4786a4fc6b61105b824c0129b02c671dda08a8da65f55c935e2e0c9758294a714bda00a3541336af6d1206'
|
||||
'dec4bb6e571c2d99e1f57295149399eee03a8ec41b07ec3f7f197b910d246dcd6a5eb880301c9cd3a039d8c5aa6b07babf6ab4cae5f242c419c8cd71f56b90f5'
|
||||
'b3fcd703a6f683d246242543c2f7b5fcfe403cb95b7786f1418b24c3dfb7c54c6b8c4816c0e9ae56b5ee4e4cae63f153ec522b04bf02f4f835dd90ac0e0ae204'
|
||||
'85804d7e6b7e07f06e93e8c42507f5cd0b9415257d6ac7421603a2b6084699d847ae9720c1cf9e9793b750dfb768375116843b988b287ee7c66c1374e18f7934')
|
||||
|
||||
prepare() {
|
||||
patch -p1 -i ../3f6fc35cc28387e327cb6f47feb00061ed17b84c.patch -d boinc-client_release-*-$pkgver
|
||||
|
||||
mv boinc-client_release-*-$pkgver $pkgbase-$pkgver
|
||||
cp -a "$srcdir"/$pkgbase-$pkgver{,-nox}
|
||||
|
||||
|
@ -42,11 +47,7 @@ prepare() {
|
|||
}
|
||||
|
||||
build() {
|
||||
if [[ $CARCH == "arm" ]]; then
|
||||
CONFIG="--with-boinc-alt-platform=arm-unknown-linux-gnueabisf"
|
||||
elif [[ $CARCH == "armv6h" || $CARCH == "armv7h" ]]; then
|
||||
CONFIG="--with-boinc-alt-platform=arm-unknown-linux-gnueabihf"
|
||||
fi
|
||||
[[ $CARCH == "armv7h" ]] && CONFIG="--with-boinc-alt-platform=arm-unknown-linux-gnueabihf"
|
||||
|
||||
cd "$srcdir"/$pkgbase-$pkgver
|
||||
export CXXFLAGS+=' -ffat-lto-objects'
|
||||
|
|
Loading…
Reference in a new issue