# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description MOC (music on console) is a console audio player for LINUX/UNIX
long_description MOC (music on console) is a console audio player for LINUX/UNIX \
designed to be powerful and easy to use. \
Internet stream (Icecast, Shoutcast) are supported, \
key mapping can be fully customized. \
Supported file formats are: mp3, Ogg Vorbis, FLAC, Musepack, Speex, WAVE, \
AIFF, AU (and other less popular formats supported by libsndfile. New formats \
support is under development.
homepage http://moc.daper.net
master_sites http://ftp.daper.net/pub/soft/moc/unstable/
checksums rmd160 283f9945abbd3b3d4e15f23485228c00983edfe8 \
sha256 0b0a3515c65b4c47a250e350c663535778239352db859921f5d564ed727a0bbc
depends_build port:pkgconfig
depends_lib port:libiconv \
path:lib/libavcodec.dylib:ffmpeg \
path:lib/libspeex.dylib:speex \
patchfiles patch-ffmpeg-3.0.diff \
configure.args --with-jack --without-vorbis --disable-cache
#default_variants +autojack
#variant autojack description {Autostart jack on mocp init and close it on server stop} {
# patchfiles-append patch-autojack.diff
variant vorbis description {Add support for ogg files} {
depends_lib-append port:libvorbis
configure.args-delete --without-vorbis
livecheck.regex ">${name}-\(\.*\)\.tar"