void-packages/srcpkgs/taglib/template

26 lines
771 B
Bash

# Template file for 'taglib'
pkgname=taglib
version=1.13
revision=1
build_style=cmake
configure_args="-DWITH_MP4=ON -DWITH_ASF=ON -DBUILD_SHARED_LIBS=ON"
hostmakedepends="pkg-config"
makedepends="zlib-devel"
short_desc="Library for accessing ID tags in various media files"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later, MPL-1.1"
homepage="https://taglib.github.io/"
distfiles="https://github.com/taglib/taglib/archive/v${version}.tar.gz"
checksum=58f08b4db3dc31ed152c04896ee9172d22052bc7ef12888028c01d8b1d60ade0
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"
}
}