Lines 1-7
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= qmmp |
3 |
PORTNAME= qmmp |
4 |
PORTVERSION= 0.9.10 |
4 |
PORTVERSION= 0.10.0 |
5 |
CATEGORIES= multimedia |
5 |
CATEGORIES= multimedia |
6 |
MASTER_SITES= http://qmmp.ylsoftware.com/files/ \ |
6 |
MASTER_SITES= http://qmmp.ylsoftware.com/files/ \ |
7 |
SF/qmmp-dev/${PORTNAME}/ |
7 |
SF/qmmp-dev/${PORTNAME}/ |
Lines 26-32
Link Here
|
26 |
|
26 |
|
27 |
PLUGIN_APPLICATION_DESC= Main program view |
27 |
PLUGIN_APPLICATION_DESC= Main program view |
28 |
OPTIONS_GROUP_PLUGIN_APPLICATION= GNOMEHOTKEY HOTKEY KDENOTIFY \ |
28 |
OPTIONS_GROUP_PLUGIN_APPLICATION= GNOMEHOTKEY HOTKEY KDENOTIFY \ |
29 |
NOTIFIER QMMP_DIALOG QSUI SKINNEDUI STATICON |
29 |
NOTIFIER QMMP_DIALOG QSUI SKINNEDUI STATICON TWOPANELDIALOG |
30 |
|
30 |
|
31 |
DOCUMENTS_DESC= Documentation and API Reference |
31 |
DOCUMENTS_DESC= Documentation and API Reference |
32 |
OPTIONS_GROUP_DOCUMENTS= DOCS DOXYGEN |
32 |
OPTIONS_GROUP_DOCUMENTS= DOCS DOXYGEN |
Lines 36-48
Link Here
|
36 |
MUSEPACK OPUS SNDFILE VORBIS WAVPACK WILDMIDI |
36 |
MUSEPACK OPUS SNDFILE VORBIS WAVPACK WILDMIDI |
37 |
|
37 |
|
38 |
PLUGIN_DSP_EFFECTS_DESC= DSP effects |
38 |
PLUGIN_DSP_EFFECTS_DESC= DSP effects |
39 |
OPTIONS_GROUP_PLUGIN_DSP_EFFECTS= BS2B CROSSFADE LADSPA SRCONV STEREO |
39 |
OPTIONS_GROUP_PLUGIN_DSP_EFFECTS= BS2B CROSSFADE LADSPA STEREO |
40 |
|
40 |
|
41 |
PLUGIN_VISUAL_EFFECTS_DESC= Visual effects |
41 |
PLUGIN_VISUAL_EFFECTS_DESC= Visual effects |
42 |
OPTIONS_GROUP_PLUGIN_VISUAL_EFFECTS= ANALYZER PROJECTM |
42 |
OPTIONS_GROUP_PLUGIN_VISUAL_EFFECTS= ANALYZER PROJECTM |
43 |
|
43 |
|
44 |
PLUGIN_OUTPUT_DESC= Output sound systems |
44 |
PLUGIN_OUTPUT_DESC= Output sound systems |
45 |
OPTIONS_GROUP_PLUGIN_OUTPUT= ALSA JACK NULLOUT OSS OSS4 PULSEAUDIO |
45 |
OPTIONS_GROUP_PLUGIN_OUTPUT= ALSA NULLOUT OSS OSS4 \ |
|
|
46 |
PULSEAUDIO QTMULTIMEDIA |
46 |
|
47 |
|
47 |
PLUGIN_PLAYLIST_DESC= Playlist operation |
48 |
PLUGIN_PLAYLIST_DESC= Playlist operation |
48 |
OPTIONS_GROUP_PLUGIN_PLAYLIST= COPYPASTE DIR_ASSOC FILEOPS HAL \ |
49 |
OPTIONS_GROUP_PLUGIN_PLAYLIST= COPYPASTE DIR_ASSOC FILEOPS HAL \ |
Lines 56-66
Link Here
|
56 |
|
57 |
|
57 |
OPTIONS_DEFAULT= ALSA ANALYZER BS2B CDDA CONVERTER COPYPASTE COVER \ |
58 |
OPTIONS_DEFAULT= ALSA ANALYZER BS2B CDDA CONVERTER COPYPASTE COVER \ |
58 |
CROSSFADE CUE CURL DIR_ASSOC ENCA FAAD FFMPEG FILEOPS FLAC \ |
59 |
CROSSFADE CUE CURL DIR_ASSOC ENCA FAAD FFMPEG FILEOPS FLAC \ |
59 |
GNOMEHOTKEY GME HAL HOTKEY JACK KDENOTIFY LADSPA LYRICS MAD \ |
60 |
GNOMEHOTKEY GME HAL HOTKEY KDENOTIFY LADSPA LYRICS MAD \ |
60 |
MMS MODPLUG MPRIS MPLAYER1 MUSEPACK NOTIFIER NULLOUT \ |
61 |
MMS MODPLUG MPRIS MPLAYER1 MUSEPACK NOTIFIER NULLOUT \ |
61 |
OPUS OSS4 PROJECTM PULSEAUDIO QMMP_DIALOG QSUI RGSCAN \ |
62 |
OPUS OSS4 PROJECTM PULSEAUDIO QMMP_DIALOG QSUI QTMULTIMEDIA \ |
62 |
SB SCROBBLER SID SKINNEDUI SNDFILE SRCONV STATICON STEREO \ |
63 |
RGSCAN SB SCROBBLER SID SKINNEDUI SNDFILE STATICON STEREO \ |
63 |
TRACKCHANGE UDISKS2 VORBIS WAVPACK WILDMIDI |
64 |
TRACKCHANGE TWOPANELDIALOG UDISKS2 VORBIS WAVPACK WILDMIDI |
64 |
|
65 |
|
65 |
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen |
66 |
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen |
66 |
|
67 |
|
Lines 79-89
Link Here
|
79 |
DIR_ASSOC_CMAKE_OFF= -DUSE_DIR_ASSOC:BOOL=FALSE |
80 |
DIR_ASSOC_CMAKE_OFF= -DUSE_DIR_ASSOC:BOOL=FALSE |
80 |
DIR_ASSOC_USES= desktop-file-utils |
81 |
DIR_ASSOC_USES= desktop-file-utils |
81 |
|
82 |
|
82 |
JACK_LIB_DEPENDS= libjack.so:audio/jack \ |
83 |
#JACK_LIB_DEPENDS= libjack.so:audio/jack \ |
83 |
libsamplerate.so:audio/libsamplerate |
84 |
# libsoxr.so:audio/soxr |
84 |
JACK_BUILD_DEPENDS= jackit>=0.121.2:audio/jack |
85 |
#JACK_BUILD_DEPENDS= jackit>=0.121.2:audio/jack |
85 |
JACK_CMAKE_ON= -DUSE_JACK:BOOL=TRUE |
86 |
#JACK_CMAKE_ON= -DUSE_JACK:BOOL=TRUE |
86 |
JACK_CMAKE_OFF= -DUSE_JACK:BOOL=FALSE |
87 |
#JACK_CMAKE_OFF= -DUSE_JACK:BOOL=FALSE |
|
|
88 |
CMAKE_ARGS+= -DUSE_JACK:BOOL=FALSE |
87 |
|
89 |
|
88 |
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib |
90 |
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib |
89 |
ALSA_CMAKE_ON= -DUSE_ALSA:BOOL=TRUE |
91 |
ALSA_CMAKE_ON= -DUSE_ALSA:BOOL=TRUE |
Lines 98-103
Link Here
|
98 |
PULSEAUDIO_CMAKE_ON= -DUSE_PULSE:BOOL=TRUE |
100 |
PULSEAUDIO_CMAKE_ON= -DUSE_PULSE:BOOL=TRUE |
99 |
PULSEAUDIO_CMAKE_OFF= -DUSE_PULSE:BOOL=FALSE |
101 |
PULSEAUDIO_CMAKE_OFF= -DUSE_PULSE:BOOL=FALSE |
100 |
|
102 |
|
|
|
103 |
QTMULTIMEDIA_DESC= Support to use Qt low-level multimedia API |
104 |
QTMULTIMEDIA_USE= QT4=multimedia |
105 |
QTMULTIMEDIA_CMAKE_ON= -DUSE_QTMULTIMEDIA:BOOL=TRUE |
106 |
QTMULTIMEDIA_CMAKE_OFF= -DUSE_QTMULTIMEDIA:BOOL=FALSE |
107 |
|
101 |
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac \ |
108 |
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac \ |
102 |
libtag.so:audio/taglib |
109 |
libtag.so:audio/taglib |
103 |
FLAC_CMAKE_ON= -DUSE_FLAC:BOOL=TRUE |
110 |
FLAC_CMAKE_ON= -DUSE_FLAC:BOOL=TRUE |
Lines 137-144
Link Here
|
137 |
ENCA_CMAKE_ON= -DUSE_ENCA:BOOL=TRUE |
144 |
ENCA_CMAKE_ON= -DUSE_ENCA:BOOL=TRUE |
138 |
ENCA_CMAKE_OFF= -DUSE_ENCA:BOOL=FALSE |
145 |
ENCA_CMAKE_OFF= -DUSE_ENCA:BOOL=FALSE |
139 |
|
146 |
|
140 |
MPLAYER1_DESC= mplayer-1.1.x (multimedia/mplayer) |
147 |
MPLAYER1_DESC= mplayer-1.x (multimedia/mplayer) |
141 |
MPLAYER2_DESC= mplayer-2.0.x (multimedia/mplayer2) |
148 |
MPLAYER2_DESC= mplayer-2.x (multimedia/mplayer2) |
142 |
MPLAYER1_RUN_DEPENDS= mplayer:multimedia/mplayer |
149 |
MPLAYER1_RUN_DEPENDS= mplayer:multimedia/mplayer |
143 |
MPLAYER2_RUN_DEPENDS= mplayer:multimedia/mplayer2 |
150 |
MPLAYER2_RUN_DEPENDS= mplayer:multimedia/mplayer2 |
144 |
MPLAYER1_PREVENTS= MPLAYER2 |
151 |
MPLAYER1_PREVENTS= MPLAYER2 |
Lines 213-222
Link Here
|
213 |
NULLOUT_CMAKE_ON= -DUSE_NULL:BOOL=TRUE |
220 |
NULLOUT_CMAKE_ON= -DUSE_NULL:BOOL=TRUE |
214 |
NULLOUT_CMAKE_OFF= -DUSE_NULL:BOOL=FALSE |
221 |
NULLOUT_CMAKE_OFF= -DUSE_NULL:BOOL=FALSE |
215 |
|
222 |
|
216 |
SRCONV_DESC= Support the sample rate converter |
223 |
#SOXR_DESC= Support SoX Resampler |
217 |
SRCONV_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate |
224 |
#SOXR_LIB_DEPENDS= libsoxr.so:audio/soxr |
218 |
SRCONV_CMAKE_ON= -DUSE_SRC:BOOL=TRUE |
225 |
#SOXR_CMAKE_ON= -DUSE_SOXR:BOOL=TRUE |
219 |
SRCONV_CMAKE_OFF= -DUSE_SRC:BOOL=FALSE |
226 |
#SOXR_CMAKE_OFF= -DUSE_SOXR:BOOL=FALSE |
|
|
227 |
CMAKE_ARGS+= -DUSE_SOXR:BOOL=FALSE |
220 |
|
228 |
|
221 |
CROSSFADE_DESC= Support cross-fade effect |
229 |
CROSSFADE_DESC= Support cross-fade effect |
222 |
CROSSFADE_CMAKE_ON= -DUSE_CROSSFADE:BOOL=TRUE |
230 |
CROSSFADE_CMAKE_ON= -DUSE_CROSSFADE:BOOL=TRUE |
Lines 313-318
Link Here
|
313 |
QMMP_DIALOG_CMAKE_ON= -DUSE_QMMP_DIALOG:BOOL=TRUE |
321 |
QMMP_DIALOG_CMAKE_ON= -DUSE_QMMP_DIALOG:BOOL=TRUE |
314 |
QMMP_DIALOG_CMAKE_OFF= -DUSE_QMMP_DIALOG:BOOL=FALSE |
322 |
QMMP_DIALOG_CMAKE_OFF= -DUSE_QMMP_DIALOG:BOOL=FALSE |
315 |
|
323 |
|
|
|
324 |
TWOPANELDIALOG_DESC= File dialog by two-panel selector |
325 |
TWOPANELDIALOG_CMAKE_ON= -DUSE_TWO_PANEL_DIALOG:BOOL=TRUE |
326 |
TWOPANELDIALOG_CMAKE_OFF= -DUSE_TWO_PANEL_DIALOG:BOOL=FALSE |
327 |
|
316 |
.include <bsd.port.options.mk> |
328 |
.include <bsd.port.options.mk> |
317 |
|
329 |
|
318 |
.if ${PORT_OPTIONS:MMPLAYER1} || ${PORT_OPTIONS:MMPLAYER2} |
330 |
.if ${PORT_OPTIONS:MMPLAYER1} || ${PORT_OPTIONS:MMPLAYER2} |
Lines 329-336
Link Here
|
329 |
PORTDOCS= README README.RUS AUTHORS |
341 |
PORTDOCS= README README.RUS AUTHORS |
330 |
INSTALLS_ICONS= yes |
342 |
INSTALLS_ICONS= yes |
331 |
|
343 |
|
332 |
CMAKE_ARGS+= -DUSE_FFMPEG_LEGACY:BOOL=FALSE \ |
344 |
CMAKE_ARGS+= -DUSE_FFMPEG_LEGACY:BOOL=FALSE |
333 |
-DCMAKE_REQUIRED_INCLUDES:PATH=${LOCALBASE}/include |
|
|
334 |
|
345 |
|
335 |
post-patch: |
346 |
post-patch: |
336 |
@${GREP} -L '${LOCALBASE}/lib/oss' \ |
347 |
@${GREP} -L '${LOCALBASE}/lib/oss' \ |