Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] yank: update to 1.2.0.
Date: Fri, 17 Feb 2023 20:13:51 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42332@inbox.vuxu.org> (raw)

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

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

https://github.com/icp1994/void-packages yank
https://github.com/void-linux/void-packages/pull/42332

yank: update to 1.2.0.
#### Testing the changes
- I tested the changes in this PR: **YES (wayland)**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

I want to use this pkg in wayland so I added the build options, keeping the default as same as before.

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

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

From ac2713671ba6453b7c95ca0355ec10beca1c9f5c Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Fri, 17 Feb 2023 22:50:39 +0530
Subject: [PATCH] yank: update to 1.2.0.

---
 srcpkgs/yank/template | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/yank/template b/srcpkgs/yank/template
index 079591099a77..4f77d1acb297 100644
--- a/srcpkgs/yank/template
+++ b/srcpkgs/yank/template
@@ -4,7 +4,8 @@ version=1.2.0
 revision=1
 build_style=gnu-makefile
 make_use_env=yes
-depends="xsel"
+make_build_args="YANKCMD=$(vopt_if wayland wl-copy)"
+depends="$(vopt_if x11 xsel) $(vopt_if wayland wl-clipboard)"
 short_desc="Yank terminal output to clipboard"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
@@ -13,6 +14,9 @@ changelog="https://raw.githubusercontent.com/mptre/yank/master/CHANGELOG.md"
 distfiles="https://github.com/mptre/yank/releases/download/v${version}/yank-${version}.tar.gz"
 checksum=b500d1a71378e69a2a348032107e6d8db728b8f6af280a9bb4cb446c1d26e43a
 
+build_options="x11 wayland"
+build_options_default="x11"
+
 post_install() {
 	vlicense LICENSE
 }

             reply	other threads:[~2023-02-17 19:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-17 19:13 icp1994 [this message]
2023-02-17 19:32 ` [PR PATCH] [Updated] " icp1994
2023-02-17 19:34 ` [PR PATCH] [Updated] yank: update to 1.3.0 icp1994
2023-02-18 19:04 ` icp1994
2023-02-19 19:11 ` icp1994
2023-03-06 19:55 ` [PR REVIEW] " paper42
2023-03-06 20:01 ` icp1994
2023-03-06 20:13 ` [PR PATCH] [Merged]: " paper42

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42332@inbox.vuxu.org \
    --to=icp1994@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).