# Template file for 'dleyna-renderer'
pkgname=dleyna-renderer
version=0.6.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libglib-devel libsoup-devel gssdp-devel gupnp-devel
 gupnp-dlna-devel gupnp-av-devel dleyna-core-devel"
short_desc="Library for implementing services to manipulate Digital Media Renderers"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://01.org/dleyna/"
distfiles="https://github.com/intel/dleyna-renderer/archive/${version}.tar.gz"
checksum=f606ac1186e7f3ce792606604fc3fbe2d9ec7001dee98ba77f025918ea89f7e1
conf_files="/etc/dleyna-renderer-service.conf"

pre_configure() {
	autoreconf -fi
}

dleyna-renderer-devel_package() {
	depends="dleyna-core-devel libglib-devel dleyna-renderer-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/dleyna-renderer/*.so"
	}
}
