# Template file for 'taglib'
pkgname=taglib
version=1.10
revision=2
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@voidlinux.eu>"
homepage="https://taglib.github.io/"
license="LGPL-2.1, MPL-1.1"
distfiles="https://github.com/taglib/taglib/archive/v$version.tar.gz"
checksum=2cd09ac6d4c4ec610aa5a0a488466bd0e0f78576581ef1f344090e397ecb9c52

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