svn commit: r530844 - in head/multimedia: . obs-v4l2sink obs-v4l2sink/files
Yuri Victorovich
yuri at FreeBSD.org
Sun Apr 5 23:28:59 UTC 2020
Author: yuri
Date: Sun Apr 5 23:28:48 2020
New Revision: 530844
URL: https://svnweb.freebsd.org/changeset/ports/530844
Log:
New port: multimedia/obs-v4l2sink: OBS Studio Plugin: Output as Video4Linux2 device
Added:
head/multimedia/obs-v4l2sink/
head/multimedia/obs-v4l2sink/Makefile (contents, props changed)
head/multimedia/obs-v4l2sink/distinfo (contents, props changed)
head/multimedia/obs-v4l2sink/files/
head/multimedia/obs-v4l2sink/files/patch-external_FindLibObs.cmake (contents, props changed)
head/multimedia/obs-v4l2sink/pkg-descr (contents, props changed)
Modified:
head/multimedia/Makefile
Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile Sun Apr 5 21:30:00 2020 (r530843)
+++ head/multimedia/Makefile Sun Apr 5 23:28:48 2020 (r530844)
@@ -292,6 +292,7 @@
SUBDIR += obs-streamfx
SUBDIR += obs-studio
SUBDIR += obs-transition-matrix
+ SUBDIR += obs-v4l2sink
SUBDIR += obs-websocket
SUBDIR += oggvideotools
SUBDIR += ogmrip
Added: head/multimedia/obs-v4l2sink/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/obs-v4l2sink/Makefile Sun Apr 5 23:28:48 2020 (r530844)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= obs-v4l2sink
+DISTVERSION= 0.1.0-12
+DISTVERSIONSUFFIX= -g1ec3c8a
+CATEGORIES= multimedia
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= OBS Studio Plugin: Output as Video4Linux2 device
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat
+LIB_DEPENDS= libobs.so:multimedia/obs-studio
+
+USES= cmake compiler:c++11-lang qt:5
+USE_GITHUB= yes
+GH_ACCOUNT= CatxFish
+USE_QT= core gui widgets buildtools_build qmake_build
+
+CMAKE_ARGS= -DLIBOBS_INCLUDE_DIR=${LOCALBASE}/include/obs
+
+PLIST_FILES= lib/obs-plugins/v4l2sink.so \
+ share/obs/obs-plugins/v4l2sink/locale/de-DE.ini \
+ share/obs/obs-plugins/v4l2sink/locale/en-US.ini \
+ share/obs/obs-plugins/v4l2sink/locale/zh-TW.ini
+
+.include <bsd.port.mk>
Added: head/multimedia/obs-v4l2sink/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/obs-v4l2sink/distinfo Sun Apr 5 23:28:48 2020 (r530844)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1586128495
+SHA256 (CatxFish-obs-v4l2sink-0.1.0-12-g1ec3c8a_GH0.tar.gz) = 5ba383c28b8b366489e56b231a66e3ef64629e3fdd9f92895ab8dd512df3b467
+SIZE (CatxFish-obs-v4l2sink-0.1.0-12-g1ec3c8a_GH0.tar.gz) = 21399
Added: head/multimedia/obs-v4l2sink/files/patch-external_FindLibObs.cmake
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/obs-v4l2sink/files/patch-external_FindLibObs.cmake Sun Apr 5 23:28:48 2020 (r530844)
@@ -0,0 +1,11 @@
+--- external/FindLibObs.cmake.orig 2020-04-05 23:16:36 UTC
++++ external/FindLibObs.cmake
+@@ -95,7 +95,7 @@ if(LIBOBS_FOUND)
+
+ set(LIBOBS_INCLUDE_DIRS ${LIBOBS_INCLUDE_DIR} ${W32_PTHREADS_INCLUDE_DIR})
+ set(LIBOBS_LIBRARIES ${LIBOBS_LIB} ${W32_PTHREADS_LIB})
+- include(${LIBOBS_INCLUDE_DIR}/../cmake/external/ObsPluginHelpers.cmake)
++ include(${CMAKE_INSTALL_PREFIX}/lib/cmake/ObsPluginHelpers.cmake)
+
+ # allows external plugins to easily use/share common dependencies that are often included with libobs (such as FFmpeg)
+ if(NOT DEFINED INCLUDED_LIBOBS_CMAKE_MODULES)
Added: head/multimedia/obs-v4l2sink/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/obs-v4l2sink/pkg-descr Sun Apr 5 23:28:48 2020 (r530844)
@@ -0,0 +1,8 @@
+An OBS Studio plugin that provides output capabilities to a Video4Linux2 device.
+It is basically a Linux version of obs-virtual-cam, but only contains the video
+sink part. You can use it with v4l2loopback to achieve cross-program video
+transfer between OBS Studio and third party software supporting Video4Linux2,
+e.g. to present an OBS session in proprietary browser-based conferencing systems
+by selecting the OBS session as a webcam.
+
+WWW: https://github.com/CatxFish/obs-v4l2sink
More information about the svn-ports-all
mailing list