git: 7a20f9d5b476 - main - audio/hydrogen: Use upstream release archive

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 22 Oct 2022 08:10:28 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7a20f9d5b476ca2cb41f79f34f5de6fe86f15995

commit 7a20f9d5b476ca2cb41f79f34f5de6fe86f15995
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-22 07:46:16 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-10-22 07:46:20 +0000

    audio/hydrogen: Use upstream release archive
    
    - Use upstream release archive as recommended by Porters Handbook
      (USE_GITHUB section)
    - Update compiler requirements to c++17-lang
    - Adjust manpage install dir
    
    PR:             267186
    Reviewed by:    Shane <FreeBSD@ShaneWare.Biz> (maintainer)
---
 audio/hydrogen/Makefile  |  8 +++---
 audio/hydrogen/distinfo  |  6 ++---
 audio/hydrogen/pkg-plist | 69 +++++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 75 insertions(+), 8 deletions(-)

diff --git a/audio/hydrogen/Makefile b/audio/hydrogen/Makefile
index cc261cbdc3eb..3229bcf77789 100644
--- a/audio/hydrogen/Makefile
+++ b/audio/hydrogen/Makefile
@@ -1,6 +1,8 @@
 PORTNAME=	hydrogen
 DISTVERSION=	1.1.1
 CATEGORIES=	audio
+MASTER_SITES=	https://github.com/hydrogen-music/${PORTNAME}/releases/download/${DISTVERSION}/ \
+		SF/hydrogen/Hydrogen/${DISTVERSION}%20Sources/
 
 MAINTAINER=	FreeBSD@ShaneWare.Biz
 COMMENT=	Advanced drum machine
@@ -12,15 +14,13 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libsndfile.so:audio/libsndfile \
 		liblo.so:audio/liblo
 
-USES=		cmake compiler:c++11-lang desktop-file-utils pkgconfig \
+USES=		cmake compiler:c++17-lang desktop-file-utils pkgconfig \
 		localbase qt:5
 USE_QT=		core gui network widgets xml xmlpatterns buildtools:build \
 		linguisttools:build qmake:build testlib:build
 USE_LDCONFIG=	yes
-CMAKE_ARGS+=	-DCMAKE_INSTALL_MANDIR=${LOCALBASE}/share/man
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	hydrogen-music
+CMAKE_ARGS=	-DCMAKE_INSTALL_MANDIR=${LOCALBASE}/man
 
 OPTIONS_SINGLE=		EXPORT
 OPTIONS_SINGLE_EXPORT=	LIBARCHIVE LIBTAR
diff --git a/audio/hydrogen/distinfo b/audio/hydrogen/distinfo
index 7379010e134e..a882b8d080f8 100644
--- a/audio/hydrogen/distinfo
+++ b/audio/hydrogen/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665886685
-SHA256 (hydrogen-music-hydrogen-1.1.1_GH0.tar.gz) = aba28a11a3dfb3eaf1a831817990b7dfe49343e09119c83717e2e8878179b5ca
-SIZE (hydrogen-music-hydrogen-1.1.1_GH0.tar.gz) = 11417837
+TIMESTAMP = 1666087845
+SHA256 (hydrogen-1.1.1.tar.gz) = 692ef6acd94102ec9c576cf28ce8572431f669f0516c7465b6b79fc3e15e0180
+SIZE (hydrogen-1.1.1.tar.gz) = 16438242
diff --git a/audio/hydrogen/pkg-plist b/audio/hydrogen/pkg-plist
index 2f4b910b6ece..57f55c5c8a9f 100644
--- a/audio/hydrogen/pkg-plist
+++ b/audio/hydrogen/pkg-plist
@@ -70,7 +70,7 @@ include/hydrogen/core/Timeline.h
 include/hydrogen/core/Version.h
 include/hydrogen/core/rt_clock.h
 lib/libhydrogen-core-1.1.1.so
-share/man/man1/hydrogen.1.gz
+man/man1/hydrogen.1.gz
 share/appdata/org.hydrogenmusic.Hydrogen.appdata.xml
 share/applications/org.hydrogenmusic.Hydrogen.desktop
 %%DATADIR%%/data/DefaultSong.h2song
@@ -82,6 +82,70 @@ share/applications/org.hydrogenmusic.Hydrogen.desktop
 %%DATADIR%%/data/demo_songs/GM_kit_demo3.h2song
 %%DATADIR%%/data/demo_songs/TR808kit-demo.h2song
 %%DATADIR%%/data/demo_songs/tutorial_georgyporgy.h2song
+%%DATADIR%%/data/doc/img/AutomationPath.png
+%%DATADIR%%/data/doc/img/Downloading_SoundLibrary.png
+%%DATADIR%%/data/doc/img/InstrumentEditorLayersComponents.png
+%%DATADIR%%/data/doc/img/InstrumentEditorLayersControls.png
+%%DATADIR%%/data/doc/img/InstrumentEditorLayersLayers.png
+%%DATADIR%%/data/doc/img/InstrumentEditorLayersSampleSelection.png
+%%DATADIR%%/data/doc/img/LADSPA_FX_Properties.png
+%%DATADIR%%/data/doc/img/MainMenu.png
+%%DATADIR%%/data/doc/img/MixerComponentStrip.png
+%%DATADIR%%/data/doc/img/MixerFXSelect.png
+%%DATADIR%%/data/doc/img/MixerFXStrip.png
+%%DATADIR%%/data/doc/img/MixerInstrumentStrip.png
+%%DATADIR%%/data/doc/img/MixerMasterStrip.png
+%%DATADIR%%/data/doc/img/NotePropertiesRuler.png
+%%DATADIR%%/data/doc/img/PatternSizeDialog.png
+%%DATADIR%%/data/doc/img/PlaylistEditor.png
+%%DATADIR%%/data/doc/img/PlaylistEditorControls.png
+%%DATADIR%%/data/doc/img/Rec_button.png
+%%DATADIR%%/data/doc/img/SongRuler.png
+%%DATADIR%%/data/doc/img/admonitions/caution.svg
+%%DATADIR%%/data/doc/img/admonitions/important.svg
+%%DATADIR%%/data/doc/img/admonitions/note.svg
+%%DATADIR%%/data/doc/img/admonitions/tip.svg
+%%DATADIR%%/data/doc/img/admonitions/warning.svg
+%%DATADIR%%/data/doc/img/btn_dropdown_off.png
+%%DATADIR%%/data/doc/img/btn_jack_master_off.png
+%%DATADIR%%/data/doc/img/btn_jack_transport_off.png
+%%DATADIR%%/data/doc/img/btn_metronome_off.png
+%%DATADIR%%/data/doc/img/btn_play_off.png
+%%DATADIR%%/data/doc/img/btn_set_play_off.png
+%%DATADIR%%/data/doc/img/btn_set_play_on.png
+%%DATADIR%%/data/doc/img/btn_viewTL_off.png
+%%DATADIR%%/data/doc/img/bypass_over.png
+%%DATADIR%%/data/doc/img/edit_off.png
+%%DATADIR%%/data/doc/img/master_mute_off.png
+%%DATADIR%%/data/doc/img/matrioskaPanH2.png
+%%DATADIR%%/data/doc/img/rec.png
+%%DATADIR%%/data/doc/img/rubber_off.png
+%%DATADIR%%/data/doc/img/showFX_on.png
+%%DATADIR%%/data/doc/img/showPeaks_on.png
+%%DATADIR%%/data/doc/img/tag_bar.png
+%%DATADIR%%/data/doc/img/tastiera.png
+%%DATADIR%%/data/doc/img_tutorial/Bridge1_4th.png
+%%DATADIR%%/data/doc/img_tutorial/Bridge3_3a_hh.png
+%%DATADIR%%/data/doc/img_tutorial/C3_6+7.png
+%%DATADIR%%/data/doc/img_tutorial/Intro4th.png
+%%DATADIR%%/data/doc/img_tutorial/PatternBase1.png
+%%DATADIR%%/data/doc/img_tutorial/PatternBase2.png
+%%DATADIR%%/data/doc/img_tutorial/Riff1b.png
+%%DATADIR%%/data/doc/img_tutorial/Riff1c.png
+%%DATADIR%%/data/doc/img_tutorial/Riff1d.png
+%%DATADIR%%/data/doc/img_tutorial/Verse8th.png
+%%DATADIR%%/data/doc/img_tutorial/VerseAll.png
+%%DATADIR%%/data/doc/img_tutorial/VerseBridge.png
+%%DATADIR%%/data/doc/img_tutorial/VerseBridge_hh.png
+%%DATADIR%%/data/doc/manual_ca.html
+%%DATADIR%%/data/doc/manual_en.html
+%%DATADIR%%/data/doc/manual_es.html
+%%DATADIR%%/data/doc/manual_fr.html
+%%DATADIR%%/data/doc/manual_it.html
+%%DATADIR%%/data/doc/manual_nl.html
+%%DATADIR%%/data/doc/tutorial_en.html
+%%DATADIR%%/data/doc/tutorial_fr.html
+%%DATADIR%%/data/doc/tutorial_it.html
 %%DATADIR%%/data/drumkits/GMRockKit/24Ride-1.wav
 %%DATADIR%%/data/drumkits/GMRockKit/24Ride-2.wav
 %%DATADIR%%/data/drumkits/GMRockKit/24Ride-3.wav
@@ -499,3 +563,6 @@ share/applications/org.hydrogenmusic.Hydrogen.desktop
 %%DATADIR%%/data/xsd/drumkit_pattern.xsd
 %%DATADIR%%/data/xsd/playlist.xsd
 share/icons/hicolor/scalable/apps/org.hydrogenmusic.Hydrogen.svg
+@dir %%DATADIR%%/data/doc/generate_images
+@dir %%DATADIR%%/data/doc/generated_en
+@dir %%DATADIR%%/data/doc/res