void-packages/srcpkgs/audiofile/template
maxice8 dee932c8f1 audiofile: fix a lot of CVEs, enable flac, remove unused dependency
- Enable flac by adding libflac-devel to makedepends
- remove dependency gtk+-devel, wasn't used at any point (added by
error?)
- CVEs fixes:
    CVE-2017-6827
    CVE-2017-6828
    CVE-2017-6829
    CVE-2017-6830
    CVE-2017-6831
    CVE-2017-6832
    CVE-2017-6833
    CVE-2017-6834
    CVE-2017-6835
    CVE-2017-6836
    CVE-2017-6837
    CVE-2017-6838
    CVE-2017-6839
2018-10-03 20:22:54 -03:00

31 lines
883 B
Bash

# Template file for 'audiofile'
pkgname=audiofile
version=0.3.6
revision=3
wrksrc="$pkgname-$pkgname-$version"
build_style=gnu-configure
hostmakedepends="automake libtool asciidoc pkg-config"
makedepends="alsa-lib-devel libflac-devel"
short_desc="C library for reading and writing audio files"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="LGPL-2.1-or-later"
homepage="http://audiofile.68k.org"
distfiles="http://github.com/mpruett/audiofile/archive/audiofile-${version}.tar.gz"
checksum=52125fee6c7454d743acdc27ebda194c6b5c7b9111426c7d5fdea0754cd366cc
disable_parallel_build=1
pre_configure() {
autoreconf -fi
}
audiofile-devel_package() {
short_desc+=" - development files"
depends="audiofile>=${version}_${revision}"
pkg_install() {
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/share/man/man3
}
}