38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'gupnp'
|
|
pkgname=gupnp
|
|
version=1.2.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dintrospection=$(vopt_if gir true false)
|
|
-Dvapi=$(vopt_if vala true false) -Dexamples=false"
|
|
hostmakedepends="pkg-config glib-devel $(vopt_if vala vala)"
|
|
makedepends="libglib-devel libxml2-devel libuuid-devel gssdp-devel"
|
|
short_desc="GObject-based library for UPnP"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/Projects/GUPnP"
|
|
distfiles="${GNOME_SITE}/gupnp/${version%.*}/gupnp-${version}.tar.xz"
|
|
checksum=a9aa557eff415598e05999d0ab122f202a978ff827688d3f951023117a315f5e
|
|
|
|
# Package build options
|
|
build_options="gir vala"
|
|
build_options_default="gir vala"
|
|
|
|
gupnp-devel_package() {
|
|
depends="${makedepends} gupnp-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
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
|
|
}
|
|
}
|