pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add qsynth.
Module Name: pkgsrc-wip
Committed By: nia <nia%NetBSD.org@localhost>
Pushed By: nee
Date: Wed Oct 16 18:43:00 2019 +0100
Changeset: 85e5ecb06548190b4ee71ce3fc28524ed262fce8
Modified Files:
Makefile
Added Files:
qsynth/DESCR
qsynth/Makefile
qsynth/PLIST
qsynth/distinfo
qsynth/patches/patch-src_qsynthOptions.cpp
Log Message:
Add qsynth.
Qsynth is a fluidsynth GUI front-end application written in C++ around the
Qt framework using Qt Designer. Eventually it may evolve into a softsynth
management application allowing the user to control and manage a variety of
command line softsynth but for the moment it wraps the excellent FluidSynth.
FluidSynth is a command line software synthesiser based on the Soundfont
specification.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=85e5ecb06548190b4ee71ce3fc28524ed262fce8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
qsynth/DESCR | 6 ++++++
qsynth/Makefile | 21 +++++++++++++++++++++
qsynth/PLIST | 13 +++++++++++++
qsynth/distinfo | 7 +++++++
qsynth/patches/patch-src_qsynthOptions.cpp | 21 +++++++++++++++++++++
6 files changed, 69 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 6d60ef3371..059b0b658f 100644
--- a/Makefile
+++ b/Makefile
@@ -4238,6 +4238,7 @@ SUBDIR+= qrint
SUBDIR+= qrq
SUBDIR+= qrupdate
SUBDIR+= qstat214
+SUBDIR+= qsynth
SUBDIR+= qt4-gstreamer
SUBDIR+= qt4-libqtlua
SUBDIR+= qt5-libqtlua
diff --git a/qsynth/DESCR b/qsynth/DESCR
new file mode 100644
index 0000000000..5e7863dcda
--- /dev/null
+++ b/qsynth/DESCR
@@ -0,0 +1,6 @@
+Qsynth is a fluidsynth GUI front-end application written in C++ around the
+Qt framework using Qt Designer. Eventually it may evolve into a softsynth
+management application allowing the user to control and manage a variety of
+command line softsynth but for the moment it wraps the excellent FluidSynth.
+FluidSynth is a command line software synthesiser based on the Soundfont
+specification.
diff --git a/qsynth/Makefile b/qsynth/Makefile
new file mode 100644
index 0000000000..4345bab7c7
--- /dev/null
+++ b/qsynth/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME= qsynth-0.5.7
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qsynth/}
+CATEGORIES= audio
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://qsynth.sourceforge.io/qsynth-index.html
+COMMENT= Fluidsynth GUI frontend
+LICENSE= gnu-gpl-v2
+
+TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qtbase
+
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+.include "../../audio/fluidsynth/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/qsynth/PLIST b/qsynth/PLIST
new file mode 100644
index 0000000000..117694638f
--- /dev/null
+++ b/qsynth/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD$
+bin/qsynth
+man/fr/man1/qsynth.1
+man/man1/qsynth.1
+share/applications/qsynth.desktop
+share/metainfo/qsynth.appdata.xml
+share/pixmaps/qsynth.png
+share/qsynth/translations/qsynth_cs.qm
+share/qsynth/translations/qsynth_de.qm
+share/qsynth/translations/qsynth_es.qm
+share/qsynth/translations/qsynth_fr.qm
+share/qsynth/translations/qsynth_ru.qm
+share/qsynth/translations/qsynth_sr.qm
diff --git a/qsynth/distinfo b/qsynth/distinfo
new file mode 100644
index 0000000000..c7f9b3bce8
--- /dev/null
+++ b/qsynth/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (qsynth-0.5.7.tar.gz) = f741da07c86d8d8dfdec9783384053bdc4251583
+RMD160 (qsynth-0.5.7.tar.gz) = feeebed368c7224d3c980db9efb0c30e9ab3ff75
+SHA512 (qsynth-0.5.7.tar.gz) = cf28b2e16a7951bdd1539f4fd7624b8216652ba2debb8b3ccf60daf5ad510fea75b598aef7ef7264bee9c1aabbbce5161ad13e2ec879c9568c76794bb00fd017
+Size (qsynth-0.5.7.tar.gz) = 315715 bytes
+SHA1 (patch-src_qsynthOptions.cpp) = 737c2877f99fbd31a5872257fdce4c5fb3e4b284
diff --git a/qsynth/patches/patch-src_qsynthOptions.cpp b/qsynth/patches/patch-src_qsynthOptions.cpp
new file mode 100644
index 0000000000..24fb2a7335
--- /dev/null
+++ b/qsynth/patches/patch-src_qsynthOptions.cpp
@@ -0,0 +1,21 @@
+$NetBSD$
+
+Use OSS as the default audio driver on non-Linux/macOS.
+
+--- src/qsynthOptions.cpp.orig 2019-07-12 10:35:23.877356128 +0000
++++ src/qsynthOptions.cpp
+@@ -487,9 +487,12 @@ void qsynthOptions::loadSetup ( qsynthSe
+ #elif defined(__WIN32__) || defined(_WIN32) || defined(WIN32)
+ pSetup->sMidiDriver = m_settings.value("/MidiDriver", "winmidi").toString();
+ pSetup->sAudioDriver = m_settings.value("/AudioDriver", "dsound").toString();
+-#else
++#elif defined(__linux__)
+ pSetup->sMidiDriver = m_settings.value("/MidiDriver", "alsa_seq").toString();
+- pSetup->sAudioDriver = m_settings.value("/AudioDriver", "jack").toString();
++ pSetup->sAudioDriver = m_settings.value("/AudioDriver", "alsa").toString();
++#else
++ pSetup->sMidiDriver = m_settings.value("/MidiDriver", "oss").toString();
++ pSetup->sAudioDriver = m_settings.value("/AudioDriver", "oss").toString();
+ #endif
+ #if defined(__WIN32__) || defined(_WIN32) || defined(WIN32)
+ pSetup->iAudioBufSize = m_settings.value("/AudioBufSize", 512).toInt();
Home |
Main Index |
Thread Index |
Old Index