aboutsummaryrefslogtreecommitdiffstats
path: root/community/geoclue/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/geoclue/APKBUILD')
-rw-r--r--community/geoclue/APKBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/community/geoclue/APKBUILD b/community/geoclue/APKBUILD
index 83a1742cfe..24d9fd7482 100644
--- a/community/geoclue/APKBUILD
+++ b/community/geoclue/APKBUILD
@@ -2,9 +2,9 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=geoclue
pkgver=2.5.7
-pkgrel=0
+pkgrel=2
pkgdesc="dbus geolocation service"
-url="https://www.freedesktop.org/wiki/Software/GeoClue/"
+url="https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
@@ -18,12 +18,17 @@ makedepends="
"
subpackages="$pkgname-dev $pkgname-doc"
install="$pkgname.pre-install"
-source="https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/$pkgver/geoclue-$pkgver.tar.bz2"
+source="
+ https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/$pkgver/geoclue-$pkgver.tar.bz2
+ 0001-config-Add-phosh.patch
+ "
case "$CARCH" in
- s390x|mips64) _arch_opts="-D3g-source=false -Dcdma-source=false -Dmodem-gps-source=false"
+ s390x|mips64|riscv64)
+ _arch_opts="-D3g-source=false -Dcdma-source=false -Dmodem-gps-source=false"
;;
- *) _arch_opts=""
+ *)
+ _arch_opts=""
makedepends="$makedepends modemmanager-dev"
;;
esac
@@ -47,4 +52,5 @@ package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C build
}
-sha512sums="16ec15afa41910b7d993a9918dd3c068dea3f6c5be922b7ac772493cd6aabb0cad3fe2206b82c1a008781c3f1ddd8f4afd8f70b5d497920bea8ed5e473f0fd1f geoclue-2.5.7.tar.bz2"
+sha512sums="16ec15afa41910b7d993a9918dd3c068dea3f6c5be922b7ac772493cd6aabb0cad3fe2206b82c1a008781c3f1ddd8f4afd8f70b5d497920bea8ed5e473f0fd1f geoclue-2.5.7.tar.bz2
+26b9a513d5ab47ab1495ddac4238284542c87429ef276265a33596d0e2c74934504418b288621c19199a67a6b13e3bbff000f35886128b78187ec3fd736d47c8 0001-config-Add-phosh.patch"