commit: 520bb1b7914e1cd8120655d9ec71640a4615a879 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Dec 27 07:05:06 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Dec 27 07:20:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=520bb1b7
net-im/fractal: Bump to 13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> net-im/fractal/Manifest | 4 ++ net-im/fractal/fractal-13.ebuild | 126 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 130 insertions(+) diff --git a/net-im/fractal/Manifest b/net-im/fractal/Manifest index 3c133891fe09..6a049b67ee5c 100644 --- a/net-im/fractal/Manifest +++ b/net-im/fractal/Manifest @@ -1,4 +1,8 @@ DIST fractal-12.1-crates.tar.xz 47794140 BLAKE2B 441cfa8f2bdb7f7985143a138b6bc7210a28daa3e9459f2a96549760ca0a4aae85858787f3664b5e59720477ecf18f5a2b5b6a8bb79397270fe054db8b7eb5d3 SHA512 5d8a6a2b91c06a6440c52290eeb0de0d4afc52b1b5b99a7649bbc891a8710d875543bae45aea92c01ee3fde64c9bed96d38998f9fa38b38b90ef5294e88024a9 DIST fractal-12.1.tar.bz2 2081087 BLAKE2B dd387dfa88a9976fc6c72531f4ece193035aef5b7e027d153b3a9646c7ef67012aa1a1d422d56cd1288b6170ec3be88e4bae4f7ff04bcc81a01645ce3b846d53 SHA512 aa902f07adb54c3bb287f4db2473b40842bec645c836192e9fde803d4c51e801103f456de5e604d95898c895fe83da567181a7d44c0e4227595bdc6e8976be32 +DIST fractal-13-crates.tar.xz 52703284 BLAKE2B 13fc73737363d4d3bd4e6cd110ee9c1e19501b22decfc36d4fe02e3cf3946eae4a5d71a18c7fa6d8fcbe0df42c404d42fff36de3c7d5ad237f956e2174db761f SHA512 2b9d4a3be10db86fb7b736473edcd9e15792f2c1e13d636bc7534cd73bc7553d35092b897eb74047c52811aeb691daa709c09946a97b58ceed327826ef1897be +DIST fractal-13.tar.bz2 2034214 BLAKE2B 412f37fe58ecb7d0770aecab0960b2d0e913a485ca5c844f882052490ae7c0dd498a7040abde20aab18bf27b0fff36c1c99adc0b2885d03d3afac93877600d45 SHA512 1b3582563e33c204b513c2ba281c13628fb854e68325502985d9394b3e45684a29d26346dfc8ff3dacf0a4f490801b376f711563aee6b25ad396c36a20524277 DIST matrix-rust-sdk-a9ce1c6e5822b8eb8411c5bc257049d9a9d15884.gh.tar.gz 3102997 BLAKE2B a6776e7318f29358d0876bc04548bdcd158cbc8c22a840575911ccfa20eaceb46a423f18b8a6ea9ca907d3f39ceb9df44d08a8f556e4919d3a4220ce4fb0b450 SHA512 97e3a41337766758d4aed5d22ff4bd32d1b5ae54e2f063110d53999c58805d50a03f7a67c0561dfc196e5119ca1bb44ac609932628022eb3a5bdb278951c8091 +DIST matrix-rust-sdk-c1bc814ac2c306da704c5e10b7feda2e207beb19.gh.tar.gz 3261974 BLAKE2B 64f0c7584149e123e8ce1d4f8f40c8a97801aec99c7c5390fc37a0e466b179b8d76a760e03904fbf64726bb68c78ac6d44266191b3554cb33dadac24bcfc7b45 SHA512 07ad8d7b935cd90caeaba8b2f842f1146d795fa1b1f1c96ff00d7c248b510d1d44f9c785f9abd42e1665ac4eb3c229c961c3aa2d4c747de404a59dfed8910183 DIST ruma-a2fe858133ba932b4bda730dc7472c9c985739a0.gh.tar.gz 817984 BLAKE2B 9b624f3bc7d02e264816e711fe5991e96706c70e9183d6d585d2212ea0c01335eddf10cd7e83c2d7ce0bbb0090da382ec22455a641eb13903fa6085138c4a8ed SHA512 45a1cd27b6b9a60d62f027b3e5f1d57fb9a50aad14df5d7605854c17bf48a3ecd57713dd516318e7aea14a6fc9d039a5c649171b7a38ecd3319289cafe0b963c +DIST ruma-c441eccb92a36467217ff929cd71462fbeeeaf1a.gh.tar.gz 837966 BLAKE2B 00c83ccedbe4152adb0e9689332e9da8221c1147a5883c370d4082e29b922024ff3ab61410c7642f2abbadce4a07c423345129970ca412c5f15e722a2d0a42bb SHA512 4724292ced7af829fb251bbf57676812ab35fdb8f641f2867b5894251f6f92fcf9c61567aff33b3a0ee76d5e53060910b1c7ec5093ba41c3042df06d2449d944 diff --git a/net-im/fractal/fractal-13.ebuild b/net-im/fractal/fractal-13.ebuild new file mode 100644 index 000000000000..a1b3bb697866 --- /dev/null +++ b/net-im/fractal/fractal-13.ebuild @@ -0,0 +1,126 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.88.0" + +declare -A GIT_CRATES=( + [matrix-sdk-base]='https://github.com/matrix-org/matrix-rust-sdk;c1bc814ac2c306da704c5e10b7feda2e207beb19;matrix-rust-sdk-%commit%/crates/matrix-sdk-base' + [matrix-sdk-common]='https://github.com/matrix-org/matrix-rust-sdk;c1bc814ac2c306da704c5e10b7feda2e207beb19;matrix-rust-sdk-%commit%/crates/matrix-sdk-common' + [matrix-sdk-crypto]='https://github.com/matrix-org/matrix-rust-sdk;c1bc814ac2c306da704c5e10b7feda2e207beb19;matrix-rust-sdk-%commit%/crates/matrix-sdk-crypto' + [matrix-sdk-indexeddb]='https://github.com/matrix-org/matrix-rust-sdk;c1bc814ac2c306da704c5e10b7feda2e207beb19;matrix-rust-sdk-%commit%/crates/matrix-sdk-indexeddb' + [matrix-sdk-qrcode]='https://github.com/matrix-org/matrix-rust-sdk;c1bc814ac2c306da704c5e10b7feda2e207beb19;matrix-rust-sdk-%commit%/crates/matrix-sdk-qrcode' + [matrix-sdk-sqlite]='https://github.com/matrix-org/matrix-rust-sdk;c1bc814ac2c306da704c5e10b7feda2e207beb19;matrix-rust-sdk-%commit%/crates/matrix-sdk-sqlite' + [matrix-sdk-store-encryption]='https://github.com/matrix-org/matrix-rust-sdk;c1bc814ac2c306da704c5e10b7feda2e207beb19;matrix-rust-sdk-%commit%/crates/matrix-sdk-store-encryption' + [matrix-sdk-ui]='https://github.com/matrix-org/matrix-rust-sdk;c1bc814ac2c306da704c5e10b7feda2e207beb19;matrix-rust-sdk-%commit%/crates/matrix-sdk-ui' + [matrix-sdk]='https://github.com/matrix-org/matrix-rust-sdk;c1bc814ac2c306da704c5e10b7feda2e207beb19;matrix-rust-sdk-%commit%/crates/matrix-sdk' + [ruma-client-api]='https://github.com/ruma/ruma;c441eccb92a36467217ff929cd71462fbeeeaf1a;ruma-%commit%/crates/ruma-client-api' + [ruma-common]='https://github.com/ruma/ruma;c441eccb92a36467217ff929cd71462fbeeeaf1a;ruma-%commit%/crates/ruma-common' + [ruma-events]='https://github.com/ruma/ruma;c441eccb92a36467217ff929cd71462fbeeeaf1a;ruma-%commit%/crates/ruma-events' + [ruma-federation-api]='https://github.com/ruma/ruma;c441eccb92a36467217ff929cd71462fbeeeaf1a;ruma-%commit%/crates/ruma-federation-api' + [ruma-html]='https://github.com/ruma/ruma;c441eccb92a36467217ff929cd71462fbeeeaf1a;ruma-%commit%/crates/ruma-html' + [ruma-identifiers-validation]='https://github.com/ruma/ruma;c441eccb92a36467217ff929cd71462fbeeeaf1a;ruma-%commit%/crates/ruma-identifiers-validation' + [ruma-macros]='https://github.com/ruma/ruma;c441eccb92a36467217ff929cd71462fbeeeaf1a;ruma-%commit%/crates/ruma-macros' + [ruma-signatures]='https://github.com/ruma/ruma;c441eccb92a36467217ff929cd71462fbeeeaf1a;ruma-%commit%/crates/ruma-signatures' + [ruma]='https://github.com/ruma/ruma;c441eccb92a36467217ff929cd71462fbeeeaf1a;ruma-%commit%/crates/ruma' +) + +inherit cargo gnome2-utils meson + +MY_P=${P/_/.} +CRATE_P=fractal-${PV/_/.} + +DESCRIPTION="Matrix messaging app for GNOME written in Rust" +HOMEPAGE=" + https://wiki.gnome.org/Apps/Fractal + https://gitlab.gnome.org/World/fractal/ +" +SRC_URI=" + https://gitlab.gnome.org/World/fractal/-/archive/${PV/_/.}/${MY_P}.tar.bz2 + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/fractal/releases/download/${PV/_/.}/${CRATE_P}-crates.tar.xz + " +fi +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-3+" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 + GPL-3+ ISC MIT MPL-2.0 MPL-2.0 Unicode-3.0 ZLIB +" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +DEPEND=" + >=dev-libs/glib-2.82 + >=gui-libs/gtk-4.20.2:4 + >=gui-libs/libadwaita-1.8.0:1 + + >=media-libs/gstreamer-1.20:1.0 + >=media-libs/gst-plugins-bad-1.20:1.0 + >=media-libs/gst-plugins-base-1.20:1.0 + + >=gui-libs/gtksourceview-5.0.0:5 + >=media-libs/libwebp-1.0.0:= + >=dev-libs/openssl-3.0.0:= + >=media-libs/libshumate-1.2.0:1.0 + >=dev-db/sqlite-3.24.0:3 + >=sys-apps/xdg-desktop-portal-1.14.1 + + >=media-libs/lcms-2.12.0:2 + >=sys-libs/libseccomp-2.5.0:= + +" +RDEPEND=" + ${DEPEND} + media-libs/glycin-loaders:2 + media-plugins/gst-plugin-gtk4 + virtual/secret-service +" +# clang needed by bindgen +# glib: glib-compile-resources +BDEPEND=" + llvm-core/clang + dev-lang/grass + dev-libs/glib + dev-util/blueprint-compiler +" + +# Rust +QA_FLAGS_IGNORED="usr/bin/fractal" + +src_prepare() { + default + + # upstream overrides are just wrong + sed -i -e 's:profile:ignore:' Cargo.toml || die + + # force dev build + if use debug; then + sed -i -e "s:profile == 'Devel':true:" src/meson.build || die + fi +} + +src_configure() { + meson_src_configure + ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo-home" || die +} + +pkg_postinst() { + gnome2_schemas_update + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + gnome2_schemas_update + xdg_desktop_database_update + xdg_icon_cache_update +}
