aports/testing/rygel/APKBUILD

42 lines
991 B
Text

# Contributor: fossdd <fossdd@pwned.life>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=rygel
pkgver=0.44.2
pkgrel=0
pkgdesc="UPnP AV MediaServer and MediaRenderer"
url="https://gnome.pages.gitlab.gnome.org/rygel/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
gst-editing-services-dev
gtk+3.0-dev
gupnp-av-dev
gupnp-dev
gupnp-dlna-dev
libgee-dev
libmediaart-dev
meson
vala
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/rygel/${pkgver%.*}/rygel-$pkgver.tar.xz"
build() {
abuild-meson \
-Dsystemd-user-units-dir=none \
-Dtests="$(want_check && echo true || echo false)" \
output .
meson compile -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
2e7966ee5b1b8701b8d9df8447aa8ce9c46f0a4b1653ef32f2aa7faf7c4c1a4d2bc747dc233eb4eb8e32c70bbd413cf0153cd470441324cbf67de269482579ac rygel-0.44.2.tar.xz
"