gui-apps/hyprshot: sync live

Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
Filip Kobierski 2025-04-04 18:16:08 +02:00
parent 3f9aedcfec
commit 5187a38996
No known key found for this signature in database
GPG Key ID: 756535402AA9903A

View File

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