From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E40E7158083 for ; Thu, 5 Sep 2024 09:38:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEB02E2AB5; Thu, 5 Sep 2024 09:38:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8121E2AB5 for ; Thu, 5 Sep 2024 09:38:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1A1A4341465 for ; Thu, 5 Sep 2024 09:38:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F4701F36 for ; Thu, 5 Sep 2024 09:37:59 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1725529076.568f1320aaed53309aabedf029916bee174390ad.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/fotema/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/fotema/Manifest media-gfx/fotema/fotema-1.13.0.ebuild X-VCS-Directories: media-gfx/fotema/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 568f1320aaed53309aabedf029916bee174390ad X-VCS-Branch: master Date: Thu, 5 Sep 2024 09:37:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a220b507-75e1-4b0c-b5ce-e0515145c76c X-Archives-Hash: 692b8ee24c12f7e42060eff39a8f3764 commit: 568f1320aaed53309aabedf029916bee174390ad Author: Michał Górny gentoo org> AuthorDate: Thu Sep 5 09:07:25 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 5 09:37:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=568f1320 media-gfx/fotema: Bump to 1.13.0 Signed-off-by: Michał Górny gentoo.org> media-gfx/fotema/Manifest | 1 + media-gfx/fotema/fotema-1.13.0.ebuild | 81 +++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/media-gfx/fotema/Manifest b/media-gfx/fotema/Manifest index 1ba0293237e7..c53fc97b59b6 100644 --- a/media-gfx/fotema/Manifest +++ b/media-gfx/fotema/Manifest @@ -1 +1,2 @@ DIST fotema-1.10.0.tar.xz 78681568 BLAKE2B 8956415b4e605b6c4cac12e8cd3d3179bace74ea0b5bc17bbede1d3ccc87c321cca09e6d42794c2568e2840c80333df54174d37f70368732e75657ee28d54e37 SHA512 28e1780a34f6bb655a7add708088ec4b6e42207f55055dd1011c6da9b5ea52407040cb5d02c4dff5d2ec2531ec94d02191d02ed1d29cebe64ff8a8e85f9cd0d7 +DIST fotema-1.13.0.tar.xz 78737380 BLAKE2B df1144a8bcb0fff573989e0178cf3a8304b8bb15c1847b0093b8bda507d82aef5ddaa49788aeb1e7431232b4afe6d10ff44c791ab577fa5dd5dd9b4e9d7528e8 SHA512 fb371c2fd3a31558a74a28d9bd06d5107a8bbd8c48c8dbbe672c687545258e0b6f27de8296543554d8e849ca16b99e7d328afb52c1ee30955284380b7b99eca4 diff --git a/media-gfx/fotema/fotema-1.13.0.ebuild b/media-gfx/fotema/fotema-1.13.0.ebuild new file mode 100644 index 000000000000..d4bc59161fe6 --- /dev/null +++ b/media-gfx/fotema/fotema-1.13.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 +}