# Template file for 'rygel'
pkgname=rygel
version=0.22.3
revision=1
build_style=gnu-configure
configure_args="--enable-gst-launch-plugin"
hostmakedepends="pkg-config intltool"
makedepends="sqlite-devel vala-devel>=0.24 gtk+3-devel
 libsoup-devel>=2.44 libgee08-devel>=0.14 gupnp-av-devel>=0.12.1
 gupnp-dlna-devel>=0.10 tracker-devel>=1.0"
depends="hicolor-icon-theme desktop-file-utils"
conf_files="/etc/rygel.conf"
short_desc="GNOME home media solution"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=96c272618117aa6c2f6a5edab965f5103d30b52b6742e743dd48274c10c0fddf

rygel-devel_package() {
	depends="libgee08-devel gupnp-av-devel libuuid-devel
		libglib-devel librygel>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
		vmove usr/share/vala
		vmove usr/share/gtk-doc
	}
}

librygel_package() {
	short_desc+=" - runtime libraries"
	pkg_install() {
		vmove "usr/lib/*.so.*"
	}
}
