pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio Add audio/qmmp.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f2314959276
branches:  trunk
changeset: 340287:3f2314959276
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Oct 01 12:43:04 2019 +0000

description:
Add audio/qmmp.

qmmp is an audio player. The default user interface is similar to Winamp/XMMP.
An alternative user interface based on a standard widget set is also available.

diffstat:

 audio/Makefile                                                    |    3 +-
 audio/qmmp/DESCR                                                  |    2 +
 audio/qmmp/Makefile                                               |   61 ++++
 audio/qmmp/PLIST                                                  |  134 ++++++++++
 audio/qmmp/distinfo                                               |    7 +
 audio/qmmp/options.mk                                             |   57 ++++
 audio/qmmp/patches/patch-src_plugins_Ui_skinned_symboldisplay.cpp |   18 +
 7 files changed, 281 insertions(+), 1 deletions(-)

diffs (truncated from 320 to 300 lines):

diff -r b1c38bde5a4d -r 3f2314959276 audio/Makefile
--- a/audio/Makefile    Tue Oct 01 12:42:12 2019 +0000
+++ b/audio/Makefile    Tue Oct 01 12:43:04 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.566 2019/10/01 12:42:12 nia Exp $
+# $NetBSD: Makefile,v 1.567 2019/10/01 12:43:04 nia Exp $
 #
 
 COMMENT=       Audio tools
@@ -406,6 +406,7 @@
 SUBDIR+=       py-ogg
 SUBDIR+=       py-vorbis
 SUBDIR+=       qjackctl
+SUBDIR+=       qmmp
 SUBDIR+=       qsynth
 SUBDIR+=       qtplay
 SUBDIR+=       quodlibet
diff -r b1c38bde5a4d -r 3f2314959276 audio/qmmp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/qmmp/DESCR  Tue Oct 01 12:43:04 2019 +0000
@@ -0,0 +1,2 @@
+qmmp is an audio player. The default user interface is similar to Winamp/XMMP.
+An alternative user interface based on a standard widget set is also available.
diff -r b1c38bde5a4d -r 3f2314959276 audio/qmmp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/qmmp/Makefile       Tue Oct 01 12:43:04 2019 +0000
@@ -0,0 +1,61 @@
+# $NetBSD: Makefile,v 1.1 2019/10/01 12:43:04 nia Exp $
+
+DISTNAME=      qmmp-1.3.4
+CATEGORIES=    audio
+MASTER_SITES=  http://qmmp.ylsoftware.com/files/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://qmmp.ylsoftware.com/
+COMMENT=       Audio player similar to Winamp using Qt
+LICENSE=       gnu-gpl-v2
+
+USE_CMAKE=     yes
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++
+
+TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
+
+# using mpg123 instead, it's better maintained
+CMAKE_ARGS+=   -DUSE_MAD=OFF
+
+# ??? seems to break playing some files
+CMAKE_ARGS+=   -DUSE_MPLAYER=OFF
+
+# XXX broken volume control
+CMAKE_ARGS+=   -DUSE_OSS=OFF
+CMAKE_ARGS+=   -DUSE_OSS4=OFF
+
+.include "../../mk/oss.buildlink3.mk"
+
+.if ${OSS_TYPE} != "none"
+SUBST_CLASSES+=                oss
+SUBST_STAGE.oss=       pre-build
+SUBST_MESSAGE.oss=     Correcting the path to OSS device.
+SUBST_FILES.oss+=      src/plugins/Output/oss/outputoss.cpp
+SUBST_FILES.oss+=      src/plugins/Output/oss/settingsdialog.cpp
+SUBST_FILES.oss+=      src/plugins/Output/oss4/outputoss4.h
+SUBST_SED.oss+=                -e "s,/dev/dsp,${DEVOSSAUDIO},g"
+SUBST_VARS.oss+=       LIBOSSAUDIO
+.endif
+
+.include "options.mk"
+.include "../../audio/flac/buildlink3.mk"
+.include "../../audio/game-music-emu/buildlink3.mk"
+.include "../../audio/libopus/buildlink3.mk"
+.include "../../audio/libmodplug/buildlink3.mk"
+.include "../../audio/libshout/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../audio/libsoxr/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/libwildmidi/buildlink3.mk"
+.include "../../audio/mpg123/buildlink3.mk"
+.include "../../audio/opusfile/buildlink3.mk"
+.include "../../audio/taglib/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
+.include "../../x11/qt5-qtx11extras/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b1c38bde5a4d -r 3f2314959276 audio/qmmp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/qmmp/PLIST  Tue Oct 01 12:43:04 2019 +0000
@@ -0,0 +1,134 @@
+@comment $NetBSD: PLIST,v 1.1 2019/10/01 12:43:04 nia Exp $
+bin/qmmp
+include/qmmp/abstractengine.h
+include/qmmp/audioconverter.h
+include/qmmp/audioparameters.h
+include/qmmp/buffer.h
+include/qmmp/channelmap.h
+include/qmmp/decoder.h
+include/qmmp/decoderfactory.h
+include/qmmp/effect.h
+include/qmmp/effectfactory.h
+include/qmmp/enginefactory.h
+include/qmmp/eqsettings.h
+include/qmmp/inputsource.h
+include/qmmp/inputsourcefactory.h
+include/qmmp/metadatamanager.h
+include/qmmp/metadatamodel.h
+include/qmmp/output.h
+include/qmmp/outputfactory.h
+include/qmmp/qmmp.h
+include/qmmp/qmmp_export.h
+include/qmmp/qmmpsettings.h
+include/qmmp/soundcore.h
+include/qmmp/statehandler.h
+include/qmmp/tagmodel.h
+include/qmmp/trackinfo.h
+include/qmmp/visual.h
+include/qmmp/visualfactory.h
+include/qmmp/volume.h
+include/qmmpui/commandlinehandler.h
+include/qmmpui/commandlinemanager.h
+include/qmmpui/configdialog.h
+include/qmmpui/detailsdialog.h
+include/qmmpui/filedialog.h
+include/qmmpui/filedialogfactory.h
+include/qmmpui/general.h
+include/qmmpui/generalfactory.h
+include/qmmpui/mediaplayer.h
+include/qmmpui/metadataformatter.h
+include/qmmpui/metadataformattermenu.h
+include/qmmpui/playlistdownloader.h
+include/qmmpui/playlistformat.h
+include/qmmpui/playlistgroup.h
+include/qmmpui/playlistheadermodel.h
+include/qmmpui/playlistitem.h
+include/qmmpui/playlistmanager.h
+include/qmmpui/playlistmodel.h
+include/qmmpui/playlistparser.h
+include/qmmpui/playlisttrack.h
+include/qmmpui/qmmpui_export.h
+include/qmmpui/qmmpuisettings.h
+include/qmmpui/templateeditor.h
+include/qmmpui/uifactory.h
+include/qmmpui/uihelper.h
+include/qmmpui/uiloader.h
+lib/libqmmp.so
+lib/libqmmp.so.1
+lib/libqmmp.so.${PKGVERSION}
+lib/libqmmpui.so
+lib/libqmmpui.so.1
+lib/libqmmpui.so.${PKGVERSION}
+lib/pkgconfig/qmmp.pc
+lib/pkgconfig/qmmpui.pc
+lib/qmmp-1.3/CommandLineOptions/libincdecvolumeoption.so
+lib/qmmp-1.3/CommandLineOptions/libplaylistoption.so
+lib/qmmp-1.3/CommandLineOptions/libseekoption.so
+lib/qmmp-1.3/CommandLineOptions/libstatusoption.so
+lib/qmmp-1.3/Effect/libcrossfade.so
+lib/qmmp-1.3/Effect/libfilewriter.so
+lib/qmmp-1.3/Effect/libladspa.so
+lib/qmmp-1.3/Effect/libmonotostereo.so
+lib/qmmp-1.3/Effect/libsoxr.so
+lib/qmmp-1.3/Effect/libstereo.so
+lib/qmmp-1.3/FileDialogs/libqmmpfiledialog.so
+lib/qmmp-1.3/FileDialogs/libtwopanelfiledialog.so
+lib/qmmp-1.3/General/libconverter.so
+lib/qmmp-1.3/General/libcopypaste.so
+lib/qmmp-1.3/General/libcovermanager.so
+lib/qmmp-1.3/General/libfileops.so
+lib/qmmp-1.3/General/libgnomehotkey.so
+lib/qmmp-1.3/General/libhal.so
+lib/qmmp-1.3/General/libhistory.so
+lib/qmmp-1.3/General/libhotkey.so
+lib/qmmp-1.3/General/libkdenotify.so
+lib/qmmp-1.3/General/liblyrics.so
+lib/qmmp-1.3/General/libmpris.so
+lib/qmmp-1.3/General/libnotifier.so
+lib/qmmp-1.3/General/librgscan.so
+lib/qmmp-1.3/General/libscrobbler.so
+lib/qmmp-1.3/General/libstatusicon.so
+lib/qmmp-1.3/General/libstreambrowser.so
+lib/qmmp-1.3/General/libtrackchange.so
+lib/qmmp-1.3/General/libudisks2.so
+lib/qmmp-1.3/Input/libcue.so
+${PLIST.ffmpeg}lib/qmmp-1.3/Input/libffmpeg.so
+lib/qmmp-1.3/Input/libflac.so
+lib/qmmp-1.3/Input/libgme.so
+lib/qmmp-1.3/Input/libmodplug.so
+${PLIST.mpc}lib/qmmp-1.3/Input/libmpc.so
+lib/qmmp-1.3/Input/libmpeg.so
+lib/qmmp-1.3/Input/libopus.so
+lib/qmmp-1.3/Input/libsndfile.so
+lib/qmmp-1.3/Input/libvorbis.so
+${PLIST.wv}lib/qmmp-1.3/Input/libwavpack.so
+lib/qmmp-1.3/Input/libwildmidi.so
+${PLIST.alsa}lib/qmmp-1.3/Output/libalsa.so
+${PLIST.jack}lib/qmmp-1.3/Output/libjack.so
+lib/qmmp-1.3/Output/libnull.so
+${PLIST.pulse}lib/qmmp-1.3/Output/libpulseaudio.so
+lib/qmmp-1.3/Output/libqtmultimedia.so
+lib/qmmp-1.3/Output/libshout.so
+lib/qmmp-1.3/PlayListFormats/libm3uplaylistformat.so
+lib/qmmp-1.3/PlayListFormats/libplsplaylistformat.so
+lib/qmmp-1.3/PlayListFormats/libxspfplaylistformat.so
+lib/qmmp-1.3/Transports/libhttp.so
+lib/qmmp-1.3/Ui/libqsui.so
+lib/qmmp-1.3/Ui/libskinned.so
+lib/qmmp-1.3/Visual/libanalyzer.so
+share/applications/qmmp-dir.desktop
+share/applications/qmmp-enqueue.desktop
+share/applications/qmmp.desktop
+share/icons/hicolor/128x128/apps/qmmp.png
+share/icons/hicolor/16x16/apps/qmmp.png
+share/icons/hicolor/256x256/apps/qmmp.png
+share/icons/hicolor/32x32/apps/qmmp.png
+share/icons/hicolor/48x48/apps/qmmp.png
+share/icons/hicolor/56x56/apps/qmmp.png
+share/icons/hicolor/64x64/apps/qmmp.png
+share/icons/hicolor/scalable/apps/qmmp-simple.svgz
+share/icons/hicolor/scalable/apps/qmmp.svgz
+share/metainfo/qmmp.appdata.xml
+share/qmmp/images/app_icon.png
+share/qmmp/images/empty_cover.png
+share/qmmp/scripts/kwin.sh
diff -r b1c38bde5a4d -r 3f2314959276 audio/qmmp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/qmmp/distinfo       Tue Oct 01 12:43:04 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/10/01 12:43:04 nia Exp $
+
+SHA1 (qmmp-1.3.4.tar.bz2) = 791860fc8a318cad9af307ca95ccb795686612b5
+RMD160 (qmmp-1.3.4.tar.bz2) = 6feca04c6d7547baaf4386ed73ceea5bd1b67f67
+SHA512 (qmmp-1.3.4.tar.bz2) = 520a7b50a3e0bd17418bd3137a4e73a52f644ad38d7fe86647a8781ed3036cdbbd14d5311b9471443f8a2cb42422b5fa11e22acee72ff5b670a7508b55364bb5
+Size (qmmp-1.3.4.tar.bz2) = 1246048 bytes
+SHA1 (patch-src_plugins_Ui_skinned_symboldisplay.cpp) = d172068a4215c6dafb5b5c921bfabe71060be16f
diff -r b1c38bde5a4d -r 3f2314959276 audio/qmmp/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/qmmp/options.mk     Tue Oct 01 12:43:04 2019 +0000
@@ -0,0 +1,57 @@
+# $NetBSD: options.mk,v 1.1 2019/10/01 12:43:04 nia Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.qmmp
+PKG_SUPPORTED_OPTIONS+=                alsa jack pulseaudio
+PKG_SUPPORTED_OPTIONS+=                ffmpeg musepack wavpack
+PKG_SUGGESTED_OPTIONS+=                ffmpeg
+PKG_SUGGESTED_OPTIONS.Linux+=  alsa
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   alsa
+.if !empty(PKG_OPTIONS:Malsa)
+PLIST.alsa=    yes
+.  include "../../audio/alsa-lib/buildlink3.mk"
+.else
+CMAKE_ARGS+=   -DUSE_ALSA=OFF
+.endif
+
+PLIST_VARS+=   pulse
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+PLIST.pulse=   yes
+.  include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CMAKE_ARGS+=   -DUSE_PULSE=OFF
+.endif
+
+PLIST_VARS+=   jack
+.if !empty(PKG_OPTIONS:Mjack)
+PLIST.jack=    yes
+.  include "../../audio/jack/buildlink3.mk"
+.else
+CMAKE_ARGS+=   -DUSE_JACK=OFF
+.endif
+
+PLIST_VARS+=   ffmpeg
+.if !empty(PKG_OPTIONS:Mffmpeg)
+PLIST.ffmpeg=  yes
+.  include "../../multimedia/ffmpeg4/buildlink3.mk"
+.else
+CMAKE_ARGS+=   -DUSE_FFMPEG=OFF
+.endif
+
+PLIST_VARS+=   mpc
+.if !empty(PKG_OPTIONS:Mmusepack)
+PLIST.mpc=     yes
+.  include "../../audio/musepack/buildlink3.mk"
+.else
+CMAKE_ARGS+=   -DUSE_MPC=OFF
+.endif
+
+PLIST_VARS+=   wv
+.if !empty(PKG_OPTIONS:Mwavpack)
+PLIST.wv=      yes
+.  include "../../audio/wavpack/buildlink3.mk"
+.else
+CMAKE_ARGS+=   -DUSE_WAVPACK=OFF
+.endif
diff -r b1c38bde5a4d -r 3f2314959276 audio/qmmp/patches/patch-src_plugins_Ui_skinned_symboldisplay.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000



Home | Main Index | Thread Index | Old Index