void-packages/srcpkgs/taglib-extras/template

32 lines
924 B
Bash

# Template file for 'taglib-extras'
pkgname=taglib-extras
version=1.0.1
revision=2
build_style=cmake
configure_args="-DWITH_MP4=ON -DWITH_ASF=ON"
hostmakedepends="pkg-config taglib-devel"
makedepends="zlib-devel taglib-devel"
short_desc="Additional taglib plugins for KDE"
maintainer="LockeAnarchist <emanuel@openmailbox.org>"
homepage="http://developer.kde.org/~wheeler/taglib.html"
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"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}