aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-09-12 13:25:53 +0000
committerpsykose <alice@ayaya.dev>2022-09-12 20:44:00 +0200
commitbdd5e5d2fcba0e3ea9e108f21b1d21eff0c3f75b (patch)
tree2f9a1827d6b0d2615f38557fda7a3bc5c2dc8e13
parentb0adfc8f6948c701ad6d9722146d1391af8ebfa9 (diff)
downloadaports-bdd5e5d2fcba0e3ea9e108f21b1d21eff0c3f75b.tar.gz
aports-bdd5e5d2fcba0e3ea9e108f21b1d21eff0c3f75b.tar.bz2
aports-bdd5e5d2fcba0e3ea9e108f21b1d21eff0c3f75b.tar.xz
testing/boinc: upgrade to 7.20.2
-rw-r--r--testing/boinc/APKBUILD69
1 files changed, 37 insertions, 32 deletions
diff --git a/testing/boinc/APKBUILD b/testing/boinc/APKBUILD
index 064b83b04a..bbc8c63aa0 100644
--- a/testing/boinc/APKBUILD
+++ b/testing/boinc/APKBUILD
@@ -2,23 +2,48 @@
# Contributor: knuxify <knuxify@gmail.com>
# Maintainer: Joe Searle <joe@jsearle.net>
pkgname=boinc
-pkgver=7.20.1
+pkgver=7.20.2
_pkgver=${pkgver%.*}
-pkgrel=1
+pkgrel=0
pkgdesc="Open-source software for volunteer computing and grid computing."
url="https://boinc.berkeley.edu/"
arch="all !riscv64"
options="!check" # nothing is actually done by make check
license="LGPL-3.0-or-later"
depends="bash procps shadow"
-makedepends="$depends_dev automake autoconf clang curl-dev docbook2x
- freeglut-dev glu-dev libjpeg-turbo-dev libnotify-dev openssl-dev>3
- libtool libxi-dev libxmu-dev libxscrnsaver-dev m4 mesa-dev pkgconf
- sqlite-dev wxgtk-dev"
+makedepends="
+ $depends_dev
+ autoconf
+ automake
+ clang
+ curl-dev
+ docbook2x
+ freeglut-dev
+ glu-dev
+ libjpeg-turbo-dev
+ libnotify-dev
+ libtool
+ libxi-dev
+ libxmu-dev
+ libxscrnsaver-dev
+ m4
+ mesa-dev
+ openssl-dev>3
+ sqlite-dev
+ wxwidgets-dev
+ "
install="$pkgname.pre-install"
pkgusers="boinc"
pkggroups="boinc"
-subpackages="$pkgname-doc $pkgname-dev $pkgname-gui $pkgname-lang $pkgname-libs $pkgname-openrc $pkgname-screensaver"
+subpackages="
+ $pkgname-doc
+ $pkgname-dev
+ $pkgname-gui
+ $pkgname-lang
+ $pkgname-libs
+ $pkgname-openrc
+ $pkgname-screensaver
+ "
source="boinc-$pkgver.tar.gz::https://github.com/BOINC/boinc/archive/client_release/$_pkgver/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-client_release-$_pkgver-$pkgver"
@@ -26,6 +51,8 @@ build() {
# GCC fails on non-x86 architectures
export CC=clang
export CXX=clang++
+ export CFLAGS="$CFLAGS -O2"
+ export CXXFLAGS="$CXXFLAGS -O2"
./_autosetup
@@ -55,40 +82,18 @@ package() {
make DESTDIR="$pkgdir" install
}
-_cleanup_empty_dirs() {
- local _dir
- _dir="${1:-"$pkgdir"}"
-
- find "$_dir" -mindepth 1 -depth -type d -exec rmdir --ignore-fail-on-non-empty '{}' +
-}
-
-libs() {
- default_libs
- depends="$depends_libs"
-
- _cleanup_empty_dirs
-}
-
gui() {
- depends="$depends_gui"
pkgdesc="$pkgdesc (manager)"
- mkdir -p "$subpkgdir/usr/bin"
- mv "$pkgdir/usr/bin/boincmgr" "$subpkgdir/usr/bin"
-
- _cleanup_empty_dirs
+ amove usr/bin/boincmgr
}
screensaver() {
- depends="$depends_screensaver"
pkgdesc="$pkgdesc (screensaver)"
- mkdir -p "$subpkgdir/usr/bin"
- mv "$pkgdir/usr/bin/boincscr" "$subpkgdir/usr/bin"
-
- _cleanup_empty_dirs
+ amove usr/bin/boincscr
}
sha512sums="
-6b4aa9d288888bec847c21b59f8c6c27ad040e5a8f21e3a0fa39999e548e6bd0504723092acfaaba02090962aa1c6537af48bb32cdfc9b13de7d878d2963b731 boinc-7.20.1.tar.gz
+0309d5585ece96a5d9021058870dce9a96c89ece269650961a9b22d5219529e242a55dc1e466f5364535033198ca5c36496ca23125a9cda0c308bfdb4372abbb boinc-7.20.2.tar.gz
"