summaryrefslogtreecommitdiff
path: root/graphics/vhs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/vhs')
-rw-r--r--graphics/vhs/Makefile12
-rw-r--r--graphics/vhs/distinfo10
2 files changed, 14 insertions, 8 deletions
diff --git a/graphics/vhs/Makefile b/graphics/vhs/Makefile
index dd6ed5fa5f4c..874050dcfe21 100644
--- a/graphics/vhs/Makefile
+++ b/graphics/vhs/Makefile
@@ -1,10 +1,9 @@
PORTNAME= vhs
DISTVERSIONPREFIX= v
-DISTVERSION= 0.9.0
-PORTREVISION= 2
+DISTVERSION= 0.10.0
CATEGORIES= graphics
-MAINTAINER= DtxdF@disroot.org
+MAINTAINER= dtxdf@FreeBSD.org
COMMENT= Your CLI home video recorder
WWW= https://github.com/charmbracelet/vhs
@@ -17,6 +16,9 @@ RUN_DEPENDS= bash>0:shells/bash \
USES= go:modules
GO_MODULE= github.com/charmbracelet/vhs
+GO_BUILDFLAGS= -ldflags "\
+ -X 'main.Version=${DISTVERSIONPREFIX}${DISTVERSION}' \
+ -X 'main.CommitSHA=${GITID}'"
PLIST_FILES= bin/vhs
@@ -29,4 +31,8 @@ UNGOOGLED_CHROMIUM_DESC= Install ungoogled-chromium
CHROMIUM_RUN_DEPENDS= chromium>0:www/chromium
UNGOOGLED_CHROMIUM_RUN_DEPENDS= ungoogled-chromium>0:www/ungoogled-chromium
+# Run 'git checkout ${DISTVERSIONPREFIX}${DISTVERSION} && git rev-parse HEAD'
+# in the VHS repository to get the value of GITID.
+GITID= 710bb769af94d844ffdc3c8b737a6775813fc0a4
+
.include <bsd.port.mk>
diff --git a/graphics/vhs/distinfo b/graphics/vhs/distinfo
index 443e659b86a3..2f85fb13f24e 100644
--- a/graphics/vhs/distinfo
+++ b/graphics/vhs/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1739414655
-SHA256 (go/graphics_vhs/vhs-v0.9.0/v0.9.0.mod) = d4fcee68f3136d8950b5ef4f91dadc15ab3bd98df21123f4089a8ee2bd144104
-SIZE (go/graphics_vhs/vhs-v0.9.0/v0.9.0.mod) = 2961
-SHA256 (go/graphics_vhs/vhs-v0.9.0/v0.9.0.zip) = 988a5589b1d9461b87f5f6f54be47a890fc0e74c4f9bafef87317948d4bfbae0
-SIZE (go/graphics_vhs/vhs-v0.9.0/v0.9.0.zip) = 213150
+TIMESTAMP = 1750315587
+SHA256 (go/graphics_vhs/vhs-v0.10.0/v0.10.0.mod) = 16aba18b78ef0c467431c45af4460aa611c40263953732b0b41c043233b715ed
+SIZE (go/graphics_vhs/vhs-v0.10.0/v0.10.0.mod) = 3244
+SHA256 (go/graphics_vhs/vhs-v0.10.0/v0.10.0.zip) = a5a5ebd738e5deb127454221076a1f8575e4747c9bb2e0ae7d521a7e5325d202
+SIZE (go/graphics_vhs/vhs-v0.10.0/v0.10.0.zip) = 214438