# Template file for 'gssdp'
pkgname=gssdp
version=0.14.3
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="gtk+-devel libsoup-devel vala-devel>=0.20"
short_desc="GObject-based library for SSDP"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://gupnp.org"
distfiles="${GNOME_SITE}/gssdp/0.14/gssdp-$version.tar.xz"
checksum=79dbdc5f79cc406632a783826b3dbe6acc0fbf41eb801b642bce1a02ecc3c66d
long_desc="
 A GObject-based API for doing SSDP (Simple Service Discovery Protocol)
 transparently."

gssdp-devel_package() {
	depends="libsoup-devel gssdp>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
		vmove usr/share/vala
	}
}

gssdp_package() {
	pkg_install() {
		vmove usr
	}
}
