gui-apps/satty: new package, add 0.7.0, 9999

Signed-off-by: Gonçalo Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
Gonçalo Duarte
2023-11-19 19:17:16 +00:00
parent d6c9e4f85b
commit 7f2d290b04
4 changed files with 412 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cargo git-r3 desktop
DESCRIPTION="A screenshot annotation tool inspired by Swappy and Flameshot."
HOMEPAGE="https://github.com/gabm/satty"
EGIT_REPO_URI="https://github.com/gabm/satty.git"
LICENSE="MPL-2.0"
SLOT="0"
RDEPEND="virtual/rust
x11-libs/pango
dev-libs/glib:2
x11-libs/cairo
gui-libs/libadwaita
gui-libs/gtk:4
x11-libs/gdk-pixbuf:2
"
QA_FLAGS_IGNORED="usr/bin/${PN}"
src_install() {
dodoc README.md
cd target/release || die
dobin satty
#Just add the icon and desktop file
doicon "${S}/assets/satty.svg"
domenu "${S}/satty.desktop"
}