commit:     24151a399650bca2855cd46735b079dd08a78f6c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 25 15:54:08 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 25 15:54:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24151a39

media-gfx/fotema: Make it work without flatpak-spawn

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../fotema/{fotema-1.14.2.ebuild => fotema-1.14.2-r1.ebuild}      | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/media-gfx/fotema/fotema-1.14.2.ebuild 
b/media-gfx/fotema/fotema-1.14.2-r1.ebuild
similarity index 90%
rename from media-gfx/fotema/fotema-1.14.2.ebuild
rename to media-gfx/fotema/fotema-1.14.2-r1.ebuild
index d4bc59161fe6..34219ad68ea2 100644
--- a/media-gfx/fotema/fotema-1.14.2.ebuild
+++ b/media-gfx/fotema/fotema-1.14.2-r1.ebuild
@@ -51,6 +51,14 @@ ECARGO_VENDOR=${S}/vendor
 
 QA_FLAGS_IGNORED="/usr/bin/fotema"
 
+src_prepare() {
+       default
+
+       # patch the dependency on flatpak-spawn out (sigh)
+       find "${S}"/{core,src} -name '*.rs' \
+               -exec sed -i -e '/FlatpakSpawn/d' {} + || die
+}
+
 src_configure() {
        cat >> "${ECARGO_HOME}/config.toml" <<-EOF || die
 

Reply via email to