* add install_if to pull in w/ gnome-software https://gitlab.alpinelinux.org/alpine/aports/-/commit/90b924a3346678f37b0a1a0e63daa4d677e8c662 * use abuild-meson & meson compile/test/install https://gitlab.alpinelinux.org/alpine/aports/-/commit/47360782abaf34cd0a1cc746a6bbbaa5966b7515 * use apk-polkit-rs instead of apk-polkit https://gitlab.alpinelinux.org/alpine/aports/-/commit/0f6c2d95f145cecd9a62c91dcb5be98e4fe01995 * upgrade to 0.8.1 https://gitlab.alpinelinux.org/alpine/aports/-/commit/ce795a4d2776a088c8bc830e8fb7c9e29085e80b * don't pull in alpinelinux-apppstream-data https://gitlab.alpinelinux.org/alpine/aports/-/commit/c35a1b4ba76e5eacc8db2e1fe9819334fd1211d3 NOTE: alpinelinux-apppstream-data was removed in https://gitlab.alpinelinux.org/alpine/aports/-/commit/946967b01f34f78719ecf0ff87e90eec30f147d7
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Forked from Alpine to rebuild against gnome-software with mobile patches
|
|
pkgname=gnome-software-plugin-apk
|
|
pkgver=9999
|
|
_pkgver=0.8.1
|
|
pkgrel=3
|
|
pkgdesc="APK plugin for GNOME Software"
|
|
url="https://github.com/Cogitri/gnome-software-plugin-apk"
|
|
arch="x86_64 armv7 armhf aarch64 x86 ppc64le" # apk-polkit-rs
|
|
license="GPL-2.0-or-later"
|
|
makedepends="meson gnome-software-dev gnome-software-static apk-polkit-rs-dev"
|
|
options="!check" # no tests
|
|
source="https://github.com/Cogitri/gnome-software-plugin-apk/archive/v$_pkgver/gnome-software-plugin-apk-$_pkgver.tar.gz"
|
|
|
|
# override builddir, because "$_pkgver" != "$pkgver"
|
|
builddir="$srcdir/$pkgname-$_pkgver"
|
|
|
|
# We can't depend on gnome-software-plugin-apk directly in gnome-software
|
|
# since that causes a circular dep:
|
|
# gnome-software -> gnome-software-plugin-apk -> gnome-software-dev
|
|
case "$CARCH" in
|
|
x86_64|armv7|armhf|aarch64|x86|ppc64le) install_if="gnome-software" ;;
|
|
esac
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="843387b54d846a7262175a9397811f1495870744f72b896e356321467d772f2b3b50dcdba402f528f32323f86d3a26e48a13ac15bb4ad59915d0f8659de94e22 gnome-software-plugin-apk-0.8.1.tar.gz"
|