# Template file for 'gupnp' pkgname=gupnp version=1.2.2 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 " license="LGPL-2.1-or-later" homepage="https://wiki.gnome.org/Projects/GUPnP" distfiles="${GNOME_SITE}/gupnp/${version%.*}/gupnp-${version}.tar.xz" checksum=9a80bd953e5c8772ad26b72f8da01cbe7241a113edd6084903f413ce751c9989 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 } }