2021-06-01 17:59:05 +02:00
|
|
|
# Created by: Rob Zinkov <rzinkov@gmail.com>
|
Add moc.
MOC (music on console) is a console audio player designed to be powerful and
easy to use.
MOC plays smoothly, regardless of system or I/O load, because it handles the
output buffer in a separate thread. It does not cause gaps between files,
because the next file to be played is pre-cached while playing the current
file.
Supported file formats are: MP3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, WAVE,
AIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC.
WWW: http://moc.daper.net/
PR: ports/84153
Submitted by: Integral <rzinkov@gmail.com>
2005-07-29 01:46:49 +02:00
|
|
|
|
|
|
|
PORTNAME= moc
|
2016-12-25 14:16:00 +01:00
|
|
|
PORTVERSION= 2.5.2
|
2021-06-01 17:59:05 +02:00
|
|
|
PORTREVISION= 6
|
Add moc.
MOC (music on console) is a console audio player designed to be powerful and
easy to use.
MOC plays smoothly, regardless of system or I/O load, because it handles the
output buffer in a separate thread. It does not cause gaps between files,
because the next file to be played is pre-cached while playing the current
file.
Supported file formats are: MP3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, WAVE,
AIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC.
WWW: http://moc.daper.net/
PR: ports/84153
Submitted by: Integral <rzinkov@gmail.com>
2005-07-29 01:46:49 +02:00
|
|
|
CATEGORIES= audio
|
2015-01-18 15:35:00 +01:00
|
|
|
MASTER_SITES= http://ftp.daper.net/pub/soft/moc/stable/
|
Add moc.
MOC (music on console) is a console audio player designed to be powerful and
easy to use.
MOC plays smoothly, regardless of system or I/O load, because it handles the
output buffer in a separate thread. It does not cause gaps between files,
because the next file to be played is pre-cached while playing the current
file.
Supported file formats are: MP3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, WAVE,
AIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC.
WWW: http://moc.daper.net/
PR: ports/84153
Submitted by: Integral <rzinkov@gmail.com>
2005-07-29 01:46:49 +02:00
|
|
|
|
|
|
|
MAINTAINER= rzinkov@gmail.com
|
2013-08-31 01:01:05 +02:00
|
|
|
COMMENT= Console audio player designed to be powerful and easy to use
|
Add moc.
MOC (music on console) is a console audio player designed to be powerful and
easy to use.
MOC plays smoothly, regardless of system or I/O load, because it handles the
output buffer in a separate thread. It does not cause gaps between files,
because the next file to be played is pre-cached while playing the current
file.
Supported file formats are: MP3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, WAVE,
AIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC.
WWW: http://moc.daper.net/
PR: ports/84153
Submitted by: Integral <rzinkov@gmail.com>
2005-07-29 01:46:49 +02:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2015-01-18 15:35:00 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libltdl.so:devel/libltdl
|
2015-01-18 15:35:00 +01:00
|
|
|
|
2016-08-08 15:46:50 +02:00
|
|
|
USES= bdb gmake libtool ncurses pkgconfig tar:bzip2
|
2009-01-28 05:11:48 +01:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2015-01-18 15:35:00 +01:00
|
|
|
INSTALL_TARGET= install-strip
|
Add moc.
MOC (music on console) is a console audio player designed to be powerful and
easy to use.
MOC plays smoothly, regardless of system or I/O load, because it handles the
output buffer in a separate thread. It does not cause gaps between files,
because the next file to be played is pre-cached while playing the current
file.
Supported file formats are: MP3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, WAVE,
AIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC.
WWW: http://moc.daper.net/
PR: ports/84153
Submitted by: Integral <rzinkov@gmail.com>
2005-07-29 01:46:49 +02:00
|
|
|
|
2015-01-18 15:35:00 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR}
|
Add moc.
MOC (music on console) is a console audio player designed to be powerful and
easy to use.
MOC plays smoothly, regardless of system or I/O load, because it handles the
output buffer in a separate thread. It does not cause gaps between files,
because the next file to be played is pre-cached while playing the current
file.
Supported file formats are: MP3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, WAVE,
AIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC.
WWW: http://moc.daper.net/
PR: ports/84153
Submitted by: Integral <rzinkov@gmail.com>
2005-07-29 01:46:49 +02:00
|
|
|
|
2015-01-18 15:35:00 +01:00
|
|
|
OPTIONS_DEFINE= AAC CURL DEBUG FFMPEG FLAC JACK MODPLUG MP3 MUSEPACK RCC \
|
|
|
|
SAMPLERATE SIDPLAY2 SNDFILE SPEEX VORBIS WAVPACK
|
2021-06-01 17:59:05 +02:00
|
|
|
OPTIONS_DEFAULT= MP3 VORBIS FLAC CURL WAVPACK
|
2013-03-21 18:32:34 +01:00
|
|
|
CURL_DESC= curl support (Internet streams)
|
|
|
|
RCC_DESC= RCC support
|
2015-01-18 15:35:00 +01:00
|
|
|
SIDPLAY2_DESC= libsidplay2 support
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
AAC_LIB_DEPENDS= libfaad.so:audio/faad
|
2015-01-18 15:35:00 +01:00
|
|
|
AAC_PLIST_FILES= lib/moc/decoder_plugins/libaac_decoder.so
|
|
|
|
AAC_CONFIGURE_OFF= --without-aac
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
|
2015-01-18 15:35:00 +01:00
|
|
|
CURL_CONFIGURE_OFF= --without-curl
|
|
|
|
|
|
|
|
DEBUG_CONFIGURE_OFF= --enable-debug=no
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
|
2015-01-18 15:35:00 +01:00
|
|
|
FFMPEG_PLIST_FILES= lib/moc/decoder_plugins/libffmpeg_decoder.so
|
|
|
|
FFMPEG_CONFIGURE_OFF= --without-ffmpeg
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
|
2015-01-18 15:35:00 +01:00
|
|
|
FLAC_PLIST_FILES= lib/moc/decoder_plugins/libflac_decoder.so
|
|
|
|
FLAC_CONFIGURE_OFF= --without-flac
|
2013-03-21 18:32:34 +01:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
JACK_LIB_DEPENDS= libjack.so:audio/jack
|
2014-01-26 19:42:43 +01:00
|
|
|
JACK_CONFIGURE_OFF= --without-jack
|
Add moc.
MOC (music on console) is a console audio player designed to be powerful and
easy to use.
MOC plays smoothly, regardless of system or I/O load, because it handles the
output buffer in a separate thread. It does not cause gaps between files,
because the next file to be played is pre-cached while playing the current
file.
Supported file formats are: MP3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, WAVE,
AIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC.
WWW: http://moc.daper.net/
PR: ports/84153
Submitted by: Integral <rzinkov@gmail.com>
2005-07-29 01:46:49 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug
|
2015-01-18 15:35:00 +01:00
|
|
|
MODPLUG_PLIST_FILES= lib/moc/decoder_plugins/libmodplug_decoder.so
|
|
|
|
MODPLUG_CONFIGURE_OFF= --without-modplug
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
MP3_LIB_DEPENDS= libmad.so:audio/libmad \
|
|
|
|
libid3tag.so:audio/libid3tag
|
2015-01-18 15:35:00 +01:00
|
|
|
MP3_PLIST_FILES= lib/moc/decoder_plugins/libmp3_decoder.so
|
2014-01-26 19:42:43 +01:00
|
|
|
MP3_CONFIGURE_OFF= --without-mp3
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack \
|
|
|
|
libtag_c.so:audio/taglib
|
2015-01-18 15:35:00 +01:00
|
|
|
MUSEPACK_PLIST_FILES= lib/moc/decoder_plugins/libmusepack_decoder.so
|
2014-01-26 19:42:43 +01:00
|
|
|
MUSEPACK_CONFIGURE_OFF= --without-musepack
|
Add moc.
MOC (music on console) is a console audio player designed to be powerful and
easy to use.
MOC plays smoothly, regardless of system or I/O load, because it handles the
output buffer in a separate thread. It does not cause gaps between files,
because the next file to be played is pre-cached while playing the current
file.
Supported file formats are: MP3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, WAVE,
AIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC.
WWW: http://moc.daper.net/
PR: ports/84153
Submitted by: Integral <rzinkov@gmail.com>
2005-07-29 01:46:49 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
RCC_LIB_DEPENDS= librcc.so:devel/librcc \
|
|
|
|
librcd.so:devel/librcd
|
2015-01-18 15:35:00 +01:00
|
|
|
RCC_CONFIGURE_OFF= --without-rcc
|
Add moc.
MOC (music on console) is a console audio player designed to be powerful and
easy to use.
MOC plays smoothly, regardless of system or I/O load, because it handles the
output buffer in a separate thread. It does not cause gaps between files,
because the next file to be played is pre-cached while playing the current
file.
Supported file formats are: MP3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, WAVE,
AIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC.
WWW: http://moc.daper.net/
PR: ports/84153
Submitted by: Integral <rzinkov@gmail.com>
2005-07-29 01:46:49 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate
|
2015-01-18 15:35:00 +01:00
|
|
|
SAMPLERATE_CONFIGURE_OFF= --without-samplerate
|
Add moc.
MOC (music on console) is a console audio player designed to be powerful and
easy to use.
MOC plays smoothly, regardless of system or I/O load, because it handles the
output buffer in a separate thread. It does not cause gaps between files,
because the next file to be played is pre-cached while playing the current
file.
Supported file formats are: MP3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, WAVE,
AIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC.
WWW: http://moc.daper.net/
PR: ports/84153
Submitted by: Integral <rzinkov@gmail.com>
2005-07-29 01:46:49 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
SIDPLAY2_LIB_DEPENDS= libsidplay2.so:audio/libsidplay2
|
2015-01-18 15:35:00 +01:00
|
|
|
SIDPLAY2_PLIST_FILES= lib/moc/decoder_plugins/libsidplay2_decoder.so
|
|
|
|
SIDPLAY2_CONFIGURE_OFF= --without-sidplay2
|
2006-02-21 13:25:26 +01:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
|
2015-01-18 15:35:00 +01:00
|
|
|
SNDFILE_PLIST_FILES= lib/moc/decoder_plugins/libsndfile_decoder.so
|
2014-01-26 19:42:43 +01:00
|
|
|
SNDFILE_CONFIGURE_OFF= --without-sndfile
|
Add moc.
MOC (music on console) is a console audio player designed to be powerful and
easy to use.
MOC plays smoothly, regardless of system or I/O load, because it handles the
output buffer in a separate thread. It does not cause gaps between files,
because the next file to be played is pre-cached while playing the current
file.
Supported file formats are: MP3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, WAVE,
AIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC.
WWW: http://moc.daper.net/
PR: ports/84153
Submitted by: Integral <rzinkov@gmail.com>
2005-07-29 01:46:49 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
SPEEX_LIB_DEPENDS= libspeex.so:audio/speex
|
2015-01-18 15:35:00 +01:00
|
|
|
SPEEX_PLIST_FILES= lib/moc/decoder_plugins/libspeex_decoder.so
|
2014-01-26 19:42:43 +01:00
|
|
|
SPEEX_CONFIGURE_OFF= --without-speex
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis
|
2015-01-18 15:35:00 +01:00
|
|
|
VORBIS_PLIST_FILES= lib/moc/decoder_plugins/libvorbis_decoder.so
|
|
|
|
VORBIS_CONFIGURE_OFF= --without-ogg
|
2014-01-26 19:42:43 +01:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack
|
2015-01-18 15:35:00 +01:00
|
|
|
WAVPACK_PLIST_FILES= lib/moc/decoder_plugins/libwavpack_decoder.so
|
|
|
|
WAVPACK_CONFIGURE_OFF= --without-wavpack
|
2009-01-28 05:11:48 +01:00
|
|
|
|
2014-09-18 22:10:34 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/PKG_CONFIG/ s|alsa|no-&|g' ${WRKSRC}/configure
|
|
|
|
|
2013-03-21 18:32:34 +01:00
|
|
|
.include <bsd.port.mk>
|