void-packages/srcpkgs/taglib/template

26 lines
765 B
Bash

# Template file for 'taglib'
pkgname=taglib
version=1.11
revision=1
build_style=cmake
configure_args="-DWITH_MP4=ON -DWITH_ASF=ON -DBUILD_SHARED_LIBS=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=ed4cabb3d970ff9a30b2620071c2b054c4347f44fc63546dbe06f97980ece288
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"
}
}