# Template file for 'libdmapsharing'
pkgname=libdmapsharing
version=3.9.13
revision=1
build_style=gnu-configure
build_helper=gir
configure_args="--with-mdns=avahi --disable-tests"
hostmakedepends="pkg-config glib-devel"
makedepends="gtk+3-devel avahi-glib-libs-devel libsoup3-devel
 gst-plugins-base1-devel libgee08-devel libglib-devel gstreamer1-devel"
short_desc="Library that implements the DMAP family of protocols"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.flyn.org/projects/libdmapsharing/index.html"
distfiles="http://www.flyn.org/projects/libdmapsharing/$pkgname-$version.tar.gz"
checksum=3659f63f29e11d6d6ae78b53d7cc6be3f3adeff9c00c67cc50ad19c6af699f7a
make_check=no # network

libdmapsharing-devel_package() {
	depends="libsoup3-devel libglib-devel
	 gst-plugins-base1-devel gstreamer1-devel
	 ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
		vmove "usr/share/gir-*"
		vmove usr/share/vala
	}
}
