[arch-commits] Commit in moc/repos (4 files)

Eric Bélanger eric at archlinux.org
Mon Jan 25 00:43:58 UTC 2010


    Date: Sunday, January 24, 2010 @ 19:43:58
  Author: eric
Revision: 65201

Merged revisions 58403,65199 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/moc/trunk

........
  r58403 | eric | 2009-11-07 13:14:17 -0500 (Sat, 07 Nov 2009) | 1 line
  
  Fixed optdepends array syntax (close FS#16053)
........
  r65199 | eric | 2010-01-24 19:43:08 -0500 (Sun, 24 Jan 2010) | 2 lines
  
  upgpkg: moc 2.5.0_alpha4-1
      Upstream update to unstable series, Fixed aac support (close FS#13164)
........

Modified:
  moc/repos/extra-x86_64/	(properties)
  moc/repos/extra-x86_64/ChangeLog
  moc/repos/extra-x86_64/PKGBUILD
Deleted:
  moc/repos/extra-x86_64/moc-2.4.4-ffmpeg.diff

-----------------------+
 ChangeLog             |   10 ++++++++++
 PKGBUILD              |   22 ++++++++++++----------
 moc-2.4.4-ffmpeg.diff |   22 ----------------------
 3 files changed, 22 insertions(+), 32 deletions(-)


Property changes on: moc/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /moc/trunk:1-30647
   + /moc/trunk:1-65200

Modified: extra-x86_64/ChangeLog
===================================================================
--- extra-x86_64/ChangeLog	2010-01-25 00:43:30 UTC (rev 65200)
+++ extra-x86_64/ChangeLog	2010-01-25 00:43:58 UTC (rev 65201)
@@ -1,3 +1,13 @@
+2010-01-24  Eric Belanger  <eric at archlinux.org>
+
+	* moc 2.5.0_alpha4-1
+	* Upstream update to unstable series
+	* Fixed aac support (close FS#13164)
+
+2009-11-07  Eric Belanger  <eric at archlinux.org>
+
+	* Fixed optdepends array syntax (close FS#16053)
+
 2009-03-21  Eric Belanger  <eric at archlinux.org>
 
 	* moc 2.4.4-3

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2010-01-25 00:43:30 UTC (rev 65200)
+++ extra-x86_64/PKGBUILD	2010-01-25 00:43:58 UTC (rev 65201)
@@ -3,24 +3,26 @@
 # Contributor: dorphell <dorphell at gmx.net>
 
 pkgname=moc
-pkgver=2.4.4
-pkgrel=3
+pkgver=2.5.0_alpha4
+pkgrel=1
 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>=7.16.2' 'libsamplerate' 'libtool')
+depends=('libmad' 'libid3tag' 'jack-audio-connection-kit' 'curl' 'libsamplerate' 'libtool')
 makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec')
-optdepends=('speex: for using the speex plugin' 'ffmpeg: for using the ffmpeg plugin' 'taglib and libmpcdec: for using the musepack plugin')
+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')
 options=('!libtool')
-source=(ftp://ftp.daper.net/pub/soft/moc/stable/${pkgname}-${pkgver}.tar.bz2 moc-2.4.4-ffmpeg.diff)
-md5sums=('647c770a5542a4ae5437386807a89796' '2e6958ddbb4cd0aa7bdf6c3235782381')
+source=(ftp://ftp.daper.net/pub/soft/moc/unstable/${pkgname}-${pkgver/_/-}.tar.bz2)
+md5sums=('2dd0cb6481d77fda09c58ec3154a21c0')
+sha1sums=('ca55b3bed0f3f3f352ca43078208ab63e20f40fc')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  patch -p1 < ../moc-2.4.4-ffmpeg.diff || return 1
+  cd "${srcdir}/${pkgname}-${pkgver/_/-}"
   sed -i 's|ffmpeg/avformat.h|libavformat/avformat.h|' decoder_plugins/ffmpeg/ffmpeg.c || return 1
-  ./configure --prefix=/usr --without-rcc || return 1
+# Disabling aac to use the external ffmpeg to play them (FS#13164)
+  ./configure --prefix=/usr --without-rcc --without-aac || return 1
   make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  make DESTDIR="${pkgdir}" install || return 1
 }

Deleted: extra-x86_64/moc-2.4.4-ffmpeg.diff
===================================================================
--- extra-x86_64/moc-2.4.4-ffmpeg.diff	2010-01-25 00:43:30 UTC (rev 65200)
+++ extra-x86_64/moc-2.4.4-ffmpeg.diff	2010-01-25 00:43:58 UTC (rev 65201)
@@ -1,22 +0,0 @@
-diff -Naur moc-2.4.4/decoder_plugins/ffmpeg/ffmpeg.c moc-2.4.4-new/decoder_plugins/ffmpeg/ffmpeg.c
---- moc-2.4.4/decoder_plugins/ffmpeg/ffmpeg.c	2008-04-09 14:44:00.000000000 -0400
-+++ moc-2.4.4-new/decoder_plugins/ffmpeg/ffmpeg.c	2009-03-07 01:31:48.000000000 -0500
-@@ -222,8 +222,8 @@
- {
- 	struct ffmpeg_data *data = (struct ffmpeg_data *)prv_data;
- 	int ret;
--	int data_size;
- 	char avbuf[AVCODEC_MAX_AUDIO_FRAME_SIZE * sizeof(int16_t)];
-+	int data_size = sizeof(avbuf);
- 	AVPacket pkt;
- 	uint8_t *pkt_data;
- 	int pkt_size = 0;
-@@ -270,7 +270,7 @@
- 		while (pkt_size) {
- 			int len;
- 		
--			len = avcodec_decode_audio (data->enc, (int16_t *)avbuf,
-+			len = avcodec_decode_audio2 (data->enc, (int16_t *)avbuf,
- 					&data_size, pkt_data, pkt_size);
- 			debug ("Decoded %dB", data_size);
- 




More information about the arch-commits mailing list