Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] yank: update to 1.2.0.
@ 2023-02-17 19:13 icp1994
  2023-02-17 19:32 ` [PR PATCH] [Updated] " icp1994
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: icp1994 @ 2023-02-17 19:13 UTC (permalink / raw)
  To: ml

[-- 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
 }

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

end of thread, other threads:[~2023-03-06 20:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17 19:13 [PR PATCH] yank: update to 1.2.0 icp1994
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

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).