taglib-extras: fix build w/ taglib-1.11

This commit is contained in:
Juergen Buchmueller 2016-09-22 12:27:51 +02:00
parent be56bba4a8
commit 358f2d0184

View file

@ -1,7 +1,7 @@
# Template file for 'taglib-extras'
pkgname=taglib-extras
version=1.0.1
revision=1
revision=2
build_style=cmake
configure_args="-DWITH_MP4=ON -DWITH_ASF=ON"
hostmakedepends="pkg-config cmake taglib-devel"
@ -13,6 +13,11 @@ license="LGPL-2.1, MPL-1.1"
distfiles="http://download.kde.org/stable/taglib-extras/${version}/src/taglib-extras-1.0.1.tar.gz"
checksum=fe546b4b315f3227c975fed8ea9dfc0e54fc6997fdbba2a9da7beba479229632
pre_configure() {
# Patch to look for taglib-1.11
sed -i CMakeLists.txt -e 's;"1\.6";"1.11";'
}
taglib-extras-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"