audio/pianobooster: Update 0.7.2b -> 1.0.0
Reported by: portscout
This commit is contained in:
parent
43b7be6113
commit
1b3c545d92
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558137
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= pianobooster
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.7.2b
|
||||
DISTVERSION= 1.0.0
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
@ -22,7 +22,8 @@ GH_PROJECT= PianoBooster
|
||||
USE_QT= core gui opengl widgets xml buildtools_build linguisttools_build qmake_build
|
||||
USE_GL= gl glu
|
||||
|
||||
CMAKE_ON= USE_SYSTEM_RTMIDI USE_JACK
|
||||
CMAKE_ON= USE_JACK
|
||||
CMAKE_OFF= USE_BUNDLED_RTMIDI
|
||||
CMAKE_ARGS= -DDATA_DIR:STRING=share/${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= FLUIDSYNTH
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1586862081
|
||||
SHA256 (captnfab-PianoBooster-v0.7.2b_GH0.tar.gz) = fe331f9bebafda31444fa415a6594a91f8283ba9c3cf18066684072081490633
|
||||
SIZE (captnfab-PianoBooster-v0.7.2b_GH0.tar.gz) = 2542590
|
||||
TIMESTAMP = 1608008248
|
||||
SHA256 (captnfab-PianoBooster-v1.0.0_GH0.tar.gz) = 1b58e9587c9bcc180d28c5a3701f0131bf8ac96edeaace7e32d8c8010e9ce1b6
|
||||
SIZE (captnfab-PianoBooster-v1.0.0_GH0.tar.gz) = 3096142
|
||||
|
@ -1,22 +0,0 @@
|
||||
--- src/MidiDevice.cpp.orig 2020-02-25 07:45:06 UTC
|
||||
+++ src/MidiDevice.cpp
|
||||
@@ -32,9 +32,9 @@
|
||||
#include "MidiDeviceFluidSynth.h"
|
||||
#endif
|
||||
|
||||
+#include <QDebug>
|
||||
|
||||
|
||||
-
|
||||
CMidiDevice::CMidiDevice()
|
||||
{
|
||||
m_rtMidiDevice = new CMidiDeviceRt();
|
||||
@@ -65,6 +65,8 @@ QStringList CMidiDevice::getMidiPortList(midiType_t ty
|
||||
QStringList list;
|
||||
#if EXPERIMENTAL_USE_FLUIDSYNTH
|
||||
list << m_fluidSynthMidiDevice->getMidiPortList(type);
|
||||
+ if (list.empty())
|
||||
+ qWarning() << "FluidSynth midi device didn't return any midi ports of midi type=" << type;
|
||||
#endif
|
||||
list << m_rtMidiDevice->getMidiPortList(type);
|
||||
|
@ -1,33 +0,0 @@
|
||||
--- src/MidiDeviceFluidSynth.cpp.orig 2019-07-09 08:30:16 UTC
|
||||
+++ src/MidiDeviceFluidSynth.cpp
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include <QString>
|
||||
#include <QDir>
|
||||
+#include <QDebug>
|
||||
#include <string>
|
||||
|
||||
CMidiDeviceFluidSynth::CMidiDeviceFluidSynth()
|
||||
@@ -54,7 +55,7 @@ void CMidiDeviceFluidSynth::init()
|
||||
|
||||
QStringList CMidiDeviceFluidSynth::getMidiPortList(midiType_t type)
|
||||
{
|
||||
-
|
||||
+ qInfo() << "YURI CMidiDeviceFluidSynth::getMidiPortList type=" << type << " MIDI_OUTPUT=" << MIDI_OUTPUT;
|
||||
if (type != MIDI_OUTPUT) // Only has an output
|
||||
return QStringList();
|
||||
|
||||
@@ -62,11 +63,13 @@ QStringList CMidiDeviceFluidSynth::getMidiPortList(mid
|
||||
QDir dirSoundFont("soundfont");
|
||||
dirSoundFont.setFilter(QDir::Files);
|
||||
QStringList fileNames = dirSoundFont.entryList();
|
||||
+ qInfo() << "YURI CMidiDeviceFluidSynth::getMidiPortList numFileNames=" << fileNames.size() << " in dir=" << dirSoundFont;
|
||||
|
||||
QStringList portNames;
|
||||
|
||||
for (int i = 0; i < fileNames.size(); i++)
|
||||
{
|
||||
+ qInfo() << "YURI CMidiDeviceFluidSynth::getMidiPortList file[" << i << "]=" << fileNames.at(i);
|
||||
if ( fileNames.at(i).endsWith(".sf2", Qt::CaseInsensitive ) )
|
||||
{
|
||||
portNames += fileNames.at(i);
|
@ -3,4 +3,4 @@ allows you to change the speed of playback and transpose the music etc.
|
||||
There is a scrolling musical stave that shows the notes for just one part
|
||||
from all the parts in the complete musical arrangement.
|
||||
|
||||
WWW: http://pianobooster.sourceforge.net
|
||||
WWW: https://www.pianobooster.org/index.html
|
||||
|
@ -6,8 +6,6 @@ share/icons/hicolor/64x64/apps/pianobooster.png
|
||||
%%DATADIR%%/fonts/DejaVuSans.ttf
|
||||
%%DATADIR%%/music/BoosterMusicBooks.zip
|
||||
%%DATADIR%%/translations/langs.json
|
||||
%%DATADIR%%/translations/music_ru.qm
|
||||
%%DATADIR%%/translations/music_uk.qm
|
||||
%%DATADIR%%/translations/pianobooster_ca.qm
|
||||
%%DATADIR%%/translations/pianobooster_cs.qm
|
||||
%%DATADIR%%/translations/pianobooster_da.qm
|
||||
|
Loading…
Reference in New Issue
Block a user