2010-04-07 03:23:26 +08:00
|
|
|
# $Id: PKGBUILD 67309 2010-02-06 08:17:19Z eric $
|
|
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
|
|
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
|
|
|
|
# Contributor: Raymano <re1212122000@yahoo.com>
|
|
|
|
|
|
|
|
pkgname=soundtouch
|
2012-04-30 08:04:19 +08:00
|
|
|
pkgver=1.6.0
|
2010-04-07 03:23:26 +08:00
|
|
|
pkgrel=1
|
2012-04-30 08:04:19 +08:00
|
|
|
pkgdesc="SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or audio files."
|
2010-04-07 03:23:26 +08:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.surina.net/soundtouch/"
|
|
|
|
license=('LGPL')
|
|
|
|
depends=('gcc-libs')
|
|
|
|
options=('!libtool')
|
2012-04-30 08:04:19 +08:00
|
|
|
source=("http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz")
|
|
|
|
md5sums=('aa1c63d4d67b033f044a6a48d2be5bdd')
|
2010-04-07 03:23:26 +08:00
|
|
|
|
|
|
|
build() {
|
2012-04-30 08:04:19 +08:00
|
|
|
local _extra_opts=""
|
|
|
|
|
2010-04-07 03:23:26 +08:00
|
|
|
cd "${srcdir}/${pkgname}"
|
2012-04-30 08:04:19 +08:00
|
|
|
|
|
|
|
if [ ! -x ./configure ]; then
|
|
|
|
./bootstrap
|
|
|
|
fi
|
|
|
|
|
2010-04-07 03:23:26 +08:00
|
|
|
if [ "${CARCH}" = "x86_64" ]; then
|
2012-04-30 08:04:19 +08:00
|
|
|
_extra_opts="--with-pic"
|
2010-04-07 03:23:26 +08:00
|
|
|
fi
|
2012-04-30 08:04:19 +08:00
|
|
|
|
|
|
|
./configure --prefix=/usr --enable-shared "${_extra_opts}" || return 1
|
|
|
|
|
|
|
|
make
|
2010-04-07 03:23:26 +08:00
|
|
|
}
|
2012-04-30 08:04:19 +08:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}"
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|