Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] vhs: update to 0.1.1
Date: Tue, 22 Nov 2022 18:37:56 +0100	[thread overview]
Message-ID: <20221122173756.lOLSa_CGowNuWiFh-r6BYBUEtKl5ewYbgs3vvzDd_jU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40293@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1253 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
https://github.com/void-linux/void-packages/pull/40293

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: **briefly**

<!--
#### 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/40293.patch is attached

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

From f666dee52edda503f6e95b6bb22bb33a3c01bc8f 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.2.0

---
 srcpkgs/vhs/template | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/vhs/template b/srcpkgs/vhs/template
index d05a04fa5e05..50e0e17b65f3 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.2.0
 revision=1
 build_style=go
 build_helper=qemu
@@ -12,17 +12,27 @@ 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=3be752dafa1d5637cd3feb5ea72f9396d2ffb7d559a10eff26f430d4a7540689
+
+# 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
 
-	VHS="${DESTDIR}/usr/bin/vhs"
+	local vhs="${DESTDIR}/usr/bin/vhs"
 	for shell in bash fish zsh; do
-		vtargetrun ${VHS} completion ${shell} > vhs.${shell}
+		vtargetrun ${vhs} completion ${shell} > vhs.${shell}
 		vcompletion vhs.${shell} ${shell}
 	done
 
-	vtargetrun ${VHS} manual > vhs.1
+	vtargetrun ${vhs} manual > vhs.1
 	vman vhs.1
 }

  parent reply	other threads:[~2022-11-22 17:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-02  8:01 [PR PATCH] " tranzystorek-io
2022-11-02  8:03 ` tranzystorek-io
2022-11-22 17:37 ` tranzystorek-io [this message]
2022-11-23 14:25 ` [PR PATCH] [Updated] vhs: update to 0.2.0 tranzystorek-io
2022-12-07 16:36 ` [PR PATCH] [Merged]: " Vaelatern
2022-12-07 20:44 ` ar-jan
  -- strict thread matches above, loose matches on Subject: below --
2022-10-28 15:21 [PR PATCH] vhs: install example tape files tranzystorek-io
2022-10-28 19:58 ` [PR PATCH] [Updated] vhs: update to 0.1.1 tranzystorek-io
2022-10-29 20:12 ` tranzystorek-io
2022-10-29 22:02 ` tranzystorek-io
2022-10-30 11:51 ` tranzystorek-io
2022-10-31  8:42 ` tranzystorek-io

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221122173756.lOLSa_CGowNuWiFh-r6BYBUEtKl5ewYbgs3vvzDd_jU@z \
    --to=tranzystorek-io@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).