multimedia/obs-text-pthread: New port: OBS Studio Plugin: Rich text source plugin for OBS Studio

This commit is contained in:
Yuri Victorovich 2022-12-29 21:54:41 -08:00
parent ab2ae6b17c
commit 72aa7c21e3
4 changed files with 51 additions and 0 deletions

View file

@ -264,6 +264,7 @@
SUBDIR += obs-scrab
SUBDIR += obs-streamfx
SUBDIR += obs-studio
SUBDIR += obs-text-pthread
SUBDIR += obs-waveform
SUBDIR += oggvideotools
SUBDIR += ogmrip

View file

@ -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 <bsd.port.mk>

View file

@ -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

View file

@ -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