# Template file for 'gupnp'
pkgname=gupnp
version=0.20.1
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config gobject-introspection"
makedepends="libglib-devel libxml2-devel libuuid-devel
 gssdp-devel>=0.14.2_2 vala-devel>=0.20"
short_desc="GObject-based library for UPnP"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://gupnp.org/"
distfiles="${GNOME_SITE}/gupnp/0.20/gupnp-${version}.tar.xz"
checksum=a98ab69289742a075c9a7655650e0d1944a3886bb7851bf40ed82608a9ddac61

gupnp-devel_package() {
	depends="gssdp-devel>=0.14.2_2 glib-devel libxml2-devel libuuid-devel gupnp>=${version}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/bin
		vmove usr/include
		vmove usr/share
		vmove usr/lib/pkgconfig
	}
}

gupnp_package() {
	pkg_install() {
		vmove usr
	}
}