diff --git a/multimedia/Makefile b/multimedia/Makefile index aeb3078db568..b5701593ee86 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -289,6 +289,7 @@ SUBDIR += obs-qtwebkit SUBDIR += obs-streamfx SUBDIR += obs-studio + SUBDIR += obs-transition-matrix SUBDIR += obs-websocket SUBDIR += oggvideotools SUBDIR += ogmrip diff --git a/multimedia/obs-transition-matrix/Makefile b/multimedia/obs-transition-matrix/Makefile new file mode 100644 index 000000000000..7040406dc6ea --- /dev/null +++ b/multimedia/obs-transition-matrix/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= obs-transition-matrix +DISTVERSIONPREFIX= v +DISTVERSION= 1.0-4 +DISTVERSIONSUFFIX= -g15f096e +CATEGORIES= multimedia + +MAINTAINER= yuri@FreeBSD.org +COMMENT= OBS Studio Plugin: OBS Transition Matrix + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libobs.so:multimedia/obs-studio + +USES= cmake qt:5 compiler:c++11-lang +USE_GITHUB= yes +GH_ACCOUNT= admshao +USE_QT= core gui widgets buildtools_build qmake_build + +CMAKE_ARGS= -DLIBOBS_INCLUDE_DIR=${LOCALBASE}/include + +CXXFLAGS+= -I${LOCALBASE}/include/obs + +PLIST_FILES= lib/obs-plugins/obs-transition-matrix.so \ + share/obs/obs-plugins/obs-transition-matrix/locale/en-US.ini + +.include diff --git a/multimedia/obs-transition-matrix/distinfo b/multimedia/obs-transition-matrix/distinfo new file mode 100644 index 000000000000..48b4360bce2a --- /dev/null +++ b/multimedia/obs-transition-matrix/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1586049671 +SHA256 (admshao-obs-transition-matrix-v1.0-4-g15f096e_GH0.tar.gz) = 62ef0af910f7a54ac4dd5fb64e7ad371bec5e97569a0c4424ddd9f0ae8625daf +SIZE (admshao-obs-transition-matrix-v1.0-4-g15f096e_GH0.tar.gz) = 20038 diff --git a/multimedia/obs-transition-matrix/files/patch-external_FindLibObs.cmake b/multimedia/obs-transition-matrix/files/patch-external_FindLibObs.cmake new file mode 100644 index 000000000000..5bf53f13e3c1 --- /dev/null +++ b/multimedia/obs-transition-matrix/files/patch-external_FindLibObs.cmake @@ -0,0 +1,11 @@ +--- external/FindLibObs.cmake.orig 2020-04-03 19:34:06 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) diff --git a/multimedia/obs-transition-matrix/pkg-descr b/multimedia/obs-transition-matrix/pkg-descr new file mode 100644 index 000000000000..265a22c4eb2e --- /dev/null +++ b/multimedia/obs-transition-matrix/pkg-descr @@ -0,0 +1,3 @@ +Expands the basic custom transition support to a scene to scene basis. + +WWW: https://github.com/admshao/obs-transition-matrix