Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] vhs: install example tape files
@ 2022-10-28 15:21 tranzystorek-io
  2022-10-28 19:56 ` [PR PATCH] [Updated] " tranzystorek-io
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: tranzystorek-io @ 2022-10-28 15:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]

There is a new pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages vhs-tapes
https://github.com/void-linux/void-packages/pull/40205

vhs: install example tape files
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40205.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vhs-tapes-40205.patch --]
[-- Type: text/x-diff, Size: 1110 bytes --]

From dba2e741327c56d0fa0cb2403dab5e42ce8f4b4e Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 28 Oct 2022 17:19:59 +0200
Subject: [PATCH] vhs: install example tape files

---
 srcpkgs/vhs/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vhs/template b/srcpkgs/vhs/template
index d05a04fa5e05..8a41c4491a4a 100644
--- a/srcpkgs/vhs/template
+++ b/srcpkgs/vhs/template
@@ -1,7 +1,7 @@
 # Template file for 'vhs'
 pkgname=vhs
 version=0.1.0
-revision=1
+revision=2
 build_style=go
 build_helper=qemu
 go_import_path="github.com/charmbracelet/vhs"
@@ -17,6 +17,13 @@ checksum=7a1d36482dec0ab158bef852fa0f9e90ce6b7011bc9dd56244fd84692e17433b
 post_install() {
 	vlicense LICENSE
 
+	# install tape examples
+	for dir in commands fixtures settings; do
+		vmkdir usr/share/examples/vhs/${dir}
+		vcopy "examples/${dir}/*.tape" usr/share/examples/vhs/${dir}
+	done
+	vcopy "examples/*.tape" usr/share/examples/vhs
+
 	VHS="${DESTDIR}/usr/bin/vhs"
 	for shell in bash fish zsh; do
 		vtargetrun ${VHS} completion ${shell} > vhs.${shell}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] vhs: install example tape files
  2022-10-28 15:21 [PR PATCH] vhs: install example tape files tranzystorek-io
@ 2022-10-28 19:56 ` tranzystorek-io
  2022-10-28 19:58 ` [PR PATCH] [Updated] vhs: update to 0.1.1 tranzystorek-io
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tranzystorek-io @ 2022-10-28 19:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages vhs-tapes
https://github.com/void-linux/void-packages/pull/40205

vhs: install example tape files
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40205.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vhs-tapes-40205.patch --]
[-- Type: text/x-diff, Size: 1055 bytes --]

From 6f2a6b357c5f848b51c03945be4d27514471709f Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 28 Oct 2022 17:19:59 +0200
Subject: [PATCH] vhs: update to 0.1.1

---
 srcpkgs/vhs/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vhs/template b/srcpkgs/vhs/template
index d05a04fa5e05..63e00138c2a9 100644
--- a/srcpkgs/vhs/template
+++ b/srcpkgs/vhs/template
@@ -1,6 +1,6 @@
 # Template file for 'vhs'
 pkgname=vhs
-version=0.1.0
+version=0.1.1
 revision=1
 build_style=go
 build_helper=qemu
@@ -17,6 +17,13 @@ checksum=7a1d36482dec0ab158bef852fa0f9e90ce6b7011bc9dd56244fd84692e17433b
 post_install() {
 	vlicense LICENSE
 
+	# install tape examples
+	for dir in commands fixtures settings; do
+		vmkdir usr/share/examples/vhs/${dir}
+		vcopy "examples/${dir}/*.tape" usr/share/examples/vhs/${dir}
+	done
+	vcopy "examples/*.tape" usr/share/examples/vhs
+
 	VHS="${DESTDIR}/usr/bin/vhs"
 	for shell in bash fish zsh; do
 		vtargetrun ${VHS} completion ${shell} > vhs.${shell}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] vhs: update to 0.1.1
  2022-10-28 15:21 [PR PATCH] vhs: install example tape files tranzystorek-io
  2022-10-28 19:56 ` [PR PATCH] [Updated] " tranzystorek-io
@ 2022-10-28 19:58 ` tranzystorek-io
  2022-10-29 18:49 ` abenson
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tranzystorek-io @ 2022-10-28 19:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages vhs-tapes
https://github.com/void-linux/void-packages/pull/40205

vhs: update to 0.1.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40205.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vhs-tapes-40205.patch --]
[-- Type: text/x-diff, Size: 1346 bytes --]

From 97ee8051f28b5dae0f955bef9c3e679e160c7b5b Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 28 Oct 2022 17:19:59 +0200
Subject: [PATCH] vhs: update to 0.1.1

---
 srcpkgs/vhs/template | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/vhs/template b/srcpkgs/vhs/template
index d05a04fa5e05..0514a3d64058 100644
--- a/srcpkgs/vhs/template
+++ b/srcpkgs/vhs/template
@@ -1,6 +1,6 @@
 # Template file for 'vhs'
 pkgname=vhs
-version=0.1.0
+version=0.1.1
 revision=1
 build_style=go
 build_helper=qemu
@@ -12,11 +12,18 @@ maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
 license="MIT"
 homepage="https://github.com/charmbracelet/vhs"
 distfiles="https://github.com/charmbracelet/vhs/archive/refs/tags/v${version}.tar.gz"
-checksum=7a1d36482dec0ab158bef852fa0f9e90ce6b7011bc9dd56244fd84692e17433b
+checksum=d5d6dddd8f9fd2beb6d1ea232efaa1c9dbfa4e53011d2aebdbe830d952665776
 
 post_install() {
 	vlicense LICENSE
 
+	# install tape examples
+	for dir in commands fixtures settings; do
+		vmkdir usr/share/examples/vhs/${dir}
+		vcopy "examples/${dir}/*.tape" usr/share/examples/vhs/${dir}
+	done
+	vcopy "examples/*.tape" usr/share/examples/vhs
+
 	VHS="${DESTDIR}/usr/bin/vhs"
 	for shell in bash fish zsh; do
 		vtargetrun ${VHS} completion ${shell} > vhs.${shell}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: vhs: update to 0.1.1
  2022-10-28 15:21 [PR PATCH] vhs: install example tape files tranzystorek-io
  2022-10-28 19:56 ` [PR PATCH] [Updated] " tranzystorek-io
  2022-10-28 19:58 ` [PR PATCH] [Updated] vhs: update to 0.1.1 tranzystorek-io
@ 2022-10-29 18:49 ` abenson
  2022-10-29 20:12 ` [PR PATCH] [Updated] " tranzystorek-io
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: abenson @ 2022-10-29 18:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 463 bytes --]

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/40205#issuecomment-1295934924

Comment:
I just noticed that vhs's dependency on go-rod means it breaks without [chrome/chromium](https://github.com/go-rod/rod/blob/20d37c378c595a4244d0870925320637e8a491be/lib/launcher/browser.go#L281).

    panic: [launcher] Failed to get the debug url: /usr/bin/env: ‘google-chrome-stable’: No such file or directory



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] vhs: update to 0.1.1
  2022-10-28 15:21 [PR PATCH] vhs: install example tape files tranzystorek-io
                   ` (2 preceding siblings ...)
  2022-10-29 18:49 ` abenson
@ 2022-10-29 20:12 ` tranzystorek-io
  2022-10-29 20:19 ` tranzystorek-io
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tranzystorek-io @ 2022-10-29 20:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages vhs-tapes
https://github.com/void-linux/void-packages/pull/40205

vhs: update to 0.1.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40205.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vhs-tapes-40205.patch --]
[-- Type: text/x-diff, Size: 1519 bytes --]

From 2457747f26b2d1e4eb3a403b1c86feccb27644d4 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 28 Oct 2022 17:19:59 +0200
Subject: [PATCH] vhs: update to 0.1.1

---
 srcpkgs/vhs/template | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/vhs/template b/srcpkgs/vhs/template
index d05a04fa5e05..6f3897d9f267 100644
--- a/srcpkgs/vhs/template
+++ b/srcpkgs/vhs/template
@@ -1,22 +1,29 @@
 # Template file for 'vhs'
 pkgname=vhs
-version=0.1.0
+version=0.1.1
 revision=1
 build_style=go
 build_helper=qemu
 go_import_path="github.com/charmbracelet/vhs"
 go_ldflags="-X main.Version=v${version}"
-depends="ffmpeg ttyd"
+depends="chromium ffmpeg ttyd"
 short_desc="Your CLI home video recorder"
 maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
 license="MIT"
 homepage="https://github.com/charmbracelet/vhs"
 distfiles="https://github.com/charmbracelet/vhs/archive/refs/tags/v${version}.tar.gz"
-checksum=7a1d36482dec0ab158bef852fa0f9e90ce6b7011bc9dd56244fd84692e17433b
+checksum=d5d6dddd8f9fd2beb6d1ea232efaa1c9dbfa4e53011d2aebdbe830d952665776
 
 post_install() {
 	vlicense LICENSE
 
+	# install tape examples
+	for dir in commands fixtures settings; do
+		vmkdir usr/share/examples/vhs/${dir}
+		vcopy "examples/${dir}/*.tape" usr/share/examples/vhs/${dir}
+	done
+	vcopy "examples/*.tape" usr/share/examples/vhs
+
 	VHS="${DESTDIR}/usr/bin/vhs"
 	for shell in bash fish zsh; do
 		vtargetrun ${VHS} completion ${shell} > vhs.${shell}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: vhs: update to 0.1.1
  2022-10-28 15:21 [PR PATCH] vhs: install example tape files tranzystorek-io
                   ` (3 preceding siblings ...)
  2022-10-29 20:12 ` [PR PATCH] [Updated] " tranzystorek-io
@ 2022-10-29 20:19 ` tranzystorek-io
  2022-10-29 22:02 ` [PR PATCH] [Updated] " tranzystorek-io
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tranzystorek-io @ 2022-10-29 20:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

New comment by tranzystorek-io on void-packages repository

https://github.com/void-linux/void-packages/pull/40205#issuecomment-1295961850

Comment:
rod launcher should download chrome if it's missing, but I added chromium to depends since it's used anyway

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] vhs: update to 0.1.1
  2022-10-28 15:21 [PR PATCH] vhs: install example tape files tranzystorek-io
                   ` (4 preceding siblings ...)
  2022-10-29 20:19 ` tranzystorek-io
@ 2022-10-29 22:02 ` tranzystorek-io
  2022-10-30 11:51 ` tranzystorek-io
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tranzystorek-io @ 2022-10-29 22:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages vhs-tapes
https://github.com/void-linux/void-packages/pull/40205

vhs: update to 0.1.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40205.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vhs-tapes-40205.patch --]
[-- Type: text/x-diff, Size: 1600 bytes --]

From 042fa07fb62018a6ae77865eaac09dda83a656c3 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 28 Oct 2022 17:19:59 +0200
Subject: [PATCH] vhs: update to 0.1.1

---
 srcpkgs/vhs/template | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/vhs/template b/srcpkgs/vhs/template
index d05a04fa5e05..49a27e4eeb09 100644
--- a/srcpkgs/vhs/template
+++ b/srcpkgs/vhs/template
@@ -1,6 +1,6 @@
 # Template file for 'vhs'
 pkgname=vhs
-version=0.1.0
+version=0.1.1
 revision=1
 build_style=go
 build_helper=qemu
@@ -12,11 +12,28 @@ maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
 license="MIT"
 homepage="https://github.com/charmbracelet/vhs"
 distfiles="https://github.com/charmbracelet/vhs/archive/refs/tags/v${version}.tar.gz"
-checksum=7a1d36482dec0ab158bef852fa0f9e90ce6b7011bc9dd56244fd84692e17433b
+checksum=d5d6dddd8f9fd2beb6d1ea232efaa1c9dbfa4e53011d2aebdbe830d952665776
+
+# on platforms where chromium is not available, fall back to the go-rod auto downloader
+if [ "${CROSS_BUILD}" ]; then
+	case "${XBPS_TARGET_MACHINE}" in
+		aarch64*) depends+=" chromium" ;;
+		*) ;;
+	esac
+else
+	depends+=" chromium"
+fi
 
 post_install() {
 	vlicense LICENSE
 
+	# install tape examples
+	for dir in commands fixtures settings; do
+		vmkdir usr/share/examples/vhs/${dir}
+		vcopy "examples/${dir}/*.tape" usr/share/examples/vhs/${dir}
+	done
+	vcopy "examples/*.tape" usr/share/examples/vhs
+
 	VHS="${DESTDIR}/usr/bin/vhs"
 	for shell in bash fish zsh; do
 		vtargetrun ${VHS} completion ${shell} > vhs.${shell}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] vhs: update to 0.1.1
  2022-10-28 15:21 [PR PATCH] vhs: install example tape files tranzystorek-io
                   ` (5 preceding siblings ...)
  2022-10-29 22:02 ` [PR PATCH] [Updated] " tranzystorek-io
@ 2022-10-30 11:51 ` tranzystorek-io
  2022-10-31  8:42 ` tranzystorek-io
  2022-11-02  7:54 ` [PR PATCH] [Closed]: " tranzystorek-io
  8 siblings, 0 replies; 10+ messages in thread
From: tranzystorek-io @ 2022-10-30 11:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages vhs-tapes
https://github.com/void-linux/void-packages/pull/40205

vhs: update to 0.1.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40205.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vhs-tapes-40205.patch --]
[-- Type: text/x-diff, Size: 1600 bytes --]

From 01b0bbe7673239b433bd01425d12b61a8d73970c Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 28 Oct 2022 17:19:59 +0200
Subject: [PATCH] vhs: update to 0.1.1

---
 srcpkgs/vhs/template | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/vhs/template b/srcpkgs/vhs/template
index d05a04fa5e05..49a27e4eeb09 100644
--- a/srcpkgs/vhs/template
+++ b/srcpkgs/vhs/template
@@ -1,6 +1,6 @@
 # Template file for 'vhs'
 pkgname=vhs
-version=0.1.0
+version=0.1.1
 revision=1
 build_style=go
 build_helper=qemu
@@ -12,11 +12,28 @@ maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
 license="MIT"
 homepage="https://github.com/charmbracelet/vhs"
 distfiles="https://github.com/charmbracelet/vhs/archive/refs/tags/v${version}.tar.gz"
-checksum=7a1d36482dec0ab158bef852fa0f9e90ce6b7011bc9dd56244fd84692e17433b
+checksum=d5d6dddd8f9fd2beb6d1ea232efaa1c9dbfa4e53011d2aebdbe830d952665776
+
+# on platforms where chromium is not available, fall back to the go-rod auto downloader
+if [ "${CROSS_BUILD}" ]; then
+	case "${XBPS_TARGET_MACHINE}" in
+		aarch64*) depends+=" chromium" ;;
+		*) ;;
+	esac
+else
+	depends+=" chromium"
+fi
 
 post_install() {
 	vlicense LICENSE
 
+	# install tape examples
+	for dir in commands fixtures settings; do
+		vmkdir usr/share/examples/vhs/${dir}
+		vcopy "examples/${dir}/*.tape" usr/share/examples/vhs/${dir}
+	done
+	vcopy "examples/*.tape" usr/share/examples/vhs
+
 	VHS="${DESTDIR}/usr/bin/vhs"
 	for shell in bash fish zsh; do
 		vtargetrun ${VHS} completion ${shell} > vhs.${shell}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] vhs: update to 0.1.1
  2022-10-28 15:21 [PR PATCH] vhs: install example tape files tranzystorek-io
                   ` (6 preceding siblings ...)
  2022-10-30 11:51 ` tranzystorek-io
@ 2022-10-31  8:42 ` tranzystorek-io
  2022-11-02  7:54 ` [PR PATCH] [Closed]: " tranzystorek-io
  8 siblings, 0 replies; 10+ messages in thread
From: tranzystorek-io @ 2022-10-31  8:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages vhs-tapes
https://github.com/void-linux/void-packages/pull/40205

vhs: update to 0.1.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40205.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vhs-tapes-40205.patch --]
[-- Type: text/x-diff, Size: 1600 bytes --]

From af50c82fb4db37033b9066d3083012d610a0f1e6 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 28 Oct 2022 17:19:59 +0200
Subject: [PATCH] vhs: update to 0.1.1

---
 srcpkgs/vhs/template | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/vhs/template b/srcpkgs/vhs/template
index d05a04fa5e05..49a27e4eeb09 100644
--- a/srcpkgs/vhs/template
+++ b/srcpkgs/vhs/template
@@ -1,6 +1,6 @@
 # Template file for 'vhs'
 pkgname=vhs
-version=0.1.0
+version=0.1.1
 revision=1
 build_style=go
 build_helper=qemu
@@ -12,11 +12,28 @@ maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
 license="MIT"
 homepage="https://github.com/charmbracelet/vhs"
 distfiles="https://github.com/charmbracelet/vhs/archive/refs/tags/v${version}.tar.gz"
-checksum=7a1d36482dec0ab158bef852fa0f9e90ce6b7011bc9dd56244fd84692e17433b
+checksum=d5d6dddd8f9fd2beb6d1ea232efaa1c9dbfa4e53011d2aebdbe830d952665776
+
+# on platforms where chromium is not available, fall back to the go-rod auto downloader
+if [ "${CROSS_BUILD}" ]; then
+	case "${XBPS_TARGET_MACHINE}" in
+		aarch64*) depends+=" chromium" ;;
+		*) ;;
+	esac
+else
+	depends+=" chromium"
+fi
 
 post_install() {
 	vlicense LICENSE
 
+	# install tape examples
+	for dir in commands fixtures settings; do
+		vmkdir usr/share/examples/vhs/${dir}
+		vcopy "examples/${dir}/*.tape" usr/share/examples/vhs/${dir}
+	done
+	vcopy "examples/*.tape" usr/share/examples/vhs
+
 	VHS="${DESTDIR}/usr/bin/vhs"
 	for shell in bash fish zsh; do
 		vtargetrun ${VHS} completion ${shell} > vhs.${shell}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Closed]: vhs: update to 0.1.1
  2022-10-28 15:21 [PR PATCH] vhs: install example tape files tranzystorek-io
                   ` (7 preceding siblings ...)
  2022-10-31  8:42 ` tranzystorek-io
@ 2022-11-02  7:54 ` tranzystorek-io
  8 siblings, 0 replies; 10+ messages in thread
From: tranzystorek-io @ 2022-11-02  7:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]

There's a closed pull request on the void-packages repository

vhs: update to 0.1.1
https://github.com/void-linux/void-packages/pull/40205

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-11-02  7:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 15:21 [PR PATCH] vhs: install example tape files tranzystorek-io
2022-10-28 19:56 ` [PR PATCH] [Updated] " tranzystorek-io
2022-10-28 19:58 ` [PR PATCH] [Updated] vhs: update to 0.1.1 tranzystorek-io
2022-10-29 18:49 ` abenson
2022-10-29 20:12 ` [PR PATCH] [Updated] " tranzystorek-io
2022-10-29 20:19 ` tranzystorek-io
2022-10-29 22:02 ` [PR PATCH] [Updated] " tranzystorek-io
2022-10-30 11:51 ` tranzystorek-io
2022-10-31  8:42 ` tranzystorek-io
2022-11-02  7:54 ` [PR PATCH] [Closed]: " tranzystorek-io

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).