qsynth: Update to 0.5.7 Should help the build with newer fluidsynth.diff -r1.51 -r1.52 pkgsrc/audio/qsynth/Makefile
(nia)
@@ -1,27 +1,19 @@ | @@ -1,27 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.51 2019/09/18 14:17:06 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.52 2019/10/17 08:20:43 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= qsynth-0.4.1 | 3 | DISTNAME= qsynth-0.5.7 | |
4 | PKGREVISION= 20 | |||
5 | CATEGORIES= audio | |||
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qsynth/} | 4 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qsynth/} | |
7 | EXTRACT_USING= bsdtar | 5 | CATEGORIES= audio | |
8 | 6 | |||
9 | MAINTAINER= adam@NetBSD.org | 7 | MAINTAINER= adam@NetBSD.org | |
10 | HOMEPAGE= http://qsynth.sourceforge.net/ | 8 | HOMEPAGE= https://qsynth.sourceforge.io/qsynth-index.html | |
11 | COMMENT= Qt GUI Interface to FluidSynth | 9 | COMMENT= Qt GUI Interface to FluidSynth | |
12 | LICENSE= gnu-gpl-v2 | 10 | LICENSE= gnu-gpl-v2 | |
13 | 11 | |||
14 | USE_LANGUAGES= c c++ | 12 | USE_CMAKE= yes | |
15 | USE_LIBTOOL= yes | 13 | USE_TOOLS+= pkg-config | |
16 | USE_TOOLS+= gmake | 14 | USE_LANGUAGES= c c++ | |
17 | GNU_CONFIGURE= yes | |||
18 | ||||
19 | PTHREAD_AUTO_VARS= yes | |||
20 | ||||
21 | .include "options.mk" | |||
22 | 15 | |||
23 | .include "../../audio/fluidsynth/buildlink3.mk" | 16 | .include "../../audio/fluidsynth/buildlink3.mk" | |
24 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |||
25 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 17 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
26 | .include "../../mk/pthread.buildlink3.mk" | 18 | .include "../../x11/qt5-qtbase/buildlink3.mk" | |
27 | .include "../../mk/bsd.pkg.mk" | 19 | .include "../../mk/bsd.pkg.mk" |
@@ -1,11 +1,13 @@ | @@ -1,11 +1,13 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2016/04/23 12:32:47 nros Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2019/10/17 08:20:43 nia Exp $ | |
2 | bin/qsynth | 2 | bin/qsynth | |
3 | man/fr/man1/qsynth.1 | |||
3 | man/man1/qsynth.1 | 4 | man/man1/qsynth.1 | |
4 | share/appdata/qsynth.appdata.xml | |||
5 | share/applications/qsynth.desktop | 5 | share/applications/qsynth.desktop | |
6 | share/icons/hicolor/32x32/apps/qsynth.png | 6 | share/metainfo/qsynth.appdata.xml | |
7 | share/pixmaps/qsynth.png | |||
7 | share/qsynth/translations/qsynth_cs.qm | 8 | share/qsynth/translations/qsynth_cs.qm | |
8 | share/qsynth/translations/qsynth_de.qm | 9 | share/qsynth/translations/qsynth_de.qm | |
10 | share/qsynth/translations/qsynth_es.qm | |||
9 | share/qsynth/translations/qsynth_fr.qm | 11 | share/qsynth/translations/qsynth_fr.qm | |
10 | share/qsynth/translations/qsynth_ru.qm | 12 | share/qsynth/translations/qsynth_ru.qm | |
11 | share/qsynth/translations/qsynth_sr.qm | 13 | share/qsynth/translations/qsynth_sr.qm |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2016/07/09 11:46:04 rillig Exp $ | 1 | $NetBSD: distinfo,v 1.5 2019/10/17 08:20:43 nia Exp $ | |
2 | 2 | |||
3 | SHA1 (qsynth-0.4.1.tar.gz) = 7b394dab4182136cdd9dd6e314b9976582f0113c | 3 | SHA1 (qsynth-0.5.7.tar.gz) = f741da07c86d8d8dfdec9783384053bdc4251583 | |
4 | RMD160 (qsynth-0.4.1.tar.gz) = ac79db014c9282fc8735b1c8cb270f7b762d1f45 | 4 | RMD160 (qsynth-0.5.7.tar.gz) = feeebed368c7224d3c980db9efb0c30e9ab3ff75 | |
5 | SHA512 (qsynth-0.4.1.tar.gz) = 0a4e2dacc9116a9c52a50af39f0838a0c97d0e2f0ba75f8c3f07a219810299c5dd650ad7cd5ba337e497f83537b7cb94a181c9e3a5ba641febe1a0179d6c8620 | 5 | SHA512 (qsynth-0.5.7.tar.gz) = cf28b2e16a7951bdd1539f4fd7624b8216652ba2debb8b3ccf60daf5ad510fea75b598aef7ef7264bee9c1aabbbce5161ad13e2ec879c9568c76794bb00fd017 | |
6 | Size (qsynth-0.4.1.tar.gz) = 251821 bytes | 6 | Size (qsynth-0.5.7.tar.gz) = 315715 bytes | |
7 | SHA1 (patch-Makefile.in) = 6520871cdb3cb0e3e1004f051ee9e1cf45a3619b | 7 | SHA1 (patch-src_qsynthOptions.cpp) = 737c2877f99fbd31a5872257fdce4c5fb3e4b284 |
$NetBSD: patch-src_qsynthOptions.cpp,v 1.1 2019/10/17 08:20:43 nia Exp $
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();