From 5187a389969d8125f5275f4ae8e0744b563089a6 Mon Sep 17 00:00:00 2001 From: Filip Kobierski Date: Fri, 4 Apr 2025 18:16:08 +0200 Subject: [PATCH] gui-apps/hyprshot: sync live Signed-off-by: Filip Kobierski --- gui-apps/hyprshot/hyprshot-9999.ebuild | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gui-apps/hyprshot/hyprshot-9999.ebuild b/gui-apps/hyprshot/hyprshot-9999.ebuild index 3d29e726e5..085e84d4c2 100644 --- a/gui-apps/hyprshot/hyprshot-9999.ebuild +++ b/gui-apps/hyprshot/hyprshot-9999.ebuild @@ -1,31 +1,32 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit git-r3 -DESCRIPTION="Hyprshot is an utility to easily take screenshot in Hyprland using your mouse" +inherit git-r3 optfeature + +DESCRIPTION="Utility to easily take screenshots in Hyprland using your mouse" HOMEPAGE="https://github.com/Gustash/Hyprshot/" EGIT_REPO_URI="https://github.com/Gustash/Hyprshot.git/" LICENSE="GPL-3" SLOT="0" -IUSE="+xdg +freeze" - RDEPEND=" app-misc/jq - app-shells/bash gui-apps/grim gui-apps/slurp 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 +}