blob: 3260837bdce87b587c7bab86c774b426bca0f924 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1 git-r3
DESCRIPTION="A helper for screenshots within sway"
HOMEPAGE="https://github.com/OctopusET/sway-contrib"
EGIT_REPO_URI="https://github.com/OctopusET/sway-contrib.git"
LICENSE="MIT"
SLOT="0"
IUSE="libnotify"
RDEPEND="
app-misc/jq
gui-apps/grim
gui-apps/slurp
gui-apps/wl-clipboard
|| ( gui-wm/sway gui-wm/swayfx )
libnotify? ( x11-libs/libnotify )
"
src_install() {
dobin grimshot/grimshot
doman grimshot/grimshot.1
newbashcomp grimshot/grimshot-completion.bash grimshot
}
|