From owner-svn-ports-all@freebsd.org Sun Apr 5 23:28:59 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 87A8F278DC9; Sun, 5 Apr 2020 23:28:59 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48wVHG01CYz3PLQ; Sun, 5 Apr 2020 23:28:57 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 100561E2D9; Sun, 5 Apr 2020 23:28:50 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 035NSnWc034852; Sun, 5 Apr 2020 23:28:49 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 035NSmJ8034847; Sun, 5 Apr 2020 23:28:48 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202004052328.035NSmJ8034847@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 5 Apr 2020 23:28:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r530844 - in head/multimedia: . obs-v4l2sink obs-v4l2sink/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/multimedia: . obs-v4l2sink obs-v4l2sink/files X-SVN-Commit-Revision: 530844 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2020 23:28:59 -0000 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@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 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