PKGBUILDs/extra/soundtouch/PKGBUILD

39 lines
1,019 B
Bash
Raw Normal View History

2011-11-04 03:10:09 +00:00
# $Id: PKGBUILD 136035 2011-08-21 23:31:51Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
# ALARM: Kevin Mihelich <kevin@plugapps.com>
# - removed upstream's x86 patches
# - added patch to pull sse flags from the build
# - --with-pic for v7h
plugrel=1
pkgname=soundtouch
pkgver=1.6.0
pkgrel=1
pkgdesc="An audio processing library"
arch=('i686' 'x86_64')
url="http://www.surina.net/soundtouch/"
license=('LGPL')
depends=('gcc-libs')
options=('!libtool')
source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz
01_remove_sse.patch)
build() {
cd "${srcdir}/${pkgname}"
patch -p1 -i "${srcdir}/01_remove_sse.patch"
2012-07-29 19:28:47 +00:00
[ "${CARCH}" = "armv6h" -o "${CARCH}" = "armv7h" ] && CONFIGFLAG="--with-pic"
2011-11-04 03:10:09 +00:00
./bootstrap
./configure --prefix=/usr --enable-shared ${CONFIGFLAG}
make
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install
}
md5sums=('aa1c63d4d67b033f044a6a48d2be5bdd'
'76442f1f6614be550c0ba1b031b606d8')