pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Oct  1 12:43:05 UTC 2019

Modified Files:
        pkgsrc/audio: Makefile
Added Files:
        pkgsrc/audio/qmmp: DESCR Makefile PLIST distinfo options.mk
        pkgsrc/audio/qmmp/patches:
            patch-src_plugins_Ui_skinned_symboldisplay.cpp

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.566 -r1.567 pkgsrc/audio/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/qmmp/DESCR pkgsrc/audio/qmmp/Makefile \
    pkgsrc/audio/qmmp/PLIST pkgsrc/audio/qmmp/distinfo \
    pkgsrc/audio/qmmp/options.mk
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/qmmp/patches/patch-src_plugins_Ui_skinned_symboldisplay.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/Makefile
diff -u pkgsrc/audio/Makefile:1.566 pkgsrc/audio/Makefile:1.567
--- pkgsrc/audio/Makefile:1.566 Tue Oct  1 12:42:12 2019
+++ pkgsrc/audio/Makefile       Tue Oct  1 12:43:04 2019
@@ -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-mutagen
 SUBDIR+=       py-ogg
 SUBDIR+=       py-vorbis
 SUBDIR+=       qjackctl
+SUBDIR+=       qmmp
 SUBDIR+=       qsynth
 SUBDIR+=       qtplay
 SUBDIR+=       quodlibet

Added files:

Index: pkgsrc/audio/qmmp/DESCR
diff -u /dev/null pkgsrc/audio/qmmp/DESCR:1.1
--- /dev/null   Tue Oct  1 12:43:05 2019
+++ pkgsrc/audio/qmmp/DESCR     Tue Oct  1 12:43:04 2019
@@ -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.
Index: pkgsrc/audio/qmmp/Makefile
diff -u /dev/null pkgsrc/audio/qmmp/Makefile:1.1
--- /dev/null   Tue Oct  1 12:43:05 2019
+++ pkgsrc/audio/qmmp/Makefile  Tue Oct  1 12:43:04 2019
@@ -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"
Index: pkgsrc/audio/qmmp/PLIST
diff -u /dev/null pkgsrc/audio/qmmp/PLIST:1.1
--- /dev/null   Tue Oct  1 12:43:05 2019
+++ pkgsrc/audio/qmmp/PLIST     Tue Oct  1 12:43:04 2019
@@ -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
Index: pkgsrc/audio/qmmp/distinfo
diff -u /dev/null pkgsrc/audio/qmmp/distinfo:1.1
--- /dev/null   Tue Oct  1 12:43:05 2019
+++ pkgsrc/audio/qmmp/distinfo  Tue Oct  1 12:43:04 2019
@@ -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
Index: pkgsrc/audio/qmmp/options.mk
diff -u /dev/null pkgsrc/audio/qmmp/options.mk:1.1
--- /dev/null   Tue Oct  1 12:43:05 2019
+++ pkgsrc/audio/qmmp/options.mk        Tue Oct  1 12:43:04 2019
@@ -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

Index: pkgsrc/audio/qmmp/patches/patch-src_plugins_Ui_skinned_symboldisplay.cpp
diff -u /dev/null pkgsrc/audio/qmmp/patches/patch-src_plugins_Ui_skinned_symboldisplay.cpp:1.1
--- /dev/null   Tue Oct  1 12:43:05 2019
+++ pkgsrc/audio/qmmp/patches/patch-src_plugins_Ui_skinned_symboldisplay.cpp    Tue Oct  1 12:43:04 2019
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_plugins_Ui_skinned_symboldisplay.cpp,v 1.1 2019/10/01 12:43:04 nia Exp $
+
+Avoid GNUism.
+
+--- src/plugins/Ui/skinned/symboldisplay.cpp.orig      2019-08-27 19:32:14.000000000 +0000
++++ src/plugins/Ui/skinned/symboldisplay.cpp
+@@ -32,11 +32,7 @@ SymbolDisplay::SymbolDisplay (QWidget *p
+     connect (m_skin, SIGNAL (skinChanged()), this, SLOT (draw()));
+     draw();
+     for (int i=0; i<m_digits; ++i)
+-#if defined(Q_OS_FREEBSD) || defined(Q_OS_WIN) || defined (Q_OS_MAC)
+         m_max += 9 * (int) pow(10,i);
+-#else
+-        m_max += 9 * (int) exp10(i);
+-#endif
+ }
+ 
+ SymbolDisplay::~SymbolDisplay()



Home | Main Index | Thread Index | Old Index