aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-12-30 05:54:41 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-12-30 06:42:57 +0000
commit72aa7c21e33e06e0dcc1ef2f8d844e5eae0b3647 (patch)
treec4bcfcf35baf2ab81c0cc5dd6303757ec96d77b4
parentab2ae6b17c84a453269b780ec461ac382f7ce6e1 (diff)
downloadports-72aa7c21e33e06e0dcc1ef2f8d844e5eae0b3647.tar.gz
ports-72aa7c21e33e06e0dcc1ef2f8d844e5eae0b3647.zip
multimedia/obs-text-pthread: New port: OBS Studio Plugin: Rich text source plugin for OBS Studio
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/obs-text-pthread/Makefile29
-rw-r--r--multimedia/obs-text-pthread/distinfo3
-rw-r--r--multimedia/obs-text-pthread/pkg-descr18
4 files changed, 51 insertions, 0 deletions
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 <bsd.port.mk>
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