1 # Contributor: xjpvictor <emailhuangke@gmail.com>
3 pkgname=moc-unstable-ape
7 pkgdesc="An ncurses console audio player with support for the mp3, ogg, and wave formats"
9 url="http://moc.daper.net/"
11 depends=('libmad' 'libid3tag' 'jack-audio-connection-kit' 'curl>=7.16.2' 'libsamplerate' 'libtool')
12 makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec')
13 conflicts=('moc' 'moc-svn' 'moc-ape')
14 optdepends=('speex: for using the speex plugin' 'ffmpeg: for using the ffmpeg plugin' 'taglib and libmpcdec: for using the musepack plugin')
16 source=(ftp://ftp.daper.net/pub/soft/moc/unstable/moc-${pkgver}-${_ver}.tar.bz2 moc-${pkgver}-${_ver}-ffmpeg.diff)
17 md5sums=('2dd0cb6481d77fda09c58ec3154a21c0' 'ff0f0691b054cc277375fbf3731bfc1e')
20 cd ${srcdir}/moc-${pkgver}-${_ver}
21 patch -p1 < ../moc-${pkgver}-${_ver}-ffmpeg.diff || return 1
22 sed -i 's|ffmpeg/avformat.h|libavformat/avformat.h|' decoder_plugins/ffmpeg/ffmpeg.c || return 1
23 ./configure --prefix=/usr --without-rcc || return 1
25 make DESTDIR=${pkgdir} install || return 1