void-packages/srcpkgs/taglib/template

27 lines
781 B
Bash

# Template file for 'taglib'
pkgname=taglib
version=1.11.1
revision=4
patch_args="-Np1"
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="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=b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b
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"
}
}