void-packages/srcpkgs/flac/template
Rasmus Thomsen 833bdd032e flac: add upstream patch to fix CVE-2018-6888
- cleanup template
2018-10-02 13:34:00 -03:00

39 lines
1 KiB
Bash

# Template file for 'flac'
pkgname=flac
version=1.3.2
revision=4
patch_args="-Np1"
build_style=gnu-configure
configure_args="--disable-rpath --disable-doxygen-docs --disable-xmms-plugin
--with-ogg=${XBPS_CROSS_BASE}/usr --disable-thorough-tests"
hostmakedepends="pkg-config nasm"
makedepends="libogg-devel"
short_desc="Free Lossless Audio Codec"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://flac.sourceforge.net/"
license="BSD-3-Clause, GPL-2"
distfiles="https://downloads.xiph.org/releases/flac/flac-${version}.tar.xz"
checksum=91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f
post_install() {
vlicense COPYING.Xiph
}
libflac_package() {
short_desc+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libflac-devel_package() {
depends="libstdc++-devel libogg-devel libflac>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/aclocal
vmove usr/share/doc
}
}