# Template file for 'taglib'
pkgname=taglib
version=1.9.1
revision=3
build_style=cmake
configure_args="-DWITH_MP4=ON -DWITH_ASF=ON"
hostmakedepends="pkg-config cmake"
makedepends="zlib-devel"
short_desc="Library for accessing ID tags in various media files"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://developer.kde.org/~wheeler/taglib.html"
license="LGPL-2.1, MPL-1.1"
distfiles="http://${pkgname}.github.io/releases/${pkgname}-${version}.tar.gz"
checksum=72d371cd1419a87ae200447a53bff2be219283071e80fd12337928cc967dc71a

taglib-devel_package() {
	depends="zlib-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
