summaryrefslogtreecommitdiffstats
path: root/abs/extra/soundtouch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-16 19:02:58 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-16 19:02:58 (GMT)
commit42ea5a8a5232b86a542b21338c6b5ddec19880f6 (patch)
tree4994a1afb9388b35b2e3b0ca5cce5c0e736d566c /abs/extra/soundtouch
parent25463843caa139a071b123f94c6ef80dcc13d827 (diff)
downloadlinhes_pkgbuild-42ea5a8a5232b86a542b21338c6b5ddec19880f6.zip
linhes_pkgbuild-42ea5a8a5232b86a542b21338c6b5ddec19880f6.tar.gz
linhes_pkgbuild-42ea5a8a5232b86a542b21338c6b5ddec19880f6.tar.bz2
soundtouch: initial inclusion. dep of dolphin-emu
Diffstat (limited to 'abs/extra/soundtouch')
-rw-r--r--abs/extra/soundtouch/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/extra/soundtouch/PKGBUILD b/abs/extra/soundtouch/PKGBUILD
new file mode 100644
index 0000000..0ea927e
--- /dev/null
+++ b/abs/extra/soundtouch/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=soundtouch
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="An audio processing library"
+arch=('i686' 'x86_64')
+url="http://www.surina.net/soundtouch/"
+license=('LGPL')
+depends=('gcc-libs')
+source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('2cee2c63194227b4a58da01a7cd92b8632f139cd')
+
+prepare() {
+ cd ${pkgname}
+ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
+}
+
+build() {
+ cd ${pkgname}
+ [ "${CARCH}" = "x86_64" ] && CONFIGFLAG="--with-pic"
+ ./bootstrap
+ ./configure --prefix=/usr --enable-shared ${CONFIGFLAG}
+ make
+}
+
+package() {
+ cd ${pkgname}
+ make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install
+}