media-gfx/fotema: Bump to 1.20.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-04-06 07:20:12 +02:00
parent 94353f2e43
commit dff7f074ce
2 changed files with 93 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
DIST fotema-1.20.0.gh.tar.gz 8952954 BLAKE2B 3d3c7d3606cc650b91ad5ee26ad1dee042cc68d7f2542a39e6f561f596875eaa2796b790ce227eba2a2f2d02162301e4397ec4e605ee714131aebe51ee869b5f SHA512 597415dc4dd347980c8a2b530b51177f651661f585ca1f64380a45bce1ea40ec967ef1017212b297bb1b53391fc208deb77309390bf4e5741aeeb769a299207f
DIST fotema-1.20.1.gh.tar.gz 8953269 BLAKE2B 8ca66935e0be4be5f22384ad3f1e0c20f8a15b40a955d255b5ec6b93565f85b7ce1363ed7587a49b70d24dd2eaaa6ab7af8be5368d7bfc941a4883e82ac34adb SHA512 f7d3448105159e99f9b979bf97aff2e0adcf9abcb9c2a0aa70f914ac991b64b543a3bef0600feef1943a2c4da94936b9b66dfc0ee4f4eec59b40587fcc87d2a5
DIST fotema-rust-faces-43c0d5acd6f3f4d90c6487708f2e511a73bf7c9e.gh.tar.gz 839519 BLAKE2B 7ba344d55c5d108e63556dda32aaf60cfbd2b14a05e2965ca69e54e2aab578f6ba49f7a7b89d6c32cb5ace4b80f7a84247dcbb43a98d5d709895810798966b0b SHA512 aac99659e2d82d342f52b5860d9f1e284e1658fa9e0986b1c54a81cc33f6391535a2773d79defc6a7bf1e52591dc91d91a1ef3742c38e599baed79975b42de51
DIST fotema-v1.20.0-crates.tar.xz 62261884 BLAKE2B 922522cd8e1882f48a6c22dc6e164c569bf224d2abd11a6eb13e1e839e1e9350a21f83cee6c5aac1e961e7be93bf2a2d9e135d3d3be2d5976763843d04d539e9 SHA512 4b549f5f4d378393553c978669a00aa07cdc3c76c37c2296bdd1d779156251c21f0a3ede3916ad4c46795628d70ee57c539f1a21b53f4b727e59b7d8e9cfd212
DIST fotema-v1.20.1-crates.tar.xz 62319856 BLAKE2B 95406c2c6ca79267df0b02199822402b7aeb10f3241784b7952bec4e5d3938ee953adad93514d77f0cd0c83fe6db2fb75c4628007ccbbc3b99c7e4b57460618d SHA512 3f6a14e601813da00bae9963bb4bbdd66e0da5ebb7c5fff9f232d941ec103012d780b66ecbfa31e7cd423dfaa1fded03e72156e2bd7263e2389b4e12a8f314a3

View File

@@ -0,0 +1,91 @@
# 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
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 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
}