summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libsndfile/PKGBUILD
blob: 79cda51c6f6ece377557187d897ee10480607b8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}