mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
gui-apps/hyprshot: optional deps install
Signed-off-by: Michael Zavertkin <misha.zavertkin@mail.ru>
This commit is contained in:
@@ -14,6 +14,8 @@ LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="+xdg"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/jq
|
||||
app-shells/bash
|
||||
@@ -22,13 +24,10 @@ RDEPEND="
|
||||
gui-apps/wl-clipboard
|
||||
gui-wm/hyprland
|
||||
x11-libs/libnotify
|
||||
xdg? ( x11-misc/xdg-user-dirs )
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dobin hyprshot
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "XDG user dir support" x11-misc/xdg-user-dirs
|
||||
}
|
||||
|
||||
@@ -14,6 +14,8 @@ LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="+xdg +freeze"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/jq
|
||||
app-shells/bash
|
||||
@@ -22,15 +24,11 @@ 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 "--freeze option support" gui-apps/hyprpicker
|
||||
optfeature "XDG user dir support" x11-misc/xdg-user-dirs
|
||||
|
||||
}
|
||||
|
||||
@@ -11,6 +11,8 @@ EGIT_REPO_URI="https://github.com/Gustash/Hyprshot.git/"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+xdg +freeze"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/jq
|
||||
app-shells/bash
|
||||
@@ -19,14 +21,11 @@ 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 "--freeze option support" gui-apps/hyprpicker
|
||||
optfeature "XDG user dir support" x11-misc/xdg-user-dirs
|
||||
}
|
||||
|
||||
@@ -8,4 +8,10 @@
|
||||
<upstream>
|
||||
<remote-id type="github">Gustash/Hyprshot</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="xdg">Pull xdg-home as a dependency to use $XDG_PICTURES_DIR</flag>
|
||||
</use>
|
||||
<use>
|
||||
<flag name="freeze">Pull gui-apps/hyprpicker for optional freezing screen</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user