mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
gui-apps/satty: fix debug useflag and add xdg eclass
Bug: https://bugs.gentoo.org/917672 Closes: https://bugs.gentoo.org/917672 Signed-off-by: Gonçalo Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
@@ -169,7 +169,7 @@ CRATES="
|
||||
zvariant_utils-1.0.1
|
||||
"
|
||||
|
||||
inherit cargo desktop
|
||||
inherit cargo desktop xdg
|
||||
|
||||
DESCRIPTION="A screenshot annotation tool inspired by Swappy and Flameshot."
|
||||
HOMEPAGE="https://github.com/gabm/satty"
|
||||
@@ -197,7 +197,13 @@ QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
cd target/release || die
|
||||
|
||||
if use debug ; then
|
||||
cd target/debug || die
|
||||
else
|
||||
cd target/release || die
|
||||
fi
|
||||
|
||||
dobin satty
|
||||
#Just add the icon and desktop file
|
||||
doicon "${S}/assets/satty.svg"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cargo git-r3 desktop
|
||||
inherit cargo git-r3 desktop xdg
|
||||
|
||||
DESCRIPTION="A screenshot annotation tool inspired by Swappy and Flameshot."
|
||||
HOMEPAGE="https://github.com/gabm/satty"
|
||||
@@ -30,7 +30,13 @@ src_unpack() {
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
cd target/release || die
|
||||
|
||||
if use debug ; then
|
||||
cd target/debug || die
|
||||
else
|
||||
cd target/release || die
|
||||
fi
|
||||
|
||||
dobin satty
|
||||
#Just add the icon and desktop file
|
||||
doicon "${S}/assets/satty.svg"
|
||||
|
||||
Reference in New Issue
Block a user