|
Lines 2-77
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= moc |
4 |
PORTNAME= moc |
| 5 |
PORTVERSION= 2.4.4 |
5 |
PORTVERSION= 2.5.0 |
| 6 |
PORTREVISION= 18 |
|
|
| 7 |
CATEGORIES= audio |
6 |
CATEGORIES= audio |
| 8 |
MASTER_SITES= ftp://ftp.daper.net/pub/soft/moc/stable/ |
7 |
MASTER_SITES= http://ftp.daper.net/pub/soft/moc/stable/ |
| 9 |
|
8 |
|
| 10 |
MAINTAINER= rzinkov@gmail.com |
9 |
MAINTAINER= rzinkov@gmail.com |
| 11 |
COMMENT= Console audio player designed to be powerful and easy to use |
10 |
COMMENT= Console audio player designed to be powerful and easy to use |
| 12 |
|
11 |
|
|
|
12 |
LICENSE= GPLv2 |
| 13 |
|
| 14 |
LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl |
| 15 |
|
| 13 |
USES= gmake libtool pkgconfig tar:bzip2 |
16 |
USES= gmake libtool pkgconfig tar:bzip2 |
| 14 |
USE_LDCONFIG= yes |
17 |
USE_LDCONFIG= yes |
| 15 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
|
|
19 |
USE_BDB= yes |
| 20 |
INSTALL_TARGET= install-strip |
| 16 |
|
21 |
|
| 17 |
CPPFLAGS+= -I${LOCALBASE}/include |
22 |
CONFIGURE_ARGS= --without-sidplay2 |
| 18 |
LDFLAGS+= -L${LOCALBASE}/lib |
|
|
| 19 |
|
23 |
|
| 20 |
OPTIONS_DEFINE= JACK MP3 FFMPEG MUSEPACK VORBIS FLAC SNDFILE SPEEX SAMPLERATE CURL RCC |
24 |
CPPFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} |
|
|
25 |
LDFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} |
| 26 |
|
| 27 |
OPTIONS_DEFINE= AAC CURL DEBUG FFMPEG FLAC JACK MODPLUG MP3 MUSEPACK RCC \ |
| 28 |
SAMPLERATE SNDFILE SPEEX VORBIS WAVPACK |
| 21 |
OPTIONS_DEFAULT= MP3 VORBIS FLAC CURL |
29 |
OPTIONS_DEFAULT= MP3 VORBIS FLAC CURL |
| 22 |
CURL_DESC= curl support (Internet streams) |
30 |
CURL_DESC= curl support (Internet streams) |
| 23 |
RCC_DESC= RCC support |
31 |
RCC_DESC= RCC support |
| 24 |
|
32 |
|
|
|
33 |
AAC_LIB_DEPENDS= libfaad.so:${PORTSDIR}/audio/faad |
| 34 |
AAC_PLIST_FILES= lib/moc/decoder_plugins/libaac_decoder.so |
| 35 |
AAC_CONFIGURE_OFF= --without-aac |
| 36 |
|
| 37 |
CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl |
| 38 |
CURL_CONFIGURE_OFF= --without-curl |
| 39 |
|
| 40 |
DEBUG_CONFIGURE_OFF= --enable-debug=no |
| 41 |
|
| 42 |
FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg |
| 43 |
FFMPEG_PLIST_FILES= lib/moc/decoder_plugins/libffmpeg_decoder.so |
| 44 |
FFMPEG_CONFIGURE_OFF= --without-ffmpeg |
| 45 |
|
| 46 |
FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac |
| 47 |
FLAC_PLIST_FILES= lib/moc/decoder_plugins/libflac_decoder.so |
| 48 |
FLAC_CONFIGURE_OFF= --without-flac |
| 49 |
|
| 25 |
JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack |
50 |
JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack |
| 26 |
JACK_CONFIGURE_OFF= --without-jack |
51 |
JACK_CONFIGURE_OFF= --without-jack |
| 27 |
|
52 |
|
|
|
53 |
MODPLUG_LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug |
| 54 |
MODPLUG_PLIST_FILES= lib/moc/decoder_plugins/libmodplug_decoder.so |
| 55 |
MODPLUG_CONFIGURE_OFF= --without-modplug |
| 56 |
|
| 28 |
MP3_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad \ |
57 |
MP3_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad \ |
| 29 |
libid3tag.so:${PORTSDIR}/audio/libid3tag |
58 |
libid3tag.so:${PORTSDIR}/audio/libid3tag |
| 30 |
MP3_PLIST_FILES= lib/moc/decoder_plugins/libmp3_decoder.a \ |
59 |
MP3_PLIST_FILES= lib/moc/decoder_plugins/libmp3_decoder.so |
| 31 |
lib/moc/decoder_plugins/libmp3_decoder.so |
|
|
| 32 |
MP3_CONFIGURE_OFF= --without-mp3 |
60 |
MP3_CONFIGURE_OFF= --without-mp3 |
| 33 |
|
61 |
|
| 34 |
MUSEPACK_LIB_DEPENDS= libmpcdec.so:${PORTSDIR}/audio/musepack \ |
62 |
MUSEPACK_LIB_DEPENDS= libmpcdec.so:${PORTSDIR}/audio/musepack \ |
| 35 |
libtag_c.so:${PORTSDIR}/audio/taglib |
63 |
libtag_c.so:${PORTSDIR}/audio/taglib |
| 36 |
MUSEPACK_PLIST_FILES= lib/moc/decoder_plugins/libmusepack_decoder.a \ |
64 |
MUSEPACK_PLIST_FILES= lib/moc/decoder_plugins/libmusepack_decoder.so |
| 37 |
lib/moc/decoder_plugins/libmusepack_decoder.so |
|
|
| 38 |
MUSEPACK_CONFIGURE_OFF= --without-musepack |
65 |
MUSEPACK_CONFIGURE_OFF= --without-musepack |
| 39 |
|
66 |
|
| 40 |
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis |
67 |
RCC_LIB_DEPENDS= librcc.so:${PORTSDIR}/devel/librcc \ |
| 41 |
VORBIS_PLIST_FILES= lib/moc/decoder_plugins/libvorbis_decoder.a \ |
68 |
librcd.so:${PORTSDIR}/devel/librcd |
| 42 |
lib/moc/decoder_plugins/libvorbis_decoder.so |
69 |
RCC_CONFIGURE_OFF= --without-rcc |
| 43 |
VORBIS_CONFIGURE_OFF= --without-ogg |
|
|
| 44 |
|
70 |
|
| 45 |
FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac |
71 |
SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate |
| 46 |
FLAC_PLIST_FILES= lib/moc/decoder_plugins/libflac_decoder.a \ |
72 |
SAMPLERATE_CONFIGURE_OFF= --without-samplerate |
| 47 |
lib/moc/decoder_plugins/libflac_decoder.so |
|
|
| 48 |
FLAC_CONFIGURE_OFF= --without-flac |
| 49 |
|
73 |
|
| 50 |
FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg |
|
|
| 51 |
FFMPEG_PLIST_FILES= lib/moc/decoder_plugins/libffmpeg_decoder.a \ |
| 52 |
lib/moc/decoder_plugins/libffmpeg_decoder.so |
| 53 |
FFMPEG_CONFIGURE_OFF= --without-ffmpeg |
| 54 |
|
| 55 |
SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile |
74 |
SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile |
| 56 |
SNDFILE_PLIST_FILES= lib/moc/decoder_plugins/libsndfile_formats_decoder.a \ |
75 |
SNDFILE_PLIST_FILES= lib/moc/decoder_plugins/libsndfile_decoder.so |
| 57 |
lib/moc/decoder_plugins/libsndfile_formats_decoder.so |
|
|
| 58 |
SNDFILE_CONFIGURE_OFF= --without-sndfile |
76 |
SNDFILE_CONFIGURE_OFF= --without-sndfile |
| 59 |
|
77 |
|
| 60 |
SPEEX_LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex |
78 |
SPEEX_LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex |
| 61 |
SPEEX_PLIST_FILES= lib/moc/decoder_plugins/libspeex_decoder.a \ |
79 |
SPEEX_PLIST_FILES= lib/moc/decoder_plugins/libspeex_decoder.so |
| 62 |
lib/moc/decoder_plugins/libspeex_decoder.so |
|
|
| 63 |
SPEEX_CONFIGURE_OFF= --without-speex |
80 |
SPEEX_CONFIGURE_OFF= --without-speex |
| 64 |
|
81 |
|
| 65 |
SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate |
82 |
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis |
| 66 |
SAMPLERATE_CONFIGURE_OFF= --without-samplerate |
83 |
VORBIS_PLIST_FILES= lib/moc/decoder_plugins/libvorbis_decoder.so |
|
|
84 |
VORBIS_CONFIGURE_OFF= --without-ogg |
| 67 |
|
85 |
|
| 68 |
CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl |
86 |
WAVPACK_LIB_DEPENDS= libwavpack.so:${PORTSDIR}/audio/wavpack |
| 69 |
CURL_CONFIGURE_OFF= --without-curl |
87 |
WAVPACK_PLIST_FILES= lib/moc/decoder_plugins/libwavpack_decoder.so |
|
|
88 |
WAVPACK_CONFIGURE_OFF= --without-wavpack |
| 70 |
|
89 |
|
| 71 |
RCC_LIB_DEPENDS= librcc.so:${PORTSDIR}/devel/librcc \ |
|
|
| 72 |
librcd.so:${PORTSDIR}/devel/librcd |
| 73 |
RCC_CONFIGURE_OFF= --without-rcc |
| 74 |
|
| 75 |
post-patch: |
90 |
post-patch: |
| 76 |
@${REINPLACE_CMD} -e '/PKG_CONFIG/ s|alsa|no-&|g' ${WRKSRC}/configure |
91 |
@${REINPLACE_CMD} -e '/PKG_CONFIG/ s|alsa|no-&|g' ${WRKSRC}/configure |
| 77 |
|
92 |
|