diff options
Diffstat (limited to 'extra/sox/PKGBUILD')
-rw-r--r-- | extra/sox/PKGBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/extra/sox/PKGBUILD b/extra/sox/PKGBUILD index 20b0ccc7e..322d66183 100644 --- a/extra/sox/PKGBUILD +++ b/extra/sox/PKGBUILD @@ -1,15 +1,16 @@ -# $Id: PKGBUILD 160646 2012-06-03 04:02:31Z eric $ +# $Id: PKGBUILD 163160 2012-07-08 09:32:27Z ibiru $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=sox pkgver=14.4.0 -pkgrel=2 +pkgrel=3 pkgdesc="The Swiss Army knife of sound processing tools" arch=('i686' 'x86_64') url="http://sox.sourceforge.net/" license=('GPL' 'LGPL') depends=('libltdl' 'file' 'libsndfile' 'libpng' 'lame' 'opencore-amr' 'gsm') makedepends=('ffmpeg' 'libao' 'libmad' 'libid3tag' 'wavpack' 'libpulse') +checkdepends=('time') optdepends=('libao: for ao plugin' 'ffmpeg: for ffmpeg plugin' 'libmad: for mp3 plugin' @@ -18,19 +19,26 @@ optdepends=('libao: for ao plugin' 'libpulse: for pulse plugin') options=('!libtool') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2 - sox_default_audio_driver_fallback.patch) + sox_default_audio_driver_fallback.patch sox-ffmpeg0.11.patch) sha1sums=('12dfc57e503ed4e18cedcac292cdae7982281978' - 'ab304f1fc17269262dbc4977aa9b7e97ec805ae4') + 'ab304f1fc17269262dbc4977aa9b7e97ec805ae4' + '2f92bcaebcaf300782396f106cdd27c72048a851') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -p0 -i "${srcdir}/sox_default_audio_driver_fallback.patch" + patch -p1 -i "${srcdir}/sox-ffmpeg0.11.patch" sed -i 's|man1/sox.1 soxeffect.7|man1/sox.1.gz soxeffect.7.gz|' Makefile.in ./configure --prefix=/usr --sysconfdir=/etc \ --with-dyn-default --with-distro="Arch Linux" make } +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make bindir=. installcheck +} + package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install |