40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
|
# Template file for 'gupnp1.2'
|
||
|
pkgname=gupnp1.2
|
||
|
version=1.2.4
|
||
|
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 libuuid-devel gssdp1.2-devel
|
||
|
libsoup-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=f7a0307ea51f5e44d1b832f493dd9045444a3a4e211ef85dfd9aa5dd6eaea7d1
|
||
|
|
||
|
build_options="gir"
|
||
|
build_options_default="gir"
|
||
|
|
||
|
post_install() {
|
||
|
rm ${DESTDIR}/usr/bin/gupnp-binding-tool*
|
||
|
rm ${DESTDIR}/usr/share/man/man1/gupnp-binding-tool*
|
||
|
}
|
||
|
|
||
|
gupnp1.2-devel_package() {
|
||
|
depends="${makedepends} ${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
|
||
|
vmove usr/share/vala
|
||
|
fi
|
||
|
}
|
||
|
}
|