# Template file for 'gupnp'
pkgname=gupnp
version=0.20.3
revision=1
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=ed7db7506506434d0fd272e3866d7ae985af5b9d7e9e5e120f8581ade90869f0

gupnp-devel_package() {
	depends="gssdp-devel>=0.14.2_2 glib-devel libxml2-devel libuuid-devel gupnp>=${version}"
	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
	}
}
