public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthew Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/sway/
Date: Fri,  8 Jul 2022 15:29:14 +0000 (UTC)	[thread overview]
Message-ID: <1657294150.5073f0faab8c73622ba39bf1b2e3d67cea6d315a.prometheanfire@gentoo> (raw)

commit:     5073f0faab8c73622ba39bf1b2e3d67cea6d315a
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Apr 16 14:25:50 2022 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Jul  8 15:29:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5073f0fa

gui-wm/sway: introduce grimshot: utility for taking screenshots

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 gui-wm/sway/sway-1.7-r1.ebuild |  9 +++++++--
 gui-wm/sway/sway-9999.ebuild   | 19 ++++++++++++++++++-
 2 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/gui-wm/sway/sway-1.7-r1.ebuild b/gui-wm/sway/sway-1.7-r1.ebuild
index ebf427818f84..7ad45789f21a 100644
--- a/gui-wm/sway/sway-1.7-r1.ebuild
+++ b/gui-wm/sway/sway-1.7-r1.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]]; then
 else
 	MY_PV=${PV/_rc/-rc}
 	SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm64"
+	KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
 	S="${WORKDIR}/${PN}-${MY_PV}"
 fi
 
@@ -37,6 +37,11 @@ DEPEND="
 	swaybg? ( gui-apps/swaybg )
 	swayidle? ( gui-apps/swayidle )
 	swaylock? ( gui-apps/swaylock )
+	tray? ( || (
+		sys-apps/systemd
+		sys-auth/elogind
+		sys-libs/basu
+	) )
 	wallpapers? ( x11-libs/gdk-pixbuf:2[jpeg] )
 	X? ( x11-libs/libxcb:0= )
 "
@@ -69,6 +74,7 @@ if [[ ${PV} == 9999 ]]; then
 else
 	BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )"
 fi
+REQUIRED_USE="grimshot? ( swaymsg )"
 
 src_configure() {
 	local emesonargs=(
@@ -82,7 +88,6 @@ src_configure() {
 		-Dfish-completions=true
 		-Dzsh-completions=true
 		-Dbash-completions=true
-		-Dwerror=false
 	)
 
 	meson_src_configure

diff --git a/gui-wm/sway/sway-9999.ebuild b/gui-wm/sway/sway-9999.ebuild
index 3f38a9b21df9..3c0073c3c363 100644
--- a/gui-wm/sway/sway-9999.ebuild
+++ b/gui-wm/sway/sway-9999.ebuild
@@ -20,7 +20,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="+man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag tray wallpapers X"
+IUSE="grimshot +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag tray wallpapers X"
 
 DEPEND="
 	>=dev-libs/json-c-0.13:0=
@@ -55,6 +55,13 @@ else
 fi
 RDEPEND="
 	x11-misc/xkeyboard-config
+	grimshot? (
+		app-misc/jq
+		gui-apps/grim
+		gui-apps/slurp
+		gui-apps/wl-clipboard
+		x11-libs/libnotify
+	)
 	${DEPEND}
 "
 BDEPEND="
@@ -67,6 +74,7 @@ if [[ ${PV} == 9999 ]]; then
 else
 	BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )"
 fi
+REQUIRED_USE="grimshot? ( swaymsg )"
 
 src_configure() {
 	local emesonargs=(
@@ -84,3 +92,12 @@ src_configure() {
 
 	meson_src_configure
 }
+
+src_install() {
+	meson_src_install
+
+	if use grimshot; then
+		doman contrib/grimshot.1
+		dobin contrib/grimshot
+	fi
+}


             reply	other threads:[~2022-07-08 15:29 UTC|newest]

Thread overview: 108+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08 15:29 Matthew Thode [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-08 15:15 [gentoo-commits] repo/gentoo:master commit in: gui-wm/sway/ Matthew Thode
2024-11-08 15:15 Matthew Thode
2024-05-25 14:55 Matthew Thode
2024-05-23 18:01 Matt Turner
2024-05-04 18:22 Arthur Zamarin
2024-04-26  2:04 Matthew Thode
2024-04-25  2:28 Matthew Thode
2024-04-20 14:26 Matthew Thode
2024-03-18 16:03 Matthew Thode
2024-03-03  2:27 Sam James
2024-02-25  7:16 Sam James
2024-02-25  2:52 Jakov Smolić
2024-02-24 19:10 Matthew Thode
2024-02-24 19:07 Arthur Zamarin
2024-02-24 19:06 Arthur Zamarin
2024-02-18 23:10 Matthew Thode
2024-02-10 15:45 Matthew Thode
2024-01-27 20:24 Matthew Thode
2024-01-01 20:35 Sam James
2024-01-01 20:21 Matthew Thode
2023-09-01 17:05 Arthur Zamarin
2023-05-27 15:29 Sam James
2023-04-13  1:36 Matthew Thode
2023-03-12 22:29 Matthew Thode
2023-02-25 17:45 Matthew Thode
2023-02-13  3:18 Matthew Thode
2023-01-25 20:46 Matthew Thode
2022-12-30  4:10 Matthew Thode
2022-12-25 18:51 Matthew Thode
2022-10-09 16:44 Matthew Thode
2022-07-23 20:41 Matthew Thode
2022-07-08 15:29 Matthew Thode
2022-05-26  5:39 WANG Xuerui
2022-05-26  5:39 WANG Xuerui
2022-05-17  5:59 Sam James
2022-03-25 14:02 Matthew Thode
2022-03-25 14:02 Matthew Thode
2022-03-25 14:00 Matthew Thode
2022-02-22 19:47 Matthew Thode
2022-01-23  1:14 Matthew Thode
2021-12-25  4:31 Matthew Thode
2021-10-11 15:24 Matthew Thode
2021-08-24 16:00 Matthew Thode
2021-08-11  2:05 Sam James
2021-07-31  0:18 Sam James
2021-07-24 20:26 Matthew Thode
2021-07-21  2:22 Yixun Lan
2021-06-25 16:03 Matthew Thode
2021-06-09 18:13 Matthew Thode
2021-05-09 18:00 Matthew Thode
2021-04-22 19:55 Matthew Thode
2021-04-08 15:45 Matthew Thode
2021-02-09 22:59 Matthew Thode
2021-01-24 22:58 Matthew Thode
2021-01-21 19:06 Matthew Thode
2021-01-14 16:45 Matthew Thode
2020-12-19 21:55 Matthew Thode
2020-12-11 18:02 Matthew Thode
2020-11-11 20:28 Aaron Bauman
2020-11-11 17:24 Aaron Bauman
2020-11-11 17:24 Aaron Bauman
2020-11-11 17:03 Aaron Bauman
2020-11-10 18:26 Aaron Bauman
2020-09-30 18:35 Matthew Thode
2020-09-30 15:56 Matthew Thode
2020-09-15 16:29 Matthew Thode
2020-07-25 19:33 Sam James
2020-07-25 11:16 Sam James
2020-07-16 14:50 Matthew Thode
2020-06-30 20:08 Matthew Thode
2020-06-28  0:07 Aaron Bauman
2020-06-27 20:58 Matthew Thode
2020-06-18 19:00 Matthew Thode
2020-06-09 21:17 Matthew Thode
2020-05-29 15:07 Matthew Thode
2020-02-22 21:39 Matthew Thode
2020-02-22 21:39 Matthew Thode
2020-01-24  4:19 Georgy Yakovlev
2020-01-24  4:19 Georgy Yakovlev
2020-01-22 22:20 Matthew Thode
2020-01-22 22:20 Matthew Thode
2020-01-12  1:16 Matthew Thode
2020-01-11 20:02 Matthew Thode
2019-09-27 18:12 Matthew Thode
2019-09-27 18:12 Matthew Thode
2019-08-28 17:37 Matthew Thode
2019-08-27 16:03 Matthew Thode
2019-07-24  3:23 Aaron Bauman
2019-06-27 15:25 Matthew Thode
2019-06-03 15:03 Matthew Thode
2019-06-03 15:03 Matthew Thode
2019-05-29 20:45 Aaron Bauman
2019-05-21 16:57 Matthew Thode
2019-05-11 18:18 Matthew Thode
2019-05-03 18:33 Matthew Thode
2019-05-03 18:33 Matthew Thode
2019-04-30  3:35 Matthew Thode
2019-04-24 23:11 Thomas Deutschmann
2019-04-10  5:03 Aaron Bauman
2019-04-10  3:01 Aaron Bauman
2019-03-29 21:24 Aaron Bauman
2019-03-12 13:49 Matthew Thode
2019-03-04 21:35 Matthew Thode
2019-02-28 15:51 Matthew Thode
2019-02-26  1:04 Matthew Thode
2019-02-22 22:54 Aaron Bauman
2019-02-22 22:54 Aaron Bauman

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=1657294150.5073f0faab8c73622ba39bf1b2e3d67cea6d315a.prometheanfire@gentoo \
    --to=prometheanfire@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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