commit: 8715f06968693263275dbe75e79426e43980f04b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Apr 21 04:03:10 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Apr 21 04:28:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8715f069
media-gfx/fotema: Bump to 2.0.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> media-gfx/fotema/Manifest | 2 + media-gfx/fotema/fotema-2.0.0.ebuild | 90 ++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/media-gfx/fotema/Manifest b/media-gfx/fotema/Manifest index e93052280b5f..bc47f41b6f6e 100644 --- a/media-gfx/fotema/Manifest +++ b/media-gfx/fotema/Manifest @@ -1,3 +1,5 @@ DIST fotema-1.21.0.gh.tar.gz 8954109 BLAKE2B 86dad14dc12f30ad5932c0de8270f87115dcf46068a71b2cdd7c665e26750998052938da18039e2e72108fed6eb7706bb2b4df8611f5ec65591af0ca8a5fa891 SHA512 72992495a9dcfc8725acb06dcf030e69cf0284870826a199bc9f22eb2b1c0fa285eff24ac786ccc8700427ae3cf7bb3aa2ba5c42fc0e0433f2678919ab8d29f9 +DIST fotema-2.0.0-crates.tar.xz 62228164 BLAKE2B 33e33774effe579d5e648c2f8d32b777d141d0d0358a1a51e0ebe9cd21769aea4991e8bf10b4768eac1f6cc6cb4b560d0821cee1990643fc7e1cfbba0c969ff8 SHA512 95fa4040e1584ce6b98b6f19bd4b064eae0ad5d9badab68e814d8159efe8847e7957344b287f696a506d5f438620ebbee181c81e6762f2f61be15c32245334df +DIST fotema-2.0.0.gh.tar.gz 8964026 BLAKE2B ff3ec8cb128ac775b28ba9ee0eb38bc291186088bd033fd67e9fe1d546822dda0e6f8e8411862e07795606d5e93796db822745cd5b13426c0b12202cda35b272 SHA512 bcc968c82ff837e22a4ecd7be828be643673a6af397716244fa8ecfe8ee9b2452ac7dec6aa1f659afdc71a0e0a397cda5ed74f21a0316d7c10440a7a10ac8253 DIST fotema-rust-faces-43c0d5acd6f3f4d90c6487708f2e511a73bf7c9e.gh.tar.gz 839519 BLAKE2B 7ba344d55c5d108e63556dda32aaf60cfbd2b14a05e2965ca69e54e2aab578f6ba49f7a7b89d6c32cb5ace4b80f7a84247dcbb43a98d5d709895810798966b0b SHA512 aac99659e2d82d342f52b5860d9f1e284e1658fa9e0986b1c54a81cc33f6391535a2773d79defc6a7bf1e52591dc91d91a1ef3742c38e599baed79975b42de51 DIST fotema-v1.21.0-crates.tar.xz 62258228 BLAKE2B b13793058d28ae2143fe23ec5de998f3bcc7ea808c90535c438539cb8a3c4b2742614548e361b9a588cf6f70fdc1db0ba989fc49d8232af22f670f81b8d13b05 SHA512 649357e25130502f6a0fae111c8e36bab87c4cbf8b6fba8750b57c59bc1638d4b5d31e02a8f8269ea923ea4369fe3d8cb28c4187297c50ea4e8400d293825939 diff --git a/media-gfx/fotema/fotema-2.0.0.ebuild b/media-gfx/fotema/fotema-2.0.0.ebuild new file mode 100644 index 000000000000..4197344871af --- /dev/null +++ b/media-gfx/fotema/fotema-2.0.0.ebuild @@ -0,0 +1,90 @@ +# 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%' +) + +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/archive/${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/${PV}/${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 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] + 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 +" +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 +}