# Template file for 'gupnp-dlna'
pkgname=gupnp-dlna
version=0.10.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config gobject-introspection"
makedepends="gst-plugins-base1-devel vala-devel>=0.20"
short_desc="GUPnP DLNA"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://gupnp.org/"
distfiles="${GNOME_SITE}/$pkgname/0.10/$pkgname-$version.tar.xz"
checksum=2d432f1a36819f4ebf01b96fc5f2b5d2771b6b7ec91f16f3fcff98fc3ed1f8e0
long_desc="
 UPnP DLNA is a small utility library that aims to ease the DLNA-related tasks
 such as media profile guessing, transcoding to a given profile, etc."

gupnp-dlna-devel_package() {
	depends="gst-plugins-base1-devel ${sourcepkg}>=${version}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share/gtk-doc
		vmove usr/share/gir-1.0
		vmove usr/share/vala
		vmove usr/lib/pkgconfig
	}
}

gupnp-dlna_package() {
	pkg_install() {
		vmove usr
	}
}