summaryrefslogtreecommitdiff
path: root/testing/moc
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-09 22:46:45 +0000
committerroot <root@rshg047.dnsready.net>2011-06-09 22:46:45 +0000
commit8634a064b17334eb58699897220aeed2fc9a54db (patch)
tree8991573625a440a1f27d8da1abb3ae61fa4d0137 /testing/moc
parent498f3fc095103b2a220a00b27d43f4dae02d5459 (diff)
Thu Jun 9 22:46:45 UTC 2011
Diffstat (limited to 'testing/moc')
-rw-r--r--testing/moc/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/testing/moc/PKGBUILD b/testing/moc/PKGBUILD
index d94540c70..535afc1a5 100644
--- a/testing/moc/PKGBUILD
+++ b/testing/moc/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 125870 2011-05-30 20:58:06Z eric $
+# $Id: PKGBUILD 126916 2011-06-08 17:30:45Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=moc
pkgver=20110528
-pkgrel=1
+pkgrel=2
pkgdesc="An ncurses console audio player with support for the mp3, ogg, and wave formats"
arch=('i686' 'x86_64')
url="http://moc.daper.net/"
license=('GPL')
-depends=('libmad' 'libid3tag' 'jack' 'curl' 'libsamplerate' 'libtool')
+depends=('libmad' 'libid3tag' 'jack' 'curl' 'libsamplerate' 'libtool' 'file')
makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug')
optdepends=('speex: for using the speex plugin'
'ffmpeg: for using the ffmpeg plugin'
@@ -19,23 +19,22 @@ optdepends=('speex: for using the speex plugin'
options=('!libtool')
source=(ftp://ftp.archlinux.org/other/moc/${pkgname}-${pkgver}.tar.xz \
gcc-undefined-symbols.diff)
-md5sums=('e9394640fecb725ad8146575a3091134'
+md5sums=('003fd01af2165264eb666040e4f586cd'
'efacb8559e9145e15b0c25f8fa2a9d79')
-sha1sums=('d09c27602a60e3e9fde476e13d7c1a8b21489505'
+sha1sums=('f79049136ce6616bfd6af2f5e08246a5921441cf'
'a811a4ac7e049914aab528d3f06a6be6634c2720')
build() {
cd "${srcdir}/${pkgname}"
patch -p0 -i ../gcc-undefined-symbols.diff
- sed -i 's|ffmpeg/avformat.h|libavformat/avformat.h|' decoder_plugins/ffmpeg/ffmpeg.c
- sed -i 's|avcodec_decode_audio|avcodec_decode_audio2|' decoder_plugins/ffmpeg/ffmpeg.c
+
# Disabling aac to use the external ffmpeg to play them (FS#13164)
./autogen.sh
./configure --prefix=/usr --without-rcc --without-aac \
--with-oss --with-alsa --with-jack --with-mp3 \
--with-musepack --with-vorbis --with-flac --with-wavpack \
--with-sndfile --with-modplug --with-ffmpeg --with-speex \
- --with-samplerate --with-curl
+ --with-samplerate --with-curl --disable-debug
make
}