git: 31f6059c2750 - main - multimedia/kodi-addon-visualization.projectm: Add new port

From: Bernhard Froehlich <decke_at_FreeBSD.org>
Date: Sun, 26 May 2024 19:04:37 UTC
The branch main has been updated by decke:

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

commit 31f6059c2750f1b396c0ed8567aba1de1df9a76d
Author:     Ivan Rozhuk <rozhuk.im@gmail.com>
AuthorDate: 2024-05-26 19:02:05 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2024-05-26 19:02:05 +0000

    multimedia/kodi-addon-visualization.projectm: Add new port
    
    ProjectM visualizer for Kodi
    
    PR:             279323
    Submitted by:   Ivan Rozhuk <rozhuk.im@gmail.com>
---
 multimedia/Makefile                                |  1 +
 .../kodi-addon-visualization.projectm/Makefile     | 26 ++++++++++++++++++++++
 .../kodi-addon-visualization.projectm/distinfo     |  3 +++
 .../kodi-addon-visualization.projectm/pkg-descr    |  1 +
 4 files changed, 31 insertions(+)

diff --git a/multimedia/Makefile b/multimedia/Makefile
index 1aae647f6dc2..fc1bc73fcd7e 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -145,6 +145,7 @@
     SUBDIR += kodi-addon-screensaver.matrixtrails
     SUBDIR += kodi-addon-screensaver.stars
     SUBDIR += kodi-addon-visualization.fishbmc
+    SUBDIR += kodi-addon-visualization.projectm
     SUBDIR += kodi-addon-visualization.shadertoy
     SUBDIR += kodi-addon-visualization.spectrum
     SUBDIR += kooha
diff --git a/multimedia/kodi-addon-visualization.projectm/Makefile b/multimedia/kodi-addon-visualization.projectm/Makefile
new file mode 100644
index 000000000000..97755ab8e085
--- /dev/null
+++ b/multimedia/kodi-addon-visualization.projectm/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	visualization.projectm
+PORTVERSION=	21.0.1.20240504
+DISTVERSIONSUFFIX=	-Omega
+CATEGORIES=	multimedia
+
+MAINTAINER=	rozhuk.im@gmail.com
+COMMENT=	ProjectM visualizer for Kodi
+WWW=		https://github.com/xbmc/visualization.projectm
+
+LICENSE=	GPLv2+
+
+BUILD_DEPENDS=	glm>0:math/glm
+LIB_DEPENDS=	libprojectM.so:graphics/libprojectm
+
+USES=		cmake compiler:c++14-lang gl kodi localbase
+USE_CXXSTD=	c++14
+USE_GITHUB=	yes
+GH_ACCOUNT=	xbmc
+GH_TAGNAME=	d39cad13e6e3c2c11f4ba4768d0b27dd890a706f
+USE_GL=		egl gl glu
+
+PLIST_SUB=	SOVERSION=${PORTVERSION}
+
+CMAKE_ARGS=	-DADDONS_TO_BUILD=${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/multimedia/kodi-addon-visualization.projectm/distinfo b/multimedia/kodi-addon-visualization.projectm/distinfo
new file mode 100644
index 000000000000..c2789ab32feb
--- /dev/null
+++ b/multimedia/kodi-addon-visualization.projectm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1716736220
+SHA256 (xbmc-visualization.projectm-21.0.1.20240504-Omega-d39cad13e6e3c2c11f4ba4768d0b27dd890a706f_GH0.tar.gz) = 8f2fdd3ea8570cd1f6b2d2a38a28e31602b82b4822dea643858d85dc075236a3
+SIZE (xbmc-visualization.projectm-21.0.1.20240504-Omega-d39cad13e6e3c2c11f4ba4768d0b27dd890a706f_GH0.tar.gz) = 2513095
diff --git a/multimedia/kodi-addon-visualization.projectm/pkg-descr b/multimedia/kodi-addon-visualization.projectm/pkg-descr
new file mode 100644
index 000000000000..e61a38d9aa9a
--- /dev/null
+++ b/multimedia/kodi-addon-visualization.projectm/pkg-descr
@@ -0,0 +1 @@
+ProjectM visualizer for Kodi