Date: Thursday, February 25, 2010 @ 23:39:48
  Author: eric
Revision: 70351

upgpkg: moc 2.5.0_alpha4-2
Added wavpack and modplug support (close FS#18449)

Modified:
  moc/trunk/ChangeLog
  moc/trunk/PKGBUILD

-----------+
 ChangeLog |    5 +++++
 PKGBUILD  |   12 ++++++++----
 2 files changed, 13 insertions(+), 4 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog   2010-02-26 04:38:41 UTC (rev 70350)
+++ ChangeLog   2010-02-26 04:39:48 UTC (rev 70351)
@@ -1,3 +1,8 @@
+2010-02-25  Eric Belanger  <e...@archlinux.org>
+
+       * moc 2.5.0_alpha4-2
+       * Added wavpack and modplug support (close FS#18449)
+
 2010-01-24  Eric Belanger  <e...@archlinux.org>
 
        * moc 2.5.0_alpha4-1

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2010-02-26 04:38:41 UTC (rev 70350)
+++ PKGBUILD    2010-02-26 04:39:48 UTC (rev 70351)
@@ -4,15 +4,16 @@
 
 pkgname=moc
 pkgver=2.5.0_alpha4
-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-audio-connection-kit' 'curl' 
'libsamplerate' 'libtool')
-makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec')
+makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug')
 optdepends=('speex: for using the speex plugin' 'ffmpeg: for using the ffmpeg 
plugin' \
-            'taglib: for using the musepack plugin' 'libmpcdec: for using the 
musepack plugin')
+            'taglib: for using the musepack plugin' 'libmpcdec: for using the 
musepack plugin' \
+            'wavpack: for using the wavpack plugin' 'libmodplug: for using the 
modplug plugin')
 options=('!libtool')
 
source=(ftp://ftp.daper.net/pub/soft/moc/unstable/${pkgname}-${pkgver/_/-}.tar.bz2)
 md5sums=('2dd0cb6481d77fda09c58ec3154a21c0')
@@ -22,7 +23,10 @@
   cd "${srcdir}/${pkgname}-${pkgver/_/-}"
   sed -i 's|ffmpeg/avformat.h|libavformat/avformat.h|' 
decoder_plugins/ffmpeg/ffmpeg.c || return 1
 # Disabling aac to use the external ffmpeg to play them (FS#13164)
-  ./configure --prefix=/usr --without-rcc --without-aac || return 1
+  ./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 || 
return 1
   make || return 1
   make DESTDIR="${pkgdir}" install || return 1
 }

Reply via email to