git: fab1af0bc9b1 - main - multimedia/obs-ndi: Remove: it depends on a closed commercial library

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 29 Dec 2022 22:15:53 UTC
The branch main has been updated by yuri:

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

commit fab1af0bc9b1ea00ffd1df4497a8b0a0189cf5de
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-29 21:52:53 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-29 22:15:37 +0000

    multimedia/obs-ndi: Remove: it depends on a closed commercial library
---
 MOVED                                              |  1 +
 multimedia/Makefile                                |  1 -
 multimedia/obs-ndi/Makefile                        | 23 ----------------------
 multimedia/obs-ndi/distinfo                        |  3 ---
 multimedia/obs-ndi/files/patch-CMakeLists.txt      | 11 -----------
 .../files/patch-lib_ndi_Processing.NDI.Lib.h       | 11 -----------
 multimedia/obs-ndi/files/patch-src_obs-ndi.cpp     | 11 -----------
 multimedia/obs-ndi/pkg-descr                       |  7 -------
 multimedia/obs-ndi/pkg-plist                       |  7 -------
 9 files changed, 1 insertion(+), 74 deletions(-)

diff --git a/MOVED b/MOVED
index 0dcb01011623..069c837d92e7 100644
--- a/MOVED
+++ b/MOVED
@@ -17705,3 +17705,4 @@ devel/php74-readline|devel/php80-readline|2022-12-25|Has expired: Security suppo
 audio/ardour6|audio/ardour|2022-12-26|Remove major version from portname as we update from 6.9.0 to 7.2.0
 multimedia/obs-transition-matrix||2022-12-29|Removed: not compatible with obs-studio-28.1.2
 multimedia/obs-websocket||2022-12-29|Removed: included in obs-studio-28.1.2
+multimedia/obs-ndi||2022-12-29|Removed: it depends on a closed commercial library
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 1beb68f9fc8e..4c8f14584e30 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -261,7 +261,6 @@
     SUBDIR += nymphcastlib
     SUBDIR += nymphrpc
     SUBDIR += obs-audio-spectralizer
-    SUBDIR += obs-ndi
     SUBDIR += obs-qtwebkit
     SUBDIR += obs-scrab
     SUBDIR += obs-streamfx
diff --git a/multimedia/obs-ndi/Makefile b/multimedia/obs-ndi/Makefile
deleted file mode 100644
index 4950fc1ed9d3..000000000000
--- a/multimedia/obs-ndi/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-PORTNAME=	obs-ndi
-DISTVERSION=	4.9.1
-PORTREVISION=	3
-CATEGORIES=	multimedia
-
-MAINTAINER=	yuri@FreeBSD.org
-COMMENT=	OBS Studio Plugin: Network Device Interface
-WWW=		https://github.com/Palakis/obs-ndi
-
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-LIB_DEPENDS=	libobs.so:multimedia/obs-studio
-RUN_DEPENDS=	${LOCALBASE}/lib/libndi.so:multimedia/libndi
-
-USES=		cmake compiler:c++11-lang localbase:ldflags qt:5
-USE_GITHUB=	yes
-GH_ACCOUNT=	Palakis
-USE_QT=		core gui widgets buildtools:build qmake:build
-
-BROKEN=		ERROR: NDIlib_v4_load not found in loaded library: https://code.videolan.org/jbk/libndi/-/issues/9, bug#258694
-
-.include <bsd.port.mk>
diff --git a/multimedia/obs-ndi/distinfo b/multimedia/obs-ndi/distinfo
deleted file mode 100644
index 5c88dbf7445b..000000000000
--- a/multimedia/obs-ndi/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1589557670
-SHA256 (Palakis-obs-ndi-4.9.1_GH0.tar.gz) = 25ada71fef14b23fa03a0a5bcce87e36161f4f2488f34aa256634e5973d8e66b
-SIZE (Palakis-obs-ndi-4.9.1_GH0.tar.gz) = 310038
diff --git a/multimedia/obs-ndi/files/patch-CMakeLists.txt b/multimedia/obs-ndi/files/patch-CMakeLists.txt
deleted file mode 100644
index 94113e823907..000000000000
--- a/multimedia/obs-ndi/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- CMakeLists.txt.orig	2020-05-14 10:29:22 UTC
-+++ CMakeLists.txt
-@@ -153,7 +153,7 @@ endif()
- if(UNIX AND NOT APPLE)
- 	include(GNUInstallDirs)
- 
--	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -mtune=core2 -Ofast")
-+	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Ofast")
- 
- 	set_target_properties(obs-ndi PROPERTIES PREFIX "")
- 	target_link_libraries(obs-ndi obs-frontend-api)
diff --git a/multimedia/obs-ndi/files/patch-lib_ndi_Processing.NDI.Lib.h b/multimedia/obs-ndi/files/patch-lib_ndi_Processing.NDI.Lib.h
deleted file mode 100644
index eabdfff9524e..000000000000
--- a/multimedia/obs-ndi/files/patch-lib_ndi_Processing.NDI.Lib.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/ndi/Processing.NDI.Lib.h.orig	2022-01-14 18:57:16 UTC
-+++ lib/ndi/Processing.NDI.Lib.h
-@@ -60,7 +60,7 @@
- #			define NDILIB_REDIST_FOLDER "NDI_RUNTIME_DIR_V4"
- #			define NDILIB_REDIST_URL    "http://new.tk/NDIRedistV4Apple"
- #		else // __APPLE__
--#			define NDILIB_LIBRARY_NAME  "libndi.so.4"
-+#			define NDILIB_LIBRARY_NAME  "libndi.so"
- #			define NDILIB_REDIST_FOLDER "NDI_RUNTIME_DIR_V4"
- #			define NDILIB_REDIST_URL    ""
- #		endif // __APPLE__
diff --git a/multimedia/obs-ndi/files/patch-src_obs-ndi.cpp b/multimedia/obs-ndi/files/patch-src_obs-ndi.cpp
deleted file mode 100644
index f8eb273db537..000000000000
--- a/multimedia/obs-ndi/files/patch-src_obs-ndi.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/obs-ndi.cpp.orig	2022-01-14 17:54:22 UTC
-+++ src/obs-ndi.cpp
-@@ -198,7 +198,7 @@ const NDIlib_v4* load_ndilib()
- {
- 	QStringList locations;
- 	locations << QString(qgetenv(NDILIB_REDIST_FOLDER));
--#if defined(__linux__) || defined(__APPLE__)
-+#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
- 	locations << "/usr/lib";
- 	locations << "/usr/local/lib";
- #endif
diff --git a/multimedia/obs-ndi/pkg-descr b/multimedia/obs-ndi/pkg-descr
deleted file mode 100644
index c9100a3e8f7c..000000000000
--- a/multimedia/obs-ndi/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-Network A/V in OBS Studio with NewTek's NDI technology.
-
-Features:
-* NDI Source : receive NDI video and audio in OBS
-* NDI Output : transmit video and audio from OBS to NDI
-* NDI Filter (a.k.a NDI Dedicated Output) : transmit a single source or
-  scene to NDI
diff --git a/multimedia/obs-ndi/pkg-plist b/multimedia/obs-ndi/pkg-plist
deleted file mode 100644
index 0496db469c4a..000000000000
--- a/multimedia/obs-ndi/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-lib/obs-plugins/obs-ndi.so
-share/obs/obs-plugins/obs-ndi/locale/ca-ES.ini
-share/obs/obs-plugins/obs-ndi/locale/en-US.ini
-share/obs/obs-plugins/obs-ndi/locale/es-ES.ini
-share/obs/obs-plugins/obs-ndi/locale/fr-FR.ini
-share/obs/obs-plugins/obs-ndi/locale/ru-RU.ini
-share/obs/obs-plugins/obs-ndi/locale/zh-CN.ini