void-packages/srcpkgs/rygel/template
2019-03-18 15:40:21 +01:00

46 lines
1.3 KiB
Bash

# Template file for 'rygel'.
pkgname=rygel
version=0.38.0
revision=2
build_style=meson
build_helper="gir"
configure_args="-Dexamples=false -Dtests=false
-Dsystemd-user-units-dir=none"
hostmakedepends="pkg-config glib-devel vala"
makedepends="sqlite-devel gtk+3-devel libsoup-devel libgee08-devel
gupnp-av-devel gupnp-dlna-devel tracker-devel libmediaart-devel
gssdp-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="GNOME home media solution"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/Rygel"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=acabf2114f3759c8ec6745d79e4c2e0728d115a83f540c1715667cc6210a7e0e
conf_files="/etc/rygel.conf"
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) ;;
*-musl) broken="gobject-introspection" ;;
esac
rygel-devel_package() {
depends="libgee08-devel gupnp-av-devel libuuid-devel
libglib-devel librygel>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/vala
}
}
librygel_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}