Postsync update gentoo

This commit is contained in:
2026-07-28 15:01:03 +02:00
parent 548a53b7c1
commit 3c0936fb14
2 changed files with 25 additions and 23 deletions
+19 -17
View File
@@ -1,20 +1,25 @@
# Copyright 2023-2024 Gentoo Authors # Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.15.0
EAPI=8 EAPI=8
RUST_MIN_VER="1.92"
CRATES=" "
inherit cargo desktop xdg inherit cargo desktop xdg
DESCRIPTION="A screenshot annotation tool inspired by Swappy and Flameshot." DESCRIPTION="A screenshot annotation tool inspired by Swappy and Flameshot."
HOMEPAGE="https://github.com/gabm/satty" HOMEPAGE="https://github.com/Satty-org/Satty"
if [[ "${PV}" == 9999 ]]; then if [[ "${PV}" == 9999 ]]; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://github.com/gabm/Satty.git" EGIT_REPO_URI="https://github.com/Satty-org/Satty.git"
else else
SRC_URI=" SRC_URI="
https://github.com/gabm/Satty/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz https://github.com/Satty-org/Satty/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS} https://codeberg.org/ceres-sees-all/guru-distfiles/releases/download/${P}-deps.tar.xz/${P}-deps.tar.xz
" "
M_PN=Satty M_PN=Satty
S="${WORKDIR}/${M_PN}-${PV}" S="${WORKDIR}/${M_PN}-${PV}"
@@ -22,11 +27,16 @@ else
fi fi
LICENSE="MPL-2.0" LICENSE="MPL-2.0"
# Dependent crate licenses
LICENSE+="
Apache-2.0 Apache-2.0-with-LLVM-exceptions CC0-1.0 ISC MIT
Unicode-3.0 ZLIB
"
SLOT="0" SLOT="0"
RDEPEND=" RDEPEND="
virtual/rust
dev-libs/glib:2 dev-libs/glib:2
media-libs/fontconfig
media-libs/libepoxy media-libs/libepoxy
media-libs/mesa[opengl] media-libs/mesa[opengl]
media-libs/graphene media-libs/graphene
@@ -39,6 +49,8 @@ RDEPEND="
QA_FLAGS_IGNORED="usr/bin/${PN}" QA_FLAGS_IGNORED="usr/bin/${PN}"
ECARGO_VENDOR="${WORKDIR}/vendor"
src_unpack() { src_unpack() {
if [[ "${PV}" == 9999 ]]; then if [[ "${PV}" == 9999 ]]; then
git-r3_src_unpack git-r3_src_unpack
@@ -48,20 +60,10 @@ src_unpack() {
fi fi
} }
src_configure() {
cargo_src_configure --bin satty
}
src_install() { src_install() {
dodoc README.md dodoc README.md
# if use debug ; then dobin "$(cargo_target_dir)"/satty
# cd target/debug || die
# else
# cd target/release || die
# fi
cargo_src_install
#Just add the icon and desktop file #Just add the icon and desktop file
doicon "${S}/assets/satty.svg" doicon "${S}/assets/satty.svg"
domenu "${S}/satty.desktop" domenu "${S}/satty.desktop"
+6 -6
View File
@@ -1,14 +1,14 @@
BDEPEND=|| ( >=dev-lang/rust-bin-1.74.1:* >=dev-lang/rust-1.74.1:* ) >=dev-vcs/git-1.8.2.1[curl] BDEPEND=|| ( >=dev-lang/rust-bin-1.92:* >=dev-lang/rust-1.92:* ) >=dev-vcs/git-1.8.2.1[curl]
DEFINED_PHASES=compile configure install postinst postrm preinst setup test unpack DEFINED_PHASES=compile configure install postinst postrm preinst setup test unpack
DESCRIPTION=A screenshot annotation tool inspired by Swappy and Flameshot. DESCRIPTION=A screenshot annotation tool inspired by Swappy and Flameshot.
EAPI=8 EAPI=8
HOMEPAGE=https://github.com/gabm/satty HOMEPAGE=https://github.com/Satty-org/Satty
IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info
INHERIT=cargo desktop xdg git-r3 INHERIT=cargo desktop xdg git-r3
IUSE=debug IUSE=debug
LICENSE=MPL-2.0 LICENSE=MPL-2.0 Apache-2.0 Apache-2.0-with-LLVM-exceptions CC0-1.0 ISC MIT Unicode-3.0 ZLIB
PROPERTIES=live PROPERTIES=live
RDEPEND=virtual/rust dev-libs/glib:2 media-libs/libepoxy media-libs/mesa[opengl] media-libs/graphene gui-libs/libadwaita gui-libs/gtk:4 x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/pango RDEPEND=dev-libs/glib:2 media-libs/fontconfig media-libs/libepoxy media-libs/mesa[opengl] media-libs/graphene gui-libs/libadwaita gui-libs/gtk:4 x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/pango
SLOT=0 SLOT=0
_eclasses_=toolchain-funcs 58a918e3a42d0156f010dcfd43725be5 flag-o-matic fd3558f73f6503093adee69adf41020d multiprocessing 45d0620f25c2f063ad6276ecd9ed9399 rust 0e6dcc60973be397aa943d9efae0e2bf rust-toolchain 76468983281b0a7fc167ca224f84ecfd cargo c18ade5e10cfd39155908ca389968d65 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 xdg 3ef49a87c52c8b77c476351195dfe575 desktop e447b5f77146d69797e9f03ff177f3f1 git-r3 2f8cdb10b033f92c3136aa6488a31c98 _eclasses_=toolchain-funcs 58a918e3a42d0156f010dcfd43725be5 flag-o-matic fd3558f73f6503093adee69adf41020d multiprocessing 45d0620f25c2f063ad6276ecd9ed9399 rust 0e6dcc60973be397aa943d9efae0e2bf rust-toolchain 76468983281b0a7fc167ca224f84ecfd cargo c18ade5e10cfd39155908ca389968d65 desktop e447b5f77146d69797e9f03ff177f3f1 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 xdg 3ef49a87c52c8b77c476351195dfe575 git-r3 2f8cdb10b033f92c3136aa6488a31c98
_md5_=08a9a921d30df4fd7fe7a7172eff6b18 _md5_=74f366e92e3020642b83bf3625531e5a