aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2022-04-09 17:57:46 +0200
committeralice <alice@ayaya.dev>2022-05-23 18:00:25 +0000
commitb6b8b17dc90a47c91bf1bd4d91acfa362832faff (patch)
tree65776eb1aba485b870103de8fff9d6e40b81d2bf
parent95c5abeade8a6105efa50439d0c0c1f78210a879 (diff)
downloadaports-b6b8b17dc90a47c91bf1bd4d91acfa362832faff.tar.gz
aports-b6b8b17dc90a47c91bf1bd4d91acfa362832faff.tar.bz2
aports-b6b8b17dc90a47c91bf1bd4d91acfa362832faff.tar.xz
main/raspberrypi: upgrade to 20220324
-rw-r--r--main/raspberrypi/APKBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/main/raspberrypi/APKBUILD b/main/raspberrypi/APKBUILD
index 443e7f3ab0..9b1b5068fd 100644
--- a/main/raspberrypi/APKBUILD
+++ b/main/raspberrypi/APKBUILD
@@ -1,16 +1,16 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=raspberrypi
-pkgver=0.20200813
-pkgrel=1
-_commit="f73fca015d421b763936667a0b58fe5024d59921"
+pkgver=0.20220324
+pkgrel=0
+_commit="c4fd1b8986c6d6d4ae5cd51e65a8bbeb495dfa4e"
pkgdesc="Raspberry Pi support tools"
url="https://github.com/raspberrypi/userland"
arch="armhf armv7 aarch64"
license="BSD-3-Clause"
depends_dev="linux-headers raspberrypi-static raspberrypi-libs"
-makedepends="cmake $depends_dev"
+makedepends="cmake samurai $depends_dev"
options="!fhs !check"
-subpackages="$pkgname-dev $pkgname-static $pkgname-libs"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-static $pkgname-libs"
source="raspberrypi-$_commit.tar.gz::https://github.com/raspberrypi/userland/archive/$_commit.tar.gz"
builddir="$srcdir/userland-$_commit"
@@ -24,7 +24,7 @@ build() {
arm*) local _arm64=off;;
aarch64) local _arm64=on;;
esac
- cmake -B build \
+ cmake -B build -G Ninja \
-DCMAKE_C_FLAGS="$CFLAGS -D_GNU_SOURCE" \
-DARM64=$_arm64 \
-DCMAKE_BUILD_TYPE=MinSizeRel \
@@ -54,4 +54,13 @@ libs() {
mv "$pkgdir"/opt/vc/lib/* "$subpkgdir"/opt/vc/lib
}
-sha512sums="2b44a82945a1cad8a01938b866363001740274364d8818d0e83b701f1597de8e016b6f1254b0788685d411e832e7d5b053224b9d09d0126ad6db9abf2f768075 raspberrypi-f73fca015d421b763936667a0b58fe5024d59921.tar.gz"
+doc() {
+ mkdir -p "$subpkgdir"/usr/share
+ mv "$pkgdir"/opt/vc/man "$subpkgdir"/usr/share
+
+ default_doc
+}
+
+sha512sums="
+e59cf4d6b3fba79c5ded69a1f6c99efedd067afbfa9edfaaeebf2d8a6ab7dc3c44ea0cfb79227e5b2dd4308a56390341cb7c1aa9c9072b2a94e31240c5d68006 raspberrypi-c4fd1b8986c6d6d4ae5cd51e65a8bbeb495dfa4e.tar.gz
+"