From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-apps/hyprshot/
Date: Sat, 05 Apr 2025 07:40:29 +0000 (UTC) [thread overview]
Message-ID: <1743783311.3f9aedcfece36796bc2eeace947b03e7e4450896.davidroman@gentoo> (raw)
commit: 3f9aedcfece36796bc2eeace947b03e7e4450896
Author: Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Fri Apr 4 15:50:48 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Apr 4 16:15:11 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f9aedcf
gui-apps/hyprshot: improve ebuild a bit
- improve DESCRIPTION
- remove USE flags & add optfeatures
- they were controlling runtime dependencies, which is incorrect
Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
.../{hyprshot-1.3.0.ebuild => hyprshot-1.3.0-r1.ebuild} | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/gui-apps/hyprshot/hyprshot-1.3.0.ebuild b/gui-apps/hyprshot/hyprshot-1.3.0-r1.ebuild
similarity index 66%
rename from gui-apps/hyprshot/hyprshot-1.3.0.ebuild
rename to gui-apps/hyprshot/hyprshot-1.3.0-r1.ebuild
index ee8b5e9e7..7db972012 100644
--- a/gui-apps/hyprshot/hyprshot-1.3.0.ebuild
+++ b/gui-apps/hyprshot/hyprshot-1.3.0-r1.ebuild
@@ -3,18 +3,17 @@
EAPI=8
-DESCRIPTION="Hyprshot is a utility to easily take screenshot in Hyprland using your mouse"
+inherit optfeature
+
+DESCRIPTION="Utility to easily take screenshots in Hyprland using your mouse"
HOMEPAGE="https://github.com/Gustash/Hyprshot/"
SRC_URI="https://github.com/Gustash/Hyprshot/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
S="${WORKDIR}"/Hyprshot-${PV}
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="+xdg +freeze"
-
RDEPEND="
app-misc/jq
gui-apps/grim
@@ -22,11 +21,14 @@ RDEPEND="
gui-apps/wl-clipboard
gui-wm/hyprland
x11-libs/libnotify
- xdg? ( x11-misc/xdg-user-dirs )
- freeze? ( gui-apps/hyprpicker )
"
src_install() {
dobin hyprshot
einstalldocs
}
+
+pkg_postinst() {
+ optfeature "Screen freezing with --freeze" gui-apps/hyprpicker
+ optfeature "$XDG_PICTURES_DIR detection" x11-misc/xdg-user-dirs
+}
next reply other threads:[~2025-04-05 7:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-05 7:40 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-05 18:35 [gentoo-commits] repo/proj/guru:master commit in: gui-apps/hyprshot/ David Roman
2025-04-05 7:40 David Roman
2025-04-05 7:40 David Roman
2025-04-05 7:40 David Roman
2025-04-05 7:40 David Roman
2025-04-05 7:40 David Roman
2024-09-09 15:25 David Roman
2024-09-06 8:52 David Roman
2024-07-04 11:19 David Roman
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=1743783311.3f9aedcfece36796bc2eeace947b03e7e4450896.davidroman@gentoo \
--to=davidroman96@gmail.com \
--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