git: b45ad4252e85 - main - audio/midivisualizer: New port: Small MIDI visualizer tool, using OpenGL

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 06 Nov 2023 07:06:39 UTC
The branch main has been updated by yuri:

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

commit b45ad4252e85e8e6f93d91b29b00c82e038bb65d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-11-06 07:06:06 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-11-06 07:06:06 +0000

    audio/midivisualizer: New port: Small MIDI visualizer tool, using OpenGL
---
 audio/Makefile                 |  1 +
 audio/midivisualizer/Makefile  | 34 ++++++++++++++++++++++++++++++++++
 audio/midivisualizer/distinfo  |  3 +++
 audio/midivisualizer/pkg-descr |  1 +
 4 files changed, 39 insertions(+)

diff --git a/audio/Makefile b/audio/Makefile
index 67b5a4ff49da..f511c84baa3c 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -457,6 +457,7 @@
     SUBDIR += midiomatic-lv2
     SUBDIR += midipp
     SUBDIR += midisharelight
+    SUBDIR += midivisualizer
     SUBDIR += mikmod
     SUBDIR += milkytracker
     SUBDIR += miniaudio
diff --git a/audio/midivisualizer/Makefile b/audio/midivisualizer/Makefile
new file mode 100644
index 000000000000..dd19d6e88ce9
--- /dev/null
+++ b/audio/midivisualizer/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	midivisualizer
+DISTVERSIONPREFIX=	v
+DISTVERSION=	7.2
+CATEGORIES=	audio
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Small MIDI visualizer tool, using OpenGL
+WWW=		https://github.com/kosua20/MIDIVisualizer
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libasound.so:audio/alsa-lib \
+		libatk-1.0.so:accessibility/at-spi2-core \
+		libavcodec.so:multimedia/ffmpeg \
+		libharfbuzz.so:print/harfbuzz \
+		libjack.so:audio/jack \
+		libnotify.so:devel/libnotify
+
+USES=		cmake compiler:c++20-lang gettext-runtime gl gnome localbase:ldflags pkgconfig xorg
+USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 pango
+USE_GL=		gl
+USE_XORG=	x11
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	kosua20
+GH_PROJECT=	MIDIVisualizer
+
+PLIST_FILES=	bin/MIDIVisualizer
+
+do-install:
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/MIDIVisualizer ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/audio/midivisualizer/distinfo b/audio/midivisualizer/distinfo
new file mode 100644
index 000000000000..0b31378e92d3
--- /dev/null
+++ b/audio/midivisualizer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1699252698
+SHA256 (kosua20-MIDIVisualizer-v7.2_GH0.tar.gz) = 8e6c6ee0ef2de1f8b1a461596ab5cd32535af115f9f93d4c0ab527e694687433
+SIZE (kosua20-MIDIVisualizer-v7.2_GH0.tar.gz) = 5810946
diff --git a/audio/midivisualizer/pkg-descr b/audio/midivisualizer/pkg-descr
new file mode 100644
index 000000000000..02c5b5200b7d
--- /dev/null
+++ b/audio/midivisualizer/pkg-descr
@@ -0,0 +1 @@
+MIDIVisualizer is a small MIDI visualizer, written in C++/OpenGL.