pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/hydrogen hydrogen: Update to 1.0.0-beta1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb746b06e653
branches:  trunk
changeset: 342876:bb746b06e653
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Oct 26 21:24:34 2019 +0000

description:
hydrogen: Update to 1.0.0-beta1

Switch to qt5.

"please ship it if it works" - kamil

diffstat:

 audio/hydrogen/Makefile                              |   58 +--
 audio/hydrogen/PLIST                                 |  322 +++++-------------
 audio/hydrogen/distinfo                              |   13 +-
 audio/hydrogen/options.mk                            |   43 ++
 audio/hydrogen/patches/patch-CMakeLists.txt          |   99 +++++-
 audio/hydrogen/patches/patch-src_core_src_logger.cpp |   16 -
 6 files changed, 262 insertions(+), 289 deletions(-)

diffs (truncated from 698 to 300 lines):

diff -r 2feaf8928440 -r bb746b06e653 audio/hydrogen/Makefile
--- a/audio/hydrogen/Makefile   Sat Oct 26 17:59:37 2019 +0000
+++ b/audio/hydrogen/Makefile   Sat Oct 26 21:24:34 2019 +0000
@@ -1,59 +1,47 @@
-# $NetBSD: Makefile,v 1.55 2018/03/12 11:16:03 wiz Exp $
+# $NetBSD: Makefile,v 1.56 2019/10/26 21:24:34 nia Exp $
 
-DISTNAME=      Hydrogen-0.9.7
-PKGNAME=       ${DISTNAME:tl}
-PKGREVISION=   1
+DISTNAME=      Hydrogen-1.0.0-beta1
+PKGNAME=       ${DISTNAME:tl:C/-beta/.beta/}
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=hydrogen-music/}
 GITHUB_PROJECT=        Hydrogen
-GITHUB_TAG=    ${PKGVERSION_NOREV}
+GITHUB_TAG=    ${PKGVERSION_NOREV:C/.beta/-beta/}
 
 MAINTAINER=    mrg%eterna.com.au@localhost
-HOMEPAGE=      http://www.hydrogen-music.org/
+HOMEPAGE=      http://hydrogen-music.org/
 COMMENT=       Real time drum machine/sequencer
 LICENSE=       gnu-gpl-v2
 
-WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
+WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV:C/.beta/-beta/}
 
-USE_LANGUAGES= c c++
-USE_LIBTOOL=   yes
+USE_LANGUAGES= c gnu++11
+USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
 
-MAKE_ENV+=     QTDIR=${PREFIX}/qt4 PATH=$$PATH:${PREFIX}/qt4/bin
-#CONFIGURE_ENV+=       LADSPA_PATH=${BUILDLINK_PREFIX.ladspa}/lib/ladspa
+# C++11
+GCC_REQD+=     4.7
 
-USE_CMAKE=     yes
+.include "../../mk/oss.buildlink3.mk"
+.if ${OSS_TYPE} != "none"
 CMAKE_ARGS+=   -DWANT_OSS=ON
-CMAKE_ARGS+=   -DWANT_JACK=OFF
-CMAKE_ARGS+=   -DWANT_LRDF=OFF
-# options.mk this, and ladspa.
-CMAKE_ARGS+=   -DWANT_PULSEAUDIO=OFF
+.else
+CMAKE_ARGS+=   -DWANT_OSS=OFF
+.endif
+
+CMAKE_ARGS+=   -DWANT_CPPUNIT=OFF
+
 # NetBSD libarchive is old?
 CMAKE_ARGS+=   -DWANT_LIBARCHIVE=OFF
 CMAKE_ARGS+=   -DWANT_LIBTAR=ON
-CMAKE_ARGS+=   -DPKGMANDIR=${PKGMANDIR}
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "Linux"
-CMAKE_ARGS+=   -DWANT_ALSA=ON
-.else
-CMAKE_ARGS+=   -DWANT_ALSA=OFF
-.endif
 
 LDFLAGS.SunOS+=        -lsocket -lnsl
 
+.include "options.mk"
 .include "../../devel/libtar/buildlink3.mk"
-.if ${OPSYS} == "Linux"
-.  include "../../audio/alsa-lib/buildlink3.mk"
-.endif
 .include "../../audio/libsndfile/buildlink3.mk"
-#.include "../../audio/ladspa/buildlink3.mk"
-.include "../../devel/cppunit/buildlink3.mk"
+.include "../../audio/liblo/buildlink3.mk"
+.include "../../audio/ladspa/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../x11/libSM/buildlink3.mk"
-.include "../../x11/libXext/buildlink3.mk"
-.include "../../x11/libXt/buildlink3.mk"
-.include "../../x11/qt4-libs/buildlink3.mk"
-.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtxmlpatterns/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2feaf8928440 -r bb746b06e653 audio/hydrogen/PLIST
--- a/audio/hydrogen/PLIST      Sat Oct 26 17:59:37 2019 +0000
+++ b/audio/hydrogen/PLIST      Sat Oct 26 21:24:34 2019 +0000
@@ -1,7 +1,6 @@
-@comment $NetBSD: PLIST,v 1.9 2016/11/30 12:34:20 wiz Exp $
+@comment $NetBSD: PLIST,v 1.10 2019/10/26 21:24:34 nia Exp $
 bin/h2cli
 bin/h2player
-bin/h2synth
 bin/hydrogen
 include/hydrogen/IO/AlsaAudioDriver.h
 include/hydrogen/IO/AlsaMidiDriver.h
@@ -10,8 +9,8 @@
 include/hydrogen/IO/CoreMidiDriver.h
 include/hydrogen/IO/DiskWriterDriver.h
 include/hydrogen/IO/FakeDriver.h
+include/hydrogen/IO/JackAudioDriver.h
 include/hydrogen/IO/JackMidiDriver.h
-include/hydrogen/IO/JackOutput.h
 include/hydrogen/IO/MidiCommon.h
 include/hydrogen/IO/MidiInput.h
 include/hydrogen/IO/MidiOutput.h
@@ -25,7 +24,9 @@
 include/hydrogen/LocalFileMng.h
 include/hydrogen/Preferences.h
 include/hydrogen/audio_engine.h
+include/hydrogen/automation_path_serializer.h
 include/hydrogen/basics/adsr.h
+include/hydrogen/basics/automation_path.h
 include/hydrogen/basics/drumkit.h
 include/hydrogen/basics/drumkit_component.h
 include/hydrogen/basics/instrument.h
@@ -38,6 +39,7 @@
 include/hydrogen/basics/sample.h
 include/hydrogen/basics/song.h
 include/hydrogen/config.h
+include/hydrogen/core_action_controller.h
 include/hydrogen/event_queue.h
 include/hydrogen/fx/Effects.h
 include/hydrogen/fx/LadspaFX.h
@@ -55,6 +57,7 @@
 include/hydrogen/nsm.h
 include/hydrogen/nsm_client.h
 include/hydrogen/object.h
+include/hydrogen/osc_server.h
 include/hydrogen/playlist.h
 include/hydrogen/rt_clock.h
 include/hydrogen/sampler/Sampler.h
@@ -64,7 +67,7 @@
 include/hydrogen/timehelper.h
 include/hydrogen/timeline.h
 include/hydrogen/version.h
-lib/libhydrogen-core-${PKGVERSION}.so
+lib/libhydrogen-core-1.0.0.so
 man/man1/hydrogen.1
 share/appdata/hydrogen.appdata.xml
 share/applications/hydrogen.desktop
@@ -77,224 +80,83 @@
 share/hydrogen/data/demo_songs/GM_kit_demo3.h2song
 share/hydrogen/data/demo_songs/TR808kit-demo.h2song
 share/hydrogen/data/demo_songs/tutorial_georgyporgy.h2song
-share/hydrogen/data/doc/Makefile
-share/hydrogen/data/doc/MidiInstrumentMapping.ods
-share/hydrogen/data/doc/README.DOCUMENTATION.txt
-share/hydrogen/data/doc/TODO
-share/hydrogen/data/doc/img/AudioEngineInfoDialog.png
-share/hydrogen/data/doc/img/CreateNewPattern.png
-share/hydrogen/data/doc/img/Downloading_SoundLibrary.png
-share/hydrogen/data/doc/img/DrumkitExport.png
-share/hydrogen/data/doc/img/DrumkitImport.png
-share/hydrogen/data/doc/img/DrumkitLoad.png
-share/hydrogen/data/doc/img/DrumkitSave.png
-share/hydrogen/data/doc/img/Export_song.png
-share/hydrogen/data/doc/img/FX_send_knobs.png
-share/hydrogen/data/doc/img/GUI_Sections_0.9.5.png
-share/hydrogen/data/doc/img/GUI_Sections_0.9.5_v2.png
-share/hydrogen/data/doc/img/HearNewNotes.png
-share/hydrogen/data/doc/img/Hydrogen_0.9.5_gui.png
-share/hydrogen/data/doc/img/InstrumentMapping.png
-share/hydrogen/data/doc/img/Instrument_General.png
-share/hydrogen/data/doc/img/Instrument_Layers.png
-share/hydrogen/data/doc/img/JackTrans_Master.png
-share/hydrogen/data/doc/img/LADSPA_FX_Properties.png
-share/hydrogen/data/doc/img/MainControls_Rubberband_btn.png
-share/hydrogen/data/doc/img/MainModePattern.png
-share/hydrogen/data/doc/img/MainModeSong.png
-share/hydrogen/data/doc/img/MainPlay.png
-share/hydrogen/data/doc/img/MainRecord.png
-share/hydrogen/data/doc/img/MainStop.png
-share/hydrogen/data/doc/img/MainToolbar.png
-share/hydrogen/data/doc/img/MainToolbar_V2.png
-share/hydrogen/data/doc/img/MainUI_tabbed.png
-share/hydrogen/data/doc/img/MeasureSettings.png
-share/hydrogen/data/doc/img/MidiIN_CPU.png
-share/hydrogen/data/doc/img/Midi_Actions.png
-share/hydrogen/data/doc/img/Mixer.png
-share/hydrogen/data/doc/img/MixerDelay.png
-share/hydrogen/data/doc/img/MixerFX.png
-share/hydrogen/data/doc/img/MixerFXButton.png
-share/hydrogen/data/doc/img/MixerFXEdit.png
-share/hydrogen/data/doc/img/MixerFXEditButton.png
-share/hydrogen/data/doc/img/MixerFXKnob.png
-share/hydrogen/data/doc/img/MixerFXSelect.png
-share/hydrogen/data/doc/img/MixerLED.png
-share/hydrogen/data/doc/img/MixerLoadSample.png
-share/hydrogen/data/doc/img/MixerMute.png
-share/hydrogen/data/doc/img/MixerPan.png
-share/hydrogen/data/doc/img/MixerPlayTest.png
-share/hydrogen/data/doc/img/MixerSolo.png
-share/hydrogen/data/doc/img/MovePatternDown.png
-share/hydrogen/data/doc/img/MovePatternUp.png
-share/hydrogen/data/doc/img/NoteKey.png
-share/hydrogen/data/doc/img/NoteOff_NoteLength.png
-share/hydrogen/data/doc/img/PatternEditor.png
-share/hydrogen/data/doc/img/PatternEditorButtons.png
-share/hydrogen/data/doc/img/PatternEditorControls.png
-share/hydrogen/data/doc/img/PatternEditorDownUp.png
-share/hydrogen/data/doc/img/PatternEditorInstr.png
-share/hydrogen/data/doc/img/PatternEditorInstr_V2.png
-share/hydrogen/data/doc/img/PatternEditorPattern.png
-share/hydrogen/data/doc/img/PatternEditorRecording.png
-share/hydrogen/data/doc/img/PatternEditorSizeRes.png
-share/hydrogen/data/doc/img/PatternEditor_DrumMode.png
-share/hydrogen/data/doc/img/PatternEditor_PianoMode.png
-share/hydrogen/data/doc/img/PreferencesAppearance.png
-share/hydrogen/data/doc/img/PreferencesAppearance_V2.png
-share/hydrogen/data/doc/img/PreferencesAudioSystem.png
-share/hydrogen/data/doc/img/PreferencesAudioSystem_V2.png
-share/hydrogen/data/doc/img/PreferencesAudioSystem_V3.png
-share/hydrogen/data/doc/img/PreferencesGeneral.png
-share/hydrogen/data/doc/img/PreferencesGeneral_V2.png
-share/hydrogen/data/doc/img/PreferencesGeneral_V3.png
-share/hydrogen/data/doc/img/PreferencesMidiSystem.png
-share/hydrogen/data/doc/img/PreferencesMidiSystem_V2.png
-share/hydrogen/data/doc/img/Rec_button.png
-share/hydrogen/data/doc/img/Res.png
-share/hydrogen/data/doc/img/SampleEditor.png
-share/hydrogen/data/doc/img/SampleEditor_V5.png
-share/hydrogen/data/doc/img/SongEditor.png
-share/hydrogen/data/doc/img/SongEditorAddLayer.png
-share/hydrogen/data/doc/img/SongEditorButtons.png
-share/hydrogen/data/doc/img/SongEditorInsertMode.png
-share/hydrogen/data/doc/img/SongEditorLayerClear.png
-share/hydrogen/data/doc/img/SongEditorLayerDownUp.png
-share/hydrogen/data/doc/img/SongEditorSelectInsertMode.png
-share/hydrogen/data/doc/img/SongEditorSelectMode.png
-share/hydrogen/data/doc/img/SongLoop.png
-share/hydrogen/data/doc/img/SongOperations.png
-share/hydrogen/data/doc/img/SoundLibrary.png
-share/hydrogen/data/doc/img/Sound_Library_import.png
-share/hydrogen/data/doc/img/SoundlibraryHierarchy_V3.png
-share/hydrogen/data/doc/img/SoundlibraryHierarchy_V4.png
-share/hydrogen/data/doc/img/Tutorial2.h2song
-share/hydrogen/data/doc/img/TutorialEnd.png
-share/hydrogen/data/doc/img/TutorialStart.png
-share/hydrogen/data/doc/img/Virtual_patterns_menu.png
-share/hydrogen/data/doc/img/add_tag.png
-share/hydrogen/data/doc/img/add_tempo_change.png
-share/hydrogen/data/doc/img/background_BPM.png
-share/hydrogen/data/doc/img/background_Control.png
-share/hydrogen/data/doc/img/background_Control_V2.png
-share/hydrogen/data/doc/img/background_Load.png
-share/hydrogen/data/doc/img/background_Mode.png
-share/hydrogen/data/doc/img/bg_topPanel.png
-share/hydrogen/data/doc/img/bpm.png
-share/hydrogen/data/doc/img/btn_clear_off.png
-share/hydrogen/data/doc/img/btn_draw.png
-share/hydrogen/data/doc/img/btn_edit_on.png
-share/hydrogen/data/doc/img/btn_hear.png
-share/hydrogen/data/doc/img/btn_hear_on.png
-share/hydrogen/data/doc/img/btn_live_on.png
-share/hydrogen/data/doc/img/btn_loop_on.png
-share/hydrogen/data/doc/img/btn_mute_on.png
-share/hydrogen/data/doc/img/btn_new_on.png
-share/hydrogen/data/doc/img/btn_on_on.png
-share/hydrogen/data/doc/img/btn_pattern_mode.png
-share/hydrogen/data/doc/img/btn_play_on.png
-share/hydrogen/data/doc/img/btn_play_on_mixer.png
-share/hydrogen/data/doc/img/btn_quant_off.png
-share/hydrogen/data/doc/img/btn_quant_on.png
-share/hydrogen/data/doc/img/btn_quant_over.png
-share/hydrogen/data/doc/img/btn_record_off.png
-share/hydrogen/data/doc/img/btn_record_over.png
-share/hydrogen/data/doc/img/btn_select.png
-share/hydrogen/data/doc/img/btn_select_off.png
-share/hydrogen/data/doc/img/btn_select_on.png
-share/hydrogen/data/doc/img/btn_solo_on.png
-share/hydrogen/data/doc/img/btn_song_on.png
-share/hydrogen/data/doc/img/btn_stop_on.png
-share/hydrogen/data/doc/img/btn_updown.png
-share/hydrogen/data/doc/img/bypass_on.png
-share/hydrogen/data/doc/img/bypass_over.png
-share/hydrogen/data/doc/img/cpuload.png
-share/hydrogen/data/doc/img/downBtn_on.png
-share/hydrogen/data/doc/img/edit_off.png
-share/hydrogen/data/doc/img/fill_clear_pattern.png
-share/hydrogen/data/doc/img/hearBtn_on.png
-share/hydrogen/data/doc/img/instr_ed0.png
-share/hydrogen/data/doc/img/instr_ed1.png
-share/hydrogen/data/doc/img/item_selected.png
-share/hydrogen/data/doc/img/jack_transport.png
-share/hydrogen/data/doc/img/midi_in.png
-share/hydrogen/data/doc/img/mixer-instrrack_btn.png
-share/hydrogen/data/doc/img/newPatternBtn_on.png
-share/hydrogen/data/doc/img/nl/DrumkitExport.png
-share/hydrogen/data/doc/img/nl/DrumkitImport.png
-share/hydrogen/data/doc/img/nl/DrumkitLoad.png
-share/hydrogen/data/doc/img/nl/DrumkitSave.png
-share/hydrogen/data/doc/img/nl/InstrumentEditorInstrument.png
-share/hydrogen/data/doc/img/nl/InstrumentEditorLayer.png
-share/hydrogen/data/doc/img/nl/Mixer.png
-share/hydrogen/data/doc/img/nl/MixerFX.png
-share/hydrogen/data/doc/img/nl/MixerFXEdit.png
-share/hydrogen/data/doc/img/nl/MixerFXSelect.png



Home | Main Index | Thread Index | Old Index