# Template file for 'libdmapsharing'
pkgname=libdmapsharing
version=2.9.15
revision=1
build_style=gnu-configure
configure_args="--with-mdns=avahi"
hostmakedepends="pkg-config"
makedepends="gtk+-devel avahi-glib-libs-devel libsoup-devel
 gst-plugins-base-devel libgee-devel"
short_desc="A library that implements the DMAP family of protocols"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.flyn.org/projects/libdmapsharing/index.html"
distfiles="http://www.flyn.org/projects/libdmapsharing/$pkgname-$version.tar.gz"
checksum=3f9ba35058fe7c8df06a893807a455e5328c11ebaee58019373f9310cc3930fa
long_desc="
 Libdmapsharing is a library you may use to access, share and control the
 playback of media content using DMAP (DAAP, DPAP and DACP). Libdmapsharing also
 detects audio AirPlay services; coupled with the AirPlay support in PulseAudio
 or GStreamer, this can allow an application to stream audio to an AirPlay."

libdmapsharing-devel_package() {
	depends="libsoup-devel libgee-devel libdmapsharing>=2.9.15"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
	}
}

libdmapsharing_package() {
	pkg_install() {
		vmove usr
	}
}
