commit:     4f80c0d873a9c155be09a893d5b2d5d6cca6ddce
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  9 01:41:09 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep  9 01:41:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f80c0d8

media-gfx/fotema: Bump to 1.14.0

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

 media-gfx/fotema/Manifest             |  1 +
 media-gfx/fotema/fotema-1.14.0.ebuild | 81 +++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/media-gfx/fotema/Manifest b/media-gfx/fotema/Manifest
index c53fc97b59b6..9eed07e4c129 100644
--- a/media-gfx/fotema/Manifest
+++ b/media-gfx/fotema/Manifest
@@ -1,2 +1,3 @@
 DIST fotema-1.10.0.tar.xz 78681568 BLAKE2B 
8956415b4e605b6c4cac12e8cd3d3179bace74ea0b5bc17bbede1d3ccc87c321cca09e6d42794c2568e2840c80333df54174d37f70368732e75657ee28d54e37
 SHA512 
28e1780a34f6bb655a7add708088ec4b6e42207f55055dd1011c6da9b5ea52407040cb5d02c4dff5d2ec2531ec94d02191d02ed1d29cebe64ff8a8e85f9cd0d7
 DIST fotema-1.13.0.tar.xz 78737380 BLAKE2B 
df1144a8bcb0fff573989e0178cf3a8304b8bb15c1847b0093b8bda507d82aef5ddaa49788aeb1e7431232b4afe6d10ff44c791ab577fa5dd5dd9b4e9d7528e8
 SHA512 
fb371c2fd3a31558a74a28d9bd06d5107a8bbd8c48c8dbbe672c687545258e0b6f27de8296543554d8e849ca16b99e7d328afb52c1ee30955284380b7b99eca4
+DIST fotema-1.14.0.tar.xz 78584796 BLAKE2B 
c7a53e07fd8ccbd6ba48d595fd280e428ce334908c7b00a4fb5021d92b69c17836ede51656d4a5ab2473fc8220a4b3cbfe25cbdf6da58bc4b7ba7bfbe6ed35dd
 SHA512 
44ff2dd4d3d8268a3f9795f3c37651173a077a7ff831def8e968f658a75786755f7129bed565da674306194084519240b1aa4d378431c36689578f175a054df1

diff --git a/media-gfx/fotema/fotema-1.14.0.ebuild 
b/media-gfx/fotema/fotema-1.14.0.ebuild
new file mode 100644
index 000000000000..d4bc59161fe6
--- /dev/null
+++ b/media-gfx/fotema/fotema-1.14.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cargo gnome2-utils meson xdg-utils
+
+DESCRIPTION="Photo gallery for Linux"
+HOMEPAGE="https://github.com/blissd/fotema";
+SRC_URI="
+       https://github.com/blissd/fotema/releases/download/v${PV}/${P}.tar.xz
+"
+
+# see LICENSES/
+LICENSE="
+       CC-BY-2.0 CC-BY-4.0 CC-BY-NC-SA-4.0 CC-BY-SA-4.0 CC0-1.0
+       FDL-1.3+ GPL-3+ MIT
+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+       >=dev-libs/glib-2.66:2
+       >=gui-libs/gtk-4.0.0:4
+"
+# indirect deps via crates
+DEPEND+="
+       dev-libs/openssl:=
+       gui-libs/libadwaita
+       media-libs/fontconfig
+       media-libs/graphene
+       media-libs/lcms:2
+       media-libs/libshumate:=
+       media-libs/opencv:=[contribdnn]
+       media-video/ffmpeg:=
+       sci-libs/onnx
+       sys-libs/libseccomp
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf:2
+       x11-libs/pango
+"
+RDEPEND="
+       ${DEPEND}
+       media-libs/glycin-loaders
+"
+BDEPEND="
+       dev-libs/glib:2
+"
+
+ECARGO_VENDOR=${S}/vendor
+
+QA_FLAGS_IGNORED="/usr/bin/fotema"
+
+src_configure() {
+       cat >> "${ECARGO_HOME}/config.toml" <<-EOF || die
+
+               
[source."git+https://github.com/blissd/rust-faces.git?branch=patch";]
+               git = "https://github.com/blissd/rust-faces.git";
+               branch = "patch"
+               replace-with = "gentoo"
+       EOF
+
+       local emesonargs=(
+               -Dprofile=$(usex debug development default)
+       )
+
+       meson_src_configure
+       ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo-home" || die
+
+       export ORT_STRATEGY=system
+}
+
+pkg_postinst() {
+       gnome2_schemas_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_schemas_update
+       xdg_icon_cache_update
+}

Reply via email to