31 lines
718 B
Plaintext
31 lines
718 B
Plaintext
# Description: Console audio player.
|
|
# URL: http://moc.daper.net/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: curl libid3tag libmad libsndfile popt
|
|
# Optional: faad2 lame libmodplug libtimidity mpg123 musepack speex taglib wavpack
|
|
|
|
name=moc
|
|
version=2.5.2
|
|
release=3
|
|
source=(http://ftp.daper.net/pub/soft/moc/stable/$name-$version.tar.bz2
|
|
moc-https.patch)
|
|
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p0 -i $SRC/moc-https.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-nls \
|
|
--without-ffmpeg \
|
|
--disable-debug
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
install -D -m 0644 -t $PKG/usr/share/moc/ config.example keymap.example
|
|
rm -rf $PKG/usr/share/doc
|
|
rm -f $PKG/usr/lib/moc/decoder_plugins/*.la
|
|
}
|