void-packages/srcpkgs/libsndfile/template
maxice8 b32db33430 libsndfile: apply security fixes from upstream
fixes:
    CVE-2017-12562
    CVE-2017-14245
    CVE-2017-14246
    CVE-2017-14634
    CVE-2017-6892
    CVE-2017-8362
    CVE-2017-8363
    CVE-2017-8365
    CVE-2018-13139
2018-10-02 11:44:10 -03:00

34 lines
968 B
Bash

# Template file for 'libsndfile'
pkgname=libsndfile
version=1.0.28
revision=2
patch_args="-Np1"
build_style=gnu-configure
hostmakedepends="pkg-config python"
makedepends="alsa-lib-devel libvorbis-devel libflac-devel sqlite-devel"
short_desc="C library for reading and writing files containing sampled sound"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.mega-nerd.com/libsndfile"
license="LGPL-2.1"
distfiles="http://www.mega-nerd.com/${pkgname}/files/${pkgname}-${version}.tar.gz"
checksum=1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9
libsndfile-progs_package() {
short_desc+=" - bundled cmdline apps"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}
libsndfile-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/doc
}
}