From nobody Fri Dec 30 06:43:04 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NjwgX2vCNz1Lqnj; Fri, 30 Dec 2022 06:43:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NjwgX2Hm5z3NXj; Fri, 30 Dec 2022 06:43:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672382584; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qH9BadzSiBh+reNOybQV8rEapTky0rf2iS/cp0vysEo=; b=waieLoVG4aOpuBIKKi0APg0U6R73gCFXgroEunPbq3bjALn9AervjyYN9DXE/vSggIeLq8 v76pVUda/H9OEkNCsJE4xhcJAKW09AOoMbaLuSBwxhTP52GkUFfA5pZ9iQ2cQ7RbJGhpBV cfO5hgdm5v8rDcTOle1uhDY7nWM/JxRHmyZ0lMVpx4rNGj0Y5AmJpdWmSRTncv5h+/2xu2 qG0a5RHHJQPe310iW+a6sOLYhhcB6NHRU8XRCVy+NZMufeh/ymc0XMGhrEiny5ca95Mvta VrXZGQ19So/r3mYyj27bMG4HTwqR4+5Zl3EEov5JV32tA7IHQVGk7E4k8tgbJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672382584; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qH9BadzSiBh+reNOybQV8rEapTky0rf2iS/cp0vysEo=; b=WrOuPJo4+nKHNGUWDe/RutPCGD1HUOw16G9pUQOQ8aT3CAM7972Zv0jQ9QBe8ynp+IPAXS mCxaYsy49GbNDTD3tNUzTNtRHWNKcI3togf07JbcL3qUS5mog6x9QPoA2UTWPdLJ4NJBVU PvSQORYtq62tGuad0W2oXysC87tpSEnvisR5gXNkdzGb+8O+fMWpY4mGOxTLrTSvCzTiPF yYgpnHc+6+sBkHPGHQvD5R7ZlOa5SMH2pPgAz+rPXl0R3xivo/Efdttz1VzzKsCHRPO3cf pfVjMZ9PLY4t4N1wNyICf1A4d8AfDSXp6VXja9V5ONoY73lJWfPzGjW4hntQWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672382584; a=rsa-sha256; cv=none; b=hXA7bTC9nj+F7qxB0V9ahAeDnEQ2Xbe7nqHep/E1lbG8qXsh3Z0H8HPLFBdXMe0Yta1m17 ynz5Z75Pbjugto/Unh0G8sYg5EHaefEUcxezNrcy7pAQh8i2uvroAS/AtAeds9YcJSysy7 96KsRp9z8XI+6uyg1oR6v9tlTPWN3tF4Il4FfG1krrxS47SOQ0dOXp94hkWEldxbrufQg8 tkrYNP1AsGe30OleOFqWLtnajFv9SkApcNvFdqoItN2XC8Jyf0pYSErJ+BSP9JzZ+OKVqw p+qRQ22MLpFcoJsvDnUxHNwwYTDH5E75e7kHEjBBIgW7Q18ubtNGV2ciDnzypg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NjwgX1M3gzybv; Fri, 30 Dec 2022 06:43:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BU6h49u092773; Fri, 30 Dec 2022 06:43:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BU6h4Pj092772; Fri, 30 Dec 2022 06:43:04 GMT (envelope-from git) Date: Fri, 30 Dec 2022 06:43:04 GMT Message-Id: <202212300643.2BU6h4Pj092772@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 72aa7c21e33e - main - multimedia/obs-text-pthread: New port: OBS Studio Plugin: Rich text source plugin for OBS Studio List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 72aa7c21e33e06e0dcc1ef2f8d844e5eae0b3647 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=72aa7c21e33e06e0dcc1ef2f8d844e5eae0b3647 commit 72aa7c21e33e06e0dcc1ef2f8d844e5eae0b3647 Author: Yuri Victorovich AuthorDate: 2022-12-30 05:54:41 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-30 06:42:57 +0000 multimedia/obs-text-pthread: New port: OBS Studio Plugin: Rich text source plugin for OBS Studio --- multimedia/Makefile | 1 + multimedia/obs-text-pthread/Makefile | 29 +++++++++++++++++++++++++++++ multimedia/obs-text-pthread/distinfo | 3 +++ multimedia/obs-text-pthread/pkg-descr | 18 ++++++++++++++++++ 4 files changed, 51 insertions(+) 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