mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 23:39:00 -04:00
33 lines
664 B
Bash
33 lines
664 B
Bash
# Copyright 2024-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
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"
|
|
|
|
RDEPEND="
|
|
app-misc/jq
|
|
gui-apps/grim
|
|
gui-apps/slurp
|
|
gui-apps/wl-clipboard
|
|
gui-wm/hyprland
|
|
x11-libs/libnotify
|
|
"
|
|
|
|
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
|
|
}
|