void-packages/srcpkgs/gupnp-av/template

37 lines
1.1 KiB
Bash

# Template file for 'gupnp-av'
pkgname=gupnp-av
version=0.14.1
revision=1
build_style=meson
build_helper="gir"
configure_args="$(vopt_bool gir introspection)"
hostmakedepends="pkg-config glib-devel $(vopt_if vala vala)"
makedepends="gupnp-devel $(vopt_if vala vala)"
short_desc="Library to ease handling and implementation of UPnP A/V profiles"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://gupnp.org/"
changelog="https://gitlab.gnome.org/GNOME/gupnp-av/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/gupnp-av/${version%.*}/gupnp-av-${version}.tar.xz"
checksum=b79ce0cc4b0c66d9c54bc22183a10e5709a0011d2af272025948efcab33a3e4f
# Package build options
build_options="gir vala"
build_options_default="gir vala"
gupnp-av-devel_package() {
depends="gupnp-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
if [ "$build_option_vala" ]; then
vmove usr/share/vala
fi
}
}