void-packages/srcpkgs/gupnp-av/template
2019-04-28 03:12:35 +02:00

36 lines
1 KiB
Bash

# Template file for 'gupnp-av'
pkgname=gupnp-av
version=0.12.11
revision=4
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config $(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="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://gupnp.org/"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=689dcf1492ab8991daea291365a32548a77d1a2294d85b33622b55cca9ce6fdc
# 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"
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
if [ "$build_option_vala" ]; then
vmove usr/share/vala
fi
}
}