[arch-commits] Commit in moc/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Wed Jun 8 17:30:45 UTC 2011


    Date: Wednesday, June 8, 2011 @ 13:30:45
  Author: eric
Revision: 126916

upgpkg: moc 20110528-2
Added file depends, Removed old sed lines, Disabled debug to fix crashes (close FS#22971)

Modified:
  moc/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-08 15:40:25 UTC (rev 126915)
+++ PKGBUILD	2011-06-08 17:30:45 UTC (rev 126916)
@@ -3,12 +3,12 @@
 
 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 @@
 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
 }
 




More information about the arch-commits mailing list