diff --git a/gui-apps/satty/satty-0.7.0.ebuild b/gui-apps/satty/satty-0.7.0.ebuild index e52738eda1..2a51092078 100644 --- a/gui-apps/satty/satty-0.7.0.ebuild +++ b/gui-apps/satty/satty-0.7.0.ebuild @@ -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" diff --git a/gui-apps/satty/satty-9999.ebuild b/gui-apps/satty/satty-9999.ebuild index 8c15115af7..40a73d547d 100644 --- a/gui-apps/satty/satty-9999.ebuild +++ b/gui-apps/satty/satty-9999.ebuild @@ -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"