37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Template file for 'gupnp'
|
|
pkgname=gupnp
|
|
version=1.6.5
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="$(vopt_bool gir introspection) $(vopt_bool gir vapi)
|
|
-Dexamples=false"
|
|
hostmakedepends="pkg-config glib-devel libxslt docbook-xsl $(vopt_if gir vala)"
|
|
makedepends="libglib-devel libxml2-devel gssdp-devel libsoup3-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"
|
|
changelog="https://gitlab.gnome.org/GNOME/gupnp/-/raw/master/NEWS"
|
|
distfiles="${GNOME_SITE}/gupnp/${version%.*}/gupnp-${version}.tar.xz"
|
|
checksum=437dff970142e8407087a89855f717e20d27c9d76e05b4cd517df621c7d888cd
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
gupnp-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove "usr/bin/gupnp-binding-tool*"
|
|
vmove "usr/share/man/man1/gupnp-binding-tool*"
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|