summaryrefslogtreecommitdiffstats
path: root/abs/core/libsndfile/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libsndfile/PKGBUILD')
-rw-r--r--abs/core/libsndfile/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/libsndfile/PKGBUILD b/abs/core/libsndfile/PKGBUILD
new file mode 100644
index 0000000..79cda51
--- /dev/null
+++ b/abs/core/libsndfile/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Arjan Timmerman <arjan@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+pkgname=libsndfile
+pkgver=1.0.17
+pkgrel=2
+options=(!libtool)
+pkgdesc="a C library for reading and writing files containing sampled sound"
+arch=(i686 x86_64)
+url="http://www.mega-nerd.com/libsndfile"
+depends=('alsa-lib' 'flac>=1.1.4')
+source=(http://www.mega-nerd.com/libsndfile/$pkgname-$pkgver.tar.gz flac-1.1.4.dpatch lossy_comp_test-overflow.dpatch overflow.dpatch)
+
+md5sums=('2d126c35448503f6dbe33934d9581f6b'
+ '839e5132d9d379779b0d3132cad65017'
+ '2241d8b0a0961a956e36ca0fb0fead51'
+ '1731b62a80257de069a72435f39ece00')
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ patch -Np1 -i ../flac-1.1.4.dpatch || return 1
+ patch -Np1 -i ../lossy_comp_test-overflow.dpatch || return 1
+ patch -Np1 -i ../overflow.dpatch || return 1
+ aclocal
+ automake
+ ./configure --prefix=/usr --disable-sqlite
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+}