summaryrefslogtreecommitdiff
path: root/multimedia/qmmp
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2016-06-25 19:31:25 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2016-06-25 19:31:25 +0000
commiteac6e5fda1e66a40fb498b21a09a508df4719304 (patch)
tree1452323233ec53bfb4b3406e81106f74e51a4525 /multimedia/qmmp
parent- Add patch, after revision r417478 (update of audio/wildmidi), due to (diff)
- Update to 0.10.0
- Remove SRCONV option - Add 3 new options: TWOPANEDIALOG, QTMULTIMEDIA and SOXR Changes: https://sourceforge.net/p/qmmp-dev/code/HEAD/tree/branches/qmmp-0.10/ChangeLog PR: 210523 Submitted by: SimaMoto,RyoTa <liangtai.s16@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=417480
Diffstat (limited to 'multimedia/qmmp')
-rw-r--r--multimedia/qmmp/Makefile39
-rw-r--r--multimedia/qmmp/distinfo6
-rw-r--r--multimedia/qmmp/pkg-descr6
-rw-r--r--multimedia/qmmp/pkg-plist5
4 files changed, 34 insertions, 22 deletions
diff --git a/multimedia/qmmp/Makefile b/multimedia/qmmp/Makefile
index 3af52a322fe6..6348cf9569db 100644
--- a/multimedia/qmmp/Makefile
+++ b/multimedia/qmmp/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= qmmp
-PORTVERSION= 0.9.10
+PORTVERSION= 0.10.0
CATEGORIES= multimedia
MASTER_SITES= http://qmmp.ylsoftware.com/files/ \
SF/qmmp-dev/${PORTNAME}/
@@ -26,7 +26,7 @@ OPTIONS_GROUP= DOCUMENTS PLUGIN_APPLICATION PLUGIN_FORMATS \
PLUGIN_APPLICATION_DESC= Main program view
OPTIONS_GROUP_PLUGIN_APPLICATION= GNOMEHOTKEY HOTKEY KDENOTIFY \
- NOTIFIER QMMP_DIALOG QSUI SKINNEDUI STATICON
+ NOTIFIER QMMP_DIALOG QSUI SKINNEDUI STATICON TWOPANELDIALOG
DOCUMENTS_DESC= Documentation and API Reference
OPTIONS_GROUP_DOCUMENTS= DOCS DOXYGEN
@@ -36,13 +36,14 @@ OPTIONS_GROUP_PLUGIN_FORMATS= CDDA FAAD FFMPEG FLAC GME MAD MODPLUG \
MUSEPACK OPUS SNDFILE VORBIS WAVPACK WILDMIDI
PLUGIN_DSP_EFFECTS_DESC= DSP effects
-OPTIONS_GROUP_PLUGIN_DSP_EFFECTS= BS2B CROSSFADE LADSPA SRCONV STEREO
+OPTIONS_GROUP_PLUGIN_DSP_EFFECTS= BS2B CROSSFADE LADSPA SOXR STEREO
PLUGIN_VISUAL_EFFECTS_DESC= Visual effects
OPTIONS_GROUP_PLUGIN_VISUAL_EFFECTS= ANALYZER PROJECTM
PLUGIN_OUTPUT_DESC= Output sound systems
-OPTIONS_GROUP_PLUGIN_OUTPUT= ALSA JACK NULLOUT OSS OSS4 PULSEAUDIO
+OPTIONS_GROUP_PLUGIN_OUTPUT= ALSA JACK NULLOUT OSS OSS4 \
+ PULSEAUDIO QTMULTIMEDIA
PLUGIN_PLAYLIST_DESC= Playlist operation
OPTIONS_GROUP_PLUGIN_PLAYLIST= COPYPASTE DIR_ASSOC FILEOPS HAL \
@@ -58,9 +59,9 @@ OPTIONS_DEFAULT= ALSA ANALYZER BS2B CDDA CONVERTER COPYPASTE COVER \
CROSSFADE CUE CURL DIR_ASSOC ENCA FAAD FFMPEG FILEOPS FLAC \
GNOMEHOTKEY GME HAL HOTKEY JACK KDENOTIFY LADSPA LYRICS MAD \
MMS MODPLUG MPRIS MPLAYER1 MUSEPACK NOTIFIER NULLOUT \
- OPUS OSS4 PROJECTM PULSEAUDIO QMMP_DIALOG QSUI RGSCAN \
- SB SCROBBLER SID SKINNEDUI SNDFILE SRCONV STATICON STEREO \
- TRACKCHANGE UDISKS2 VORBIS WAVPACK WILDMIDI
+ OPUS OSS4 PROJECTM PULSEAUDIO QMMP_DIALOG QSUI QTMULTIMEDIA \
+ RGSCAN SB SCROBBLER SID SKINNEDUI SNDFILE SOXR STATICON STEREO \
+ TRACKCHANGE TWOPANELDIALOG UDISKS2 VORBIS WAVPACK WILDMIDI
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
@@ -98,6 +99,11 @@ PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CMAKE_ON= -DUSE_PULSE:BOOL=TRUE
PULSEAUDIO_CMAKE_OFF= -DUSE_PULSE:BOOL=FALSE
+QTMULTIMEDIA_DESC= Support to use Qt low-level multimedia API
+QTMULTIMEDIA_USE= QT4=multimedia
+QTMULTIMEDIA_CMAKE_ON= -DUSE_QTMULTIMEDIA:BOOL=TRUE
+QTMULTIMEDIA_CMAKE_OFF= -DUSE_QTMULTIMEDIA:BOOL=FALSE
+
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac \
libtag.so:audio/taglib
FLAC_CMAKE_ON= -DUSE_FLAC:BOOL=TRUE
@@ -137,8 +143,8 @@ ENCA_LIB_DEPENDS= libenca.so:converters/enca
ENCA_CMAKE_ON= -DUSE_ENCA:BOOL=TRUE
ENCA_CMAKE_OFF= -DUSE_ENCA:BOOL=FALSE
-MPLAYER1_DESC= mplayer-1.1.x (multimedia/mplayer)
-MPLAYER2_DESC= mplayer-2.0.x (multimedia/mplayer2)
+MPLAYER1_DESC= mplayer-1.x (multimedia/mplayer)
+MPLAYER2_DESC= mplayer-2.x (multimedia/mplayer2)
MPLAYER1_RUN_DEPENDS= mplayer:multimedia/mplayer
MPLAYER2_RUN_DEPENDS= mplayer:multimedia/mplayer2
MPLAYER1_PREVENTS= MPLAYER2
@@ -213,10 +219,10 @@ NULLOUT_DESC= Support null output
NULLOUT_CMAKE_ON= -DUSE_NULL:BOOL=TRUE
NULLOUT_CMAKE_OFF= -DUSE_NULL:BOOL=FALSE
-SRCONV_DESC= Support the sample rate converter
-SRCONV_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate
-SRCONV_CMAKE_ON= -DUSE_SRC:BOOL=TRUE
-SRCONV_CMAKE_OFF= -DUSE_SRC:BOOL=FALSE
+SOXR_DESC= Support SoX Resampler
+SOXR_LIB_DEPENDS= libsoxr.so:audio/soxr
+SOXR_CMAKE_ON= -DUSE_SOXR:BOOL=TRUE
+SOXR_CMAKE_OFF= -DUSE_SOXR:BOOL=FALSE
CROSSFADE_DESC= Support cross-fade effect
CROSSFADE_CMAKE_ON= -DUSE_CROSSFADE:BOOL=TRUE
@@ -313,6 +319,10 @@ QMMP_DIALOG_DESC= An original dialog
QMMP_DIALOG_CMAKE_ON= -DUSE_QMMP_DIALOG:BOOL=TRUE
QMMP_DIALOG_CMAKE_OFF= -DUSE_QMMP_DIALOG:BOOL=FALSE
+TWOPANELDIALOG_DESC= File dialog by two-panel selector
+TWOPANELDIALOG_CMAKE_ON= -DUSE_TWO_PANEL_DIALOG:BOOL=TRUE
+TWOPANELDIALOG_CMAKE_OFF= -DUSE_TWO_PANEL_DIALOG:BOOL=FALSE
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMPLAYER1} || ${PORT_OPTIONS:MMPLAYER2}
@@ -329,8 +339,7 @@ PATHFIX_CMAKELISTSTXT= \\"CMakeLists.txt -exec grep -l /pkgconfig {} +\\"
PORTDOCS= README README.RUS AUTHORS
INSTALLS_ICONS= yes
-CMAKE_ARGS+= -DUSE_FFMPEG_LEGACY:BOOL=FALSE \
- -DCMAKE_REQUIRED_INCLUDES:PATH=${LOCALBASE}/include
+CMAKE_ARGS+= -DUSE_FFMPEG_LEGACY:BOOL=FALSE
post-patch:
@${GREP} -L '${LOCALBASE}/lib/oss' \
diff --git a/multimedia/qmmp/distinfo b/multimedia/qmmp/distinfo
index ad348b5e2349..3d6525af87c0 100644
--- a/multimedia/qmmp/distinfo
+++ b/multimedia/qmmp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1464687723
-SHA256 (qmmp-0.9.10.tar.bz2) = a93ca43b2407b917602a47b5728cd4d72d694069a3ea329572c01ff66845f7e1
-SIZE (qmmp-0.9.10.tar.bz2) = 1126355
+TIMESTAMP = 1466521084
+SHA256 (qmmp-0.10.0.tar.bz2) = b22ced5715d6778438054a97ef73326ac92a1bbca9686bfb923a00fe6c7128f4
+SIZE (qmmp-0.10.0.tar.bz2) = 1338447
diff --git a/multimedia/qmmp/pkg-descr b/multimedia/qmmp/pkg-descr
index 430fa5542183..49177f06d894 100644
--- a/multimedia/qmmp/pkg-descr
+++ b/multimedia/qmmp/pkg-descr
@@ -6,12 +6,12 @@ Supported formats:
PCM Wave (and other formats via libsndfile), and Chiptune formats
(AY, GBS, GYM, HES, KSS, NSF, NSFE, SAP, SPC, VGM, VGZ, VTX)
DSP effects:
- Bauer Stereophonic-to-Binaural effect, sample rate conversion,
- LADSPA effects, extra stereo effect, and crossfade effect
+ Effects of Bauer Stereophonic-to-Binaural, LADSPA,
+ extra stereo, and crossfade
Visual effects:
Spectrum Analyzer, and projectM audio visulaliser
Output system support:
- PulseAudio, OSS, OSS4, jack, and ALSA
+ PulseAudio, OSS, OSS4, ALSA, and Qt multimedia API
Other features:
multi-band equalizer, Last.fm/Libre.fm scrobbler, global hotkey,
streaming (MP3, Vorbis, AAC, AAC+ via IceCast/ShoutCast) and browser,
diff --git a/multimedia/qmmp/pkg-plist b/multimedia/qmmp/pkg-plist
index 467492aa9c74..5cd1a091d065 100644
--- a/multimedia/qmmp/pkg-plist
+++ b/multimedia/qmmp/pkg-plist
@@ -1,5 +1,6 @@
bin/qmmp
include/qmmp/abstractengine.h
+include/qmmp/audioconverter.h
include/qmmp/audioparameters.h
include/qmmp/buffer.h
include/qmmp/channelmap.h
@@ -60,11 +61,12 @@ lib/qmmp/CommandLineOptions/libseekoption.so
lib/qmmp/CommandLineOptions/libstatusoption.so
%%LADSPA%%lib/qmmp/Effect/libladspa.so
%%BS2B%%lib/qmmp/Effect/libbs2b.so
-%%SRCONV%%lib/qmmp/Effect/libsrconverter.so
+%%SOXR%%lib/qmmp/Effect/libsoxr.so
%%STEREO%%lib/qmmp/Effect/libstereo.so
%%CROSSFADE%%lib/qmmp/Effect/libcrossfade.so
%%MPLAYER%%lib/qmmp/Engines/libmplayer.so
%%QMMP_DIALOG%%lib/qmmp/FileDialogs/libqmmpfiledialog.so
+%%TWOPANELDIALOG%%lib/qmmp/FileDialogs/libtwopanelfiledialog.so
%%CONVERTER%%lib/qmmp/General/libconverter.so
%%COPYPASTE%%lib/qmmp/General/libcopypaste.so
%%COVER%%lib/qmmp/General/libcovermanager.so
@@ -104,6 +106,7 @@ lib/qmmp/CommandLineOptions/libstatusoption.so
%%OSS%%lib/qmmp/Output/liboss.so
%%OSS4%%lib/qmmp/Output/liboss4.so
%%PULSEAUDIO%%lib/qmmp/Output/libpulseaudio.so
+%%QTMULTIMEDIA%%lib/qmmp/Output/libqtmultimedia.so
lib/qmmp/PlayListFormats/libm3uplaylistformat.so
lib/qmmp/PlayListFormats/libplsplaylistformat.so
lib/qmmp/PlayListFormats/libxspfplaylistformat.so