diff --git a/gui-apps/satty/satty-9999.ebuild b/gui-apps/satty/satty-9999.ebuild index ef5052e..2921761 100755 --- a/gui-apps/satty/satty-9999.ebuild +++ b/gui-apps/satty/satty-9999.ebuild @@ -1,20 +1,25 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Autogenerated by pycargoebuild 0.15.0 + EAPI=8 +RUST_MIN_VER="1.92" +CRATES=" " + inherit cargo desktop xdg 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 inherit git-r3 - EGIT_REPO_URI="https://github.com/gabm/Satty.git" + EGIT_REPO_URI="https://github.com/Satty-org/Satty.git" else SRC_URI=" - https://github.com/gabm/Satty/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - ${CARGO_CRATE_URIS} + https://github.com/Satty-org/Satty/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://codeberg.org/ceres-sees-all/guru-distfiles/releases/download/${P}-deps.tar.xz/${P}-deps.tar.xz " M_PN=Satty S="${WORKDIR}/${M_PN}-${PV}" @@ -22,11 +27,16 @@ else fi 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" RDEPEND=" - virtual/rust dev-libs/glib:2 + media-libs/fontconfig media-libs/libepoxy media-libs/mesa[opengl] media-libs/graphene @@ -39,6 +49,8 @@ RDEPEND=" QA_FLAGS_IGNORED="usr/bin/${PN}" +ECARGO_VENDOR="${WORKDIR}/vendor" + src_unpack() { if [[ "${PV}" == 9999 ]]; then git-r3_src_unpack @@ -48,20 +60,10 @@ src_unpack() { fi } -src_configure() { - cargo_src_configure --bin satty -} - src_install() { dodoc README.md - # if use debug ; then - # cd target/debug || die - # else - # cd target/release || die - # fi - - cargo_src_install + dobin "$(cargo_target_dir)"/satty #Just add the icon and desktop file doicon "${S}/assets/satty.svg" domenu "${S}/satty.desktop" diff --git a/metadata/md5-cache/gui-apps/satty-9999 b/metadata/md5-cache/gui-apps/satty-9999 index 5ce3908..39c3553 100644 --- a/metadata/md5-cache/gui-apps/satty-9999 +++ b/metadata/md5-cache/gui-apps/satty-9999 @@ -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 DESCRIPTION=A screenshot annotation tool inspired by Swappy and Flameshot. 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 INHERIT=cargo desktop xdg git-r3 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 -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 -_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 -_md5_=08a9a921d30df4fd7fe7a7172eff6b18 +_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_=74f366e92e3020642b83bf3625531e5a