diff options
Diffstat (limited to 'extra/moc')
-rw-r--r-- | extra/moc/ChangeLog | 32 | ||||
-rw-r--r-- | extra/moc/PKGBUILD | 44 |
2 files changed, 76 insertions, 0 deletions
diff --git a/extra/moc/ChangeLog b/extra/moc/ChangeLog new file mode 100644 index 000000000..d494c5280 --- /dev/null +++ b/extra/moc/ChangeLog @@ -0,0 +1,32 @@ +2010-02-25 Eric Belanger <eric@archlinux.org> + + * moc 2.5.0_alpha4-2 + * Added wavpack and modplug support (close FS#18449) + +2010-01-24 Eric Belanger <eric@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@archlinux.org> + + * Fixed optdepends array syntax (close FS#16053) + +2009-03-21 Eric Belanger <eric@archlinux.org> + + * moc 2.4.4-3 + * Added missing libid3tag depends (close FS#13819) + +2009-03-07 Eric Belanger <eric@archlinux.org> + + * moc 2.4.4-2 + * Added patch to fix playback of WMA files + +2009-01-11 Eric Belanger <eric@archlinux.org> + + * moc 2.4.4-1 + * Upstream update + * Added libtool depends + * Replaced install scriptlet by optdepends + * Added ChangeLog diff --git a/extra/moc/PKGBUILD b/extra/moc/PKGBUILD new file mode 100644 index 000000000..1cde9ae89 --- /dev/null +++ b/extra/moc/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 107458 2011-01-25 20:51:09Z remy $ +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: dorphell <dorphell@gmx.net> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=moc +pkgver=2.4.4 +pkgrel=3 +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') +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' + 'wavpack: for using the wavpack plugin' + 'libmodplug: for using the modplug plugin') +options=('!libtool' 'force') +source=(ftp://ftp.daper.net/pub/soft/moc/stable/${pkgname}-${pkgver}.tar.bz2) +md5sums=('647c770a5542a4ae5437386807a89796') +sha1sums=('e56ee13aa17c177f0afc42efe3804ebbbf46d4db') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + 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) + ./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 + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +} |