svn commit: r530744 - in head/multimedia: . obs-scrab obs-scrab/files
Yuri Victorovich
yuri at FreeBSD.org
Sun Apr 5 03:27:30 UTC 2020
Author: yuri
Date: Sun Apr 5 03:27:15 2020
New Revision: 530744
URL: https://svnweb.freebsd.org/changeset/ports/530744
Log:
New port: multimedia/obs-scrab: OBS Studio Plugin: Screenshot plugin
Added:
head/multimedia/obs-scrab/
head/multimedia/obs-scrab/Makefile (contents, props changed)
head/multimedia/obs-scrab/distinfo (contents, props changed)
head/multimedia/obs-scrab/files/
head/multimedia/obs-scrab/files/patch-CMakeLists.txt (contents, props changed)
head/multimedia/obs-scrab/pkg-descr (contents, props changed)
Modified:
head/multimedia/Makefile
Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile Sun Apr 5 02:57:42 2020 (r530743)
+++ head/multimedia/Makefile Sun Apr 5 03:27:15 2020 (r530744)
@@ -287,6 +287,7 @@
SUBDIR += obs-audio-spectralizer
SUBDIR += obs-ndi
SUBDIR += obs-qtwebkit
+ SUBDIR += obs-scrab
SUBDIR += obs-streamfx
SUBDIR += obs-studio
SUBDIR += obs-transition-matrix
Added: head/multimedia/obs-scrab/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/obs-scrab/Makefile Sun Apr 5 03:27:15 2020 (r530744)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= obs-scrab
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.0-8
+DISTVERSIONSUFFIX= -g2d5f88f
+CATEGORIES= multimedia
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= OBS Studio Plugin: Screenshot plugin
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libobs.so:multimedia/obs-studio
+
+USES= cmake localbase:ldflags qt:5
+USE_GITHUB= yes
+GH_ACCOUNT= univrsal
+GH_PROJECT= scrab
+USE_QT= core gui widgets buildtools_build qmake_build
+
+CXXFLAGS+= -I${LOCALBASE}/include/obs
+
+PLIST_FILES= lib/obs-plugins/scrab.so \
+ share/obs/obs-plugins/scrab/locale/en-US.ini
+
+.include <bsd.port.mk>
Added: head/multimedia/obs-scrab/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/obs-scrab/distinfo Sun Apr 5 03:27:15 2020 (r530744)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1586056430
+SHA256 (univrsal-scrab-v1.0-8-g2d5f88f_GH0.tar.gz) = 460412306bca0b9cc0afe34c0221f8eab66b4af87c0d945c300e1e5813e14b35
+SIZE (univrsal-scrab-v1.0-8-g2d5f88f_GH0.tar.gz) = 1421734
Added: head/multimedia/obs-scrab/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/obs-scrab/files/patch-CMakeLists.txt Sun Apr 5 03:27:15 2020 (r530744)
@@ -0,0 +1,16 @@
+--- CMakeLists.txt.orig 2020-04-05 03:14:35 UTC
++++ CMakeLists.txt
+@@ -42,10 +42,12 @@ include_directories(
+ ${QtWidgets_INCLUDES})
+
+ target_link_libraries(scrab
+- libobs
++ obs
+ obs-frontend-api
+ Qt5::Core
+ Qt5::Widgets
+ ${scrab_PLATFORM_DEPS})
++
++include(${CMAKE_INSTALL_PREFIX}/lib/cmake/ObsHelpers.cmake)
+
+ install_obs_plugin_with_data(scrab data)
Added: head/multimedia/obs-scrab/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/obs-scrab/pkg-descr Sun Apr 5 03:27:15 2020 (r530744)
@@ -0,0 +1,6 @@
+Screen grab adds a configurable hotkey to quickly select a screen region and add
+it as an image source to the current scene.
+
+The plugin saves all screenshots into the home directory by default.
+
+WWW: https://github.com/univrsal/scrab
More information about the svn-ports-all
mailing list