From nobody Wed Aug 09 13:04:44 2023 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 4RLVdT1LKkz4pxMd; Wed, 9 Aug 2023 13:04:45 +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 4RLVdT090lz4Fmf; Wed, 9 Aug 2023 13:04:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691586285; 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=H01wGURCTIpL7hFeQnQY+k8qARSMXy46O9JWz/9Wf44=; b=fNN7GlNgNcrLuGImLHcqDWhJHGVIPfPjhA06GpHGbiPBYTkDmutynrk+AAjT6wPuRwYlbT wChCH8KONofou/quG1H3NgMAwQVxPh+AgzecK5Zm6G2hlCCC6Q7N/a4mOlsFPPyHxwiTTA iUkWy80gp9+zpra5r1ADJ/FSTAx0dY7uvB2u9K1VtK+sT3i8FLdZEeipoA/ClMKtX6rghH 4kcs2ksoLdEvtyfs1c1Py/NaBmNiJNPK+Ezke7INe6FwYl+avp8wS2tg7uguMAMjL+6gtt /z3c6QhUGyS1QitBBkryVm5OyLHZboT/9qrRUv4TakbbMjzpjTmArDcJ7Q69Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691586285; 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=H01wGURCTIpL7hFeQnQY+k8qARSMXy46O9JWz/9Wf44=; b=RHLs5VZwGnofk2tY9NonuW/ob4WYHY1+zdffd4cy+qHHb7Gcifc4cNICXFQ+bnJF2MgIpi DZ4oIPnj6VsnMEZMOmb6DUdleO4jr8NHSqCEmbgB3dC2S3qJmcaQqCAk1QdW9T8HRzcwCQ dHJ+YaZa9/RjnbMxOLu6ucy5YFNng64c3LLBhnLLudFl7S926dbOIq9Hwl+PWBBIyGSVgc l3SSISH+YxjsNDIeih8cLzJr7MK4twDGRjaSdouhuScx9TCzO6p5azUWAIrR7Y3mVEa0Qy Xy2Kpad7j5A7a1BH5lhMIeS/ApvTVP1Yt4hP0sSBCqFHiQxva5W6cPKf2JsxkA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691586285; a=rsa-sha256; cv=none; b=Z7pkDC37HxqdeUntVdop77BgoA+j+TsgjhCO7Rxu1xKZaztrRQ/HP4FOfY3MpdkgNVHD5e kvUMRzzzQTApFpY8LUQ1rAyAN5rmj6elMqxLwigWM6xkie7bAg3iZgOb3U86pXH+qnE1Gp 8pClRF6LfXMuTjMVOrXHFS2QLjw0FJN0c8KToiSZjhSSi4cGCPf+4z+7rdelWHf/mOWav0 e0rZ+FZHUBHusN2UnY0/5xSWIuS0GXLbjzjieZGvRP4GU19hZSST/HhM9Ivx4cF8p3L/WS zhA+tN1K3MWkyzgnFbHRf7HY8IvGz56Tp3BLM/LMzxBx4f2qx8ScbU35kQllQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RLVdS6Mlvz2b8; Wed, 9 Aug 2023 13:04:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 379D4ix6090489; Wed, 9 Aug 2023 13:04:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 379D4iME090486; Wed, 9 Aug 2023 13:04:44 GMT (envelope-from git) Date: Wed, 9 Aug 2023 13:04:44 GMT Message-Id: <202308091304.379D4iME090486@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: fdddeeade8d5 - main - graphics/vhs: New port: Your CLI home video recorder 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fdddeeade8d5997d4c4062f8b56799f685b4ffe6 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=fdddeeade8d5997d4c4062f8b56799f685b4ffe6 commit fdddeeade8d5997d4c4062f8b56799f685b4ffe6 Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2023-08-08 07:35:55 +0000 Commit: Robert Clausecker CommitDate: 2023-08-09 13:01:27 +0000 graphics/vhs: New port: Your CLI home video recorder VHS is a CLI home video recorder that provides an intuitive way to write custom terminal GIFs as code for integration testing and demoing your CLI tools. WWW: https://github.com/charmbracelet/vhs PR: 270036 --- graphics/Makefile | 1 + graphics/vhs/Makefile | 31 ++++++++++++++++++++++ graphics/vhs/distinfo | 5 ++++ ...r_github.com_go-rod_rod_lib_launcher_browser.go | 13 +++++++++ graphics/vhs/pkg-descr | 3 +++ graphics/vhs/pkg-message | 8 ++++++ 6 files changed, 61 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 5e67a56dfe6a..8a01b3895276 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1159,6 +1159,7 @@ SUBDIR += vapoursynth-waifu2x-w2xc SUBDIR += variety SUBDIR += vcg + SUBDIR += vhs SUBDIR += viewnior SUBDIR += vigra SUBDIR += vips diff --git a/graphics/vhs/Makefile b/graphics/vhs/Makefile new file mode 100644 index 000000000000..8e3f0204e968 --- /dev/null +++ b/graphics/vhs/Makefile @@ -0,0 +1,31 @@ +PORTNAME= vhs +DISTVERSIONPREFIX= v +DISTVERSION= 0.6.0 +CATEGORIES= graphics + +MAINTAINER= DtxdF@disroot.org +COMMENT= Your CLI home video recorder +WWW= https://github.com/charmbracelet/vhs + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= bash>0:shells/bash \ + ffmpeg>0:multimedia/ffmpeg \ + ttyd>0:sysutils/ttyd + +USES= go:modules +GO_MODULE= github.com/charmbracelet/vhs + +PLIST_FILES= bin/vhs + +OPTIONS_RADIO= BROWSER +OPTIONS_RADIO_BROWSER= CHROMIUM UNGOOGLED_CHROMIUM +BROWSER_DESC= Browser driver to web automation and scraping +CHROMIUM_DESC= Install google chromium +UNGOOGLED_CHROMIUM_DESC= Install ungoogled-chromium + +CHROMIUM_RUN_DEPENDS= chromium>0:www/chromium +UNGOOGLED_CHROMIUM_RUN_DEPENDS= ungoogled-chromium>0:www/ungoogled-chromium + +.include diff --git a/graphics/vhs/distinfo b/graphics/vhs/distinfo new file mode 100644 index 000000000000..9235560181e8 --- /dev/null +++ b/graphics/vhs/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1690840039 +SHA256 (go/graphics_vhs/vhs-v0.6.0/v0.6.0.mod) = 3b20602734cb2dc68a943cb9c3c3534c2e688b003e11f908b5a44e6ad33f9b0c +SIZE (go/graphics_vhs/vhs-v0.6.0/v0.6.0.mod) = 2142 +SHA256 (go/graphics_vhs/vhs-v0.6.0/v0.6.0.zip) = 96319d5468f7bdf4fa239826d5f14dad30e61810de65fd1cfc99c966f0662fd0 +SIZE (go/graphics_vhs/vhs-v0.6.0/v0.6.0.zip) = 183582 diff --git a/graphics/vhs/files/patch-vendor_github.com_go-rod_rod_lib_launcher_browser.go b/graphics/vhs/files/patch-vendor_github.com_go-rod_rod_lib_launcher_browser.go new file mode 100644 index 000000000000..05cc8b99ebd5 --- /dev/null +++ b/graphics/vhs/files/patch-vendor_github.com_go-rod_rod_lib_launcher_browser.go @@ -0,0 +1,13 @@ +--- vendor/github.com/go-rod/rod/lib/launcher/browser.go.orig 2023-03-07 14:57:56 UTC ++++ vendor/github.com/go-rod/rod/lib/launcher/browser.go +@@ -303,6 +303,10 @@ func LookPath() (found string, has bool) { + "/usr/bin/chromium-browser", + "/snap/bin/chromium", + }, ++ "freebsd": { ++ "chrome", ++ "ungoogled-chromium", ++ }, + "windows": append([]string{"chrome", "edge"}, expandWindowsExePaths( + `Google\Chrome\Application\chrome.exe`, + `Chromium\Application\chrome.exe`, diff --git a/graphics/vhs/pkg-descr b/graphics/vhs/pkg-descr new file mode 100644 index 000000000000..cfe4133151e9 --- /dev/null +++ b/graphics/vhs/pkg-descr @@ -0,0 +1,3 @@ +VHS is a CLI home video recorder that provides an intuitive way to +write custom terminal GIFs as code for integration testing and +demoing your CLI tools. diff --git a/graphics/vhs/pkg-message b/graphics/vhs/pkg-message new file mode 100644 index 000000000000..ac3369ad5bfa --- /dev/null +++ b/graphics/vhs/pkg-message @@ -0,0 +1,8 @@ +[ +{ type: install + message: <