summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-11 18:56:21 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-11 18:56:21 -0500
commit1de8717d62439bac6ec549b9b1d86cc6ae35ef2e (patch)
tree09ea311fca3338584c242232acbf411d529aec1d
parent0847e03376423f703a88130105e810b2f55071ea (diff)
downloadpackages-1de8717d62439bac6ec549b9b1d86cc6ae35ef2e.tar.gz
packages-1de8717d62439bac6ec549b9b1d86cc6ae35ef2e.tar.bz2
packages-1de8717d62439bac6ec549b9b1d86cc6ae35ef2e.tar.xz
packages-1de8717d62439bac6ec549b9b1d86cc6ae35ef2e.zip
user/libsndfile: take, fix, modernise
-rw-r--r--user/libsndfile/APKBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/user/libsndfile/APKBUILD b/user/libsndfile/APKBUILD
index 66abef4f7..26ca137e9 100644
--- a/user/libsndfile/APKBUILD
+++ b/user/libsndfile/APKBUILD
@@ -1,16 +1,16 @@
# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libsndfile
pkgver=1.0.28
-pkgrel=3
-pkgdesc="A C library for reading and writing files containing sampled sound"
+pkgrel=4
+pkgdesc="Library for reading and writing sampled sound files (WAV, AIFF, ...)"
url="http://www.mega-nerd.com/libsndfile"
arch="all"
-license="LGPL2+"
+license="LGPL-2.1-only OR LGPL-3.0-only"
subpackages="$pkgname-dev $pkgname-doc"
depends=
-depends_dev="flac-dev libvorbis-dev libogg-dev"
-makedepends="linux-headers alsa-lib-dev $depends_dev"
+depends_dev="flac-dev libogg-dev libvorbis-dev"
+makedepends="$depends_dev alsa-lib-dev linux-headers"
source="http://www.mega-nerd.com/$pkgname/files/$pkgname-$pkgver.tar.gz
CVE-2017-8361_CVE-2017-8363_CVE-2017-8365.patch
CVE-2017-8362.patch
@@ -31,8 +31,7 @@ source="http://www.mega-nerd.com/$pkgname/files/$pkgname-$pkgver.tar.gz
# - CVE-2017-8363
# - CVE-2017-8365
-builddir="$srcdir/$pkgname-$pkgver"
-build () {
+build() {
cd "$builddir"
ac_cv_sys_largefile_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" \
./configure \