mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Pablo Correa Gomez <ablocorrea@hotmail.com>
|
|
pkgname=gnome-software-plugin-apk
|
|
pkgver=0.12.0
|
|
pkgrel=0
|
|
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 apk-polkit-rs-dev appstream-dev"
|
|
checkdepends="py3-dbusmock gnome-software"
|
|
options="!check" # Tests will fail if gnome-software-plugin-apk is installed
|
|
subpackages="$pkgname-dbg"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/Cogitri/gnome-software-plugin-apk/archive/v$pkgver.tar.gz"
|
|
# GNOME Software cannot depend on the plugin, due to the cylic dependency
|
|
# on the checkdepends. One solution could be to merge the 2 aports.
|
|
install_if="gnome-software"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
sha512sums="
|
|
94b6bbaf00a0b93acad301212bd97a7317d25d4e27c8d77ccd51b0be92b5f6423dbb95be6e4d8add2ed475c08224958676d1913e0ffad88877adce70c1dca508 gnome-software-plugin-apk-0.12.0.tar.gz
|
|
"
|