diff --git a/multimedia/Makefile b/multimedia/Makefile index 9d5ed9149e97..6e2dd23e3d61 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -264,6 +264,7 @@ SUBDIR += obs-scrab SUBDIR += obs-streamfx SUBDIR += obs-studio + SUBDIR += obs-text-pthread SUBDIR += obs-waveform SUBDIR += oggvideotools SUBDIR += ogmrip diff --git a/multimedia/obs-text-pthread/Makefile b/multimedia/obs-text-pthread/Makefile new file mode 100644 index 000000000000..a278770c4844 --- /dev/null +++ b/multimedia/obs-text-pthread/Makefile @@ -0,0 +1,29 @@ +PORTNAME= obs-text-pthread +DISTVERSION= 2.0.2 +CATEGORIES= multimedia + +MAINTAINER= yuri@FreeBSD.org +COMMENT= OBS Studio Plugin: Rich text source plugin for OBS Studio +WWW= https://github.com/norihiro/obs-text-pthread + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ + libobs.so:multimedia/obs-studio \ + libpng16.so:graphics/png + +USES= cmake gettext-runtime gnome localbase:ldflags pkgconfig +USE_GNOME= cairo glib20 pango + +USE_GITHUB= yes +GH_ACCOUNT= norihiro + +CMAKE_OFF= LINUX_PORTABLE + +CFLAGS+= -I${WRKDIR}/src + +PLIST_FILES= lib/obs-plugins/obs-text-pthread.so \ + share/obs/obs-plugins/obs-text-pthread/textalpha.effect + +.include diff --git a/multimedia/obs-text-pthread/distinfo b/multimedia/obs-text-pthread/distinfo new file mode 100644 index 000000000000..a452ef10f44e --- /dev/null +++ b/multimedia/obs-text-pthread/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672378169 +SHA256 (norihiro-obs-text-pthread-2.0.2_GH0.tar.gz) = b0030652ab06d6066fea1c015986566607a8b48cf03cd257818962721b65084a +SIZE (norihiro-obs-text-pthread-2.0.2_GH0.tar.gz) = 46010 diff --git a/multimedia/obs-text-pthread/pkg-descr b/multimedia/obs-text-pthread/pkg-descr new file mode 100644 index 000000000000..4d88c979d2fa --- /dev/null +++ b/multimedia/obs-text-pthread/pkg-descr @@ -0,0 +1,18 @@ +This plugin displays text with many advanced features. +* Markup +* Text alignment + - Left, center, and right + - Justification +* Outline + - Configurable width, color, and opacity + - Configurable shape of corners + - Blur +* Transition + - Fade-in, fade-out, cross-fade + - Slide +* Threaded glyph drawing + - Lower priority to draw glyphs so that other sources and encoders are not + impacted + - More frequent polling of the text file +* Automatic line-break supporting East Asian languages +* Saving as PNG files for post production