aports/testing/gupnp/APKBUILD

37 lines
848 B
Text

# Contributor: fossdd <fossdd@pwned.life>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=gupnp
pkgver=1.6.8
pkgrel=0
pkgdesc="GObject-based UPNP framework"
url="https://gitlab.gnome.org/GNOME/gupnp"
arch="all"
license="LGPL-2.1-or-later"
depends="gsettings-desktop-schemas"
makedepends="
meson
gssdp-dev
libxml2-dev
gobject-introspection-dev
vala
"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gupnp/${pkgver%.*}/gupnp-$pkgver.tar.xz"
build() {
abuild-meson \
output .
meson compile -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
8885f3cdb437062b14292d213a5e1599c3722c991e2edaad777769cd1430e354fa46f27b033310621dcba7aa08c9d6397afe7c31a2e189ed21ff29df880f282e gupnp-1.6.8.tar.xz
"