commit:     f49e626d3619ad450c277c9cc05c26d8cf2f3c50
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 12 10:56:55 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 12 12:29:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f49e626d

media-gfx/fotema: Bump to 2.1.0

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

 media-gfx/fotema/Manifest            |  2 +
 media-gfx/fotema/fotema-2.1.0.ebuild | 94 ++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/media-gfx/fotema/Manifest b/media-gfx/fotema/Manifest
index 38ee3ef79c2e..59d67e3dcaec 100644
--- a/media-gfx/fotema/Manifest
+++ b/media-gfx/fotema/Manifest
@@ -1,3 +1,5 @@
 DIST fotema-2.0.2.gh.tar.gz 8975274 BLAKE2B 
231985d0b5d2e0eab27ae951226d0b10bd3e68a7f6388231d80a390768d8911b94fc74fb72cca5801d60e8ce0facd07dfd24f22eced1b4c3197032c7b5675931
 SHA512 
e86235940e45a5609e4c6984f4d36e0b050c742f0cc563d743347fc4dfeb0c2945f1b37401f00af2d216465b2118c4a57c5a6899ed4da8867b85f46f6f27eee2
+DIST fotema-2.1.0.gh.tar.gz 8978299 BLAKE2B 
4d62af761d7800b9d5edcb3227830c61726513a64728cb2a9d97e46ba78a720178645c2e6dce15a60d87137a3d5121e15dfeda47e7e462f51b0ad58b9400ac58
 SHA512 
6a95ae75aed719ef43c2f0bb6a102364e7c4ccda8328def1c9e44423df6d2fa5ef68031836d5ad6a421d9e467be5a885c2da72b3a3a7f379a0248fa7666fb489
 DIST fotema-rust-faces-43c0d5acd6f3f4d90c6487708f2e511a73bf7c9e.gh.tar.gz 
839519 BLAKE2B 
7ba344d55c5d108e63556dda32aaf60cfbd2b14a05e2965ca69e54e2aab578f6ba49f7a7b89d6c32cb5ace4b80f7a84247dcbb43a98d5d709895810798966b0b
 SHA512 
aac99659e2d82d342f52b5860d9f1e284e1658fa9e0986b1c54a81cc33f6391535a2773d79defc6a7bf1e52591dc91d91a1ef3742c38e599baed79975b42de51
 DIST fotema-v2.0.2-crates.tar.xz 61796908 BLAKE2B 
729777dae5a9a684b808422c8bbbe07837b20f0bd2cbebbf10ddbdc46fe1af05fa1cf579fc7593689379ec33bb95f2151846cc6402dc3d75a0ffaa863420b142
 SHA512 
e96f9e6dfd90254580c9c91aeb83939a46fb210d21edf5c34d14c96191130c518cd44971d3c6267915bf06cb6f8b086ff8005093ae4a48d2efdf49b03392766c
+DIST fotema-v2.1.0-crates.tar.xz 62163016 BLAKE2B 
a0a5685a5fa630b9fc6ff498c043510c66dd3d790c63fea3c4dabb9c7040d8f7b21bcecf26954be8361c1663d1834e0c88ecd33caeadd4c86be68313e5b9f144
 SHA512 
ba3998549a25876351efeae5b2dcb33d8016bdf4ce3f4828800745fd73bb7d0772c606545619bf13673286acce1e669b0a262bfb01a557f7df8dba078c058f0c

diff --git a/media-gfx/fotema/fotema-2.1.0.ebuild 
b/media-gfx/fotema/fotema-2.1.0.ebuild
new file mode 100644
index 000000000000..401d02c31986
--- /dev/null
+++ b/media-gfx/fotema/fotema-2.1.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+"
+
+declare -A GIT_CRATES=(
+       
[rust-faces]='https://github.com/blissd/fotema-rust-faces;43c0d5acd6f3f4d90c6487708f2e511a73bf7c9e;fotema-rust-faces-%commit%'
+)
+
+RUST_MIN_VER="1.87.0"
+
+inherit cargo gnome2-utils meson xdg-utils
+
+CRATE_P=${P/-/-v}
+DESCRIPTION="Photo gallery for Linux"
+HOMEPAGE="https://github.com/blissd/fotema";
+SRC_URI="
+       https://github.com/blissd/fotema/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+       ${CARGO_CRATE_URIS}
+"
+if [[ ${PKGBUMPING} != ${PVR} ]]; then
+       SRC_URI+="
+               
https://github.com/gentoo-crate-dist/fotema/releases/download/v${PV}/${CRATE_P}-crates.tar.xz
+       "
+fi
+
+# 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
+"
+# Dependent crate licenses
+LICENSE+="
+       Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0
+       CDLA-Permissive-2.0 ISC MIT MPL-2.0 UoI-NCSA Unicode-3.0 WTFPL-2
+       ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+       >=dev-libs/glib-2.66:2
+       >=gui-libs/gtk-4.16: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,features2d]
+       media-video/ffmpeg:=
+       sci-ml/onnx
+       sys-libs/libseccomp
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf:2
+       x11-libs/pango
+"
+RDEPEND="
+       ${DEPEND}
+       media-libs/glycin-loaders:0
+"
+BDEPEND="
+       dev-libs/glib:2
+"
+
+QA_FLAGS_IGNORED="/usr/bin/fotema"
+
+src_configure() {
+       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