commit: caf1f2887eb53a2e994d6292324478249a4299a5 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Aug 27 02:38:12 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Aug 27 02:42:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caf1f288
net-im/fractal: Bump to 12.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> net-im/fractal/Manifest | 4 ++ net-im/fractal/fractal-12.1.ebuild | 122 +++++++++++++++++++++++++++++++++++++ 2 files changed, 126 insertions(+) diff --git a/net-im/fractal/Manifest b/net-im/fractal/Manifest index 8b771b37713b..3d4b97293f89 100644 --- a/net-im/fractal/Manifest +++ b/net-im/fractal/Manifest @@ -3,6 +3,10 @@ DIST fractal-10.1.tar.bz2 1978922 BLAKE2B 0cb300af55c6403502e904d5b777fe1b4d9fd5 DIST fractal-11.2-crates.tar.xz 49249088 BLAKE2B c81dcccc1ed2ed3d06c7014b3002b2bded7283b0c730a042cadde5aa9fa53db70f295e4f194274330049492e7b1c5a06f81f284bdcb1bdf2d46fc63c810f3314 SHA512 7323b2df66a6ffd06e4a118fbe55aba3ff0892e1a3a296c2284c2e3a70472d2fbea626c3e3822f86c878900a7d644979f2f1b9b62fe3fffb80b968eaa9bff45a DIST fractal-11.2.tar.bz2 2024324 BLAKE2B 86245a43b51087215ea110d47b4961a7f82d378fac24f2e044b0f49a305db0212e53dd380bb793b8b5aefccc240e9451db0b0049431f4ec9770b11cda86d080b SHA512 e89f5be89a345400130a7383b9b6396f7e507c412c35bb048380c274dc587c9ea7f172ab260943e717b14f3b56bc12019146e7c1def40440e4ebc532c60ace6e DIST fractal-12-crates.tar.xz 47785772 BLAKE2B fd26aa90f7fd2402b4f851fa6aa0c0c9586768ccfff7cec5a349c689b4fb4f0121c9e1b587b4d826310d767472aa07c6256ca066dab748799b863713b62de0e5 SHA512 c2317725cf2e1ee5845c99f4be777e936c8dbbb0d99e1d3b541746fe30957f3966115ccfa8dfcb986d8ebd263fb10dbf8506386f097eded11adc8a368621b945 +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-12.tar.bz2 2081156 BLAKE2B 56ad22309c60e712d9df2242146966d5f12f95dca48bb13e65067de379dbd7996af835a4591ffe867e8a6ac569495189aa43c4fb83838871b60b92ff65eeb3ea SHA512 f77e8f1ca1c201a6c4917ae97423e9ec805f150ecb67326612e6e40a0d2344b75d65c5591be7e7ab810fe07b02ac6e7c58e28922d4b6f47a4686a0a979629c01 DIST matrix-rust-sdk-872713c4bc024ac9246dfa72f834584ebe92a3d7.gh.tar.gz 3088264 BLAKE2B c5881d2d646ce848ecd0a4e5da684a69992467ff65c112573941228d37c221093fba7bce1fefec97a419ecfe278c3c8041ff51b361654c20fb2f3a0a7974b6d2 SHA512 9f3d8fe6d84b63e555958cab1d991b64eaf3d91b9e4823cc83ed66f752ece0901d6161cd93f9cb1f215211b70855ca2def4422efd766fbaf8df89a64d8059945 +DIST matrix-rust-sdk-a9ce1c6e5822b8eb8411c5bc257049d9a9d15884.gh.tar.gz 3102997 BLAKE2B a6776e7318f29358d0876bc04548bdcd158cbc8c22a840575911ccfa20eaceb46a423f18b8a6ea9ca907d3f39ceb9df44d08a8f556e4919d3a4220ce4fb0b450 SHA512 97e3a41337766758d4aed5d22ff4bd32d1b5ae54e2f063110d53999c58805d50a03f7a67c0561dfc196e5119ca1bb44ac609932628022eb3a5bdb278951c8091 +DIST ruma-a2fe858133ba932b4bda730dc7472c9c985739a0.gh.tar.gz 817984 BLAKE2B 9b624f3bc7d02e264816e711fe5991e96706c70e9183d6d585d2212ea0c01335eddf10cd7e83c2d7ce0bbb0090da382ec22455a641eb13903fa6085138c4a8ed SHA512 45a1cd27b6b9a60d62f027b3e5f1d57fb9a50aad14df5d7605854c17bf48a3ecd57713dd516318e7aea14a6fc9d039a5c649171b7a38ecd3319289cafe0b963c DIST ruma-e73f302e4df7f5f0511fca1aa43853d4cf8416c8.gh.tar.gz 808498 BLAKE2B 3a60c3df4ddd6d2521cd9b5f839f951114a0b9d117097fe3dd1c39b0d65bf6afd80d71bddcd6563b0ca4bffd788129a4e144cc1b6787ae2b27667433c5119ac7 SHA512 f9875e9516d4360f7753ef98c4d036950db86c9d92863cba0e679b0c4ea4e766360133cd55841e3dbb10693e3b57759d799edaa85ef21f0f5d3cf33f7e444b3a diff --git a/net-im/fractal/fractal-12.1.ebuild b/net-im/fractal/fractal-12.1.ebuild new file mode 100644 index 000000000000..687c1a7e1d18 --- /dev/null +++ b/net-im/fractal/fractal-12.1.ebuild @@ -0,0 +1,122 @@ +# 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;a9ce1c6e5822b8eb8411c5bc257049d9a9d15884;matrix-rust-sdk-%commit%/crates/matrix-sdk-base' + [matrix-sdk-common]='https://github.com/matrix-org/matrix-rust-sdk;a9ce1c6e5822b8eb8411c5bc257049d9a9d15884;matrix-rust-sdk-%commit%/crates/matrix-sdk-common' + [matrix-sdk-crypto]='https://github.com/matrix-org/matrix-rust-sdk;a9ce1c6e5822b8eb8411c5bc257049d9a9d15884;matrix-rust-sdk-%commit%/crates/matrix-sdk-crypto' + [matrix-sdk-indexeddb]='https://github.com/matrix-org/matrix-rust-sdk;a9ce1c6e5822b8eb8411c5bc257049d9a9d15884;matrix-rust-sdk-%commit%/crates/matrix-sdk-indexeddb' + [matrix-sdk-qrcode]='https://github.com/matrix-org/matrix-rust-sdk;a9ce1c6e5822b8eb8411c5bc257049d9a9d15884;matrix-rust-sdk-%commit%/crates/matrix-sdk-qrcode' + [matrix-sdk-sqlite]='https://github.com/matrix-org/matrix-rust-sdk;a9ce1c6e5822b8eb8411c5bc257049d9a9d15884;matrix-rust-sdk-%commit%/crates/matrix-sdk-sqlite' + [matrix-sdk-store-encryption]='https://github.com/matrix-org/matrix-rust-sdk;a9ce1c6e5822b8eb8411c5bc257049d9a9d15884;matrix-rust-sdk-%commit%/crates/matrix-sdk-store-encryption' + [matrix-sdk-ui]='https://github.com/matrix-org/matrix-rust-sdk;a9ce1c6e5822b8eb8411c5bc257049d9a9d15884;matrix-rust-sdk-%commit%/crates/matrix-sdk-ui' + [matrix-sdk]='https://github.com/matrix-org/matrix-rust-sdk;a9ce1c6e5822b8eb8411c5bc257049d9a9d15884;matrix-rust-sdk-%commit%/crates/matrix-sdk' + [ruma-client-api]='https://github.com/ruma/ruma;a2fe858133ba932b4bda730dc7472c9c985739a0;ruma-%commit%/crates/ruma-client-api' + [ruma-common]='https://github.com/ruma/ruma;a2fe858133ba932b4bda730dc7472c9c985739a0;ruma-%commit%/crates/ruma-common' + [ruma-events]='https://github.com/ruma/ruma;a2fe858133ba932b4bda730dc7472c9c985739a0;ruma-%commit%/crates/ruma-events' + [ruma-federation-api]='https://github.com/ruma/ruma;a2fe858133ba932b4bda730dc7472c9c985739a0;ruma-%commit%/crates/ruma-federation-api' + [ruma-html]='https://github.com/ruma/ruma;a2fe858133ba932b4bda730dc7472c9c985739a0;ruma-%commit%/crates/ruma-html' + [ruma-identifiers-validation]='https://github.com/ruma/ruma;a2fe858133ba932b4bda730dc7472c9c985739a0;ruma-%commit%/crates/ruma-identifiers-validation' + [ruma-macros]='https://github.com/ruma/ruma;a2fe858133ba932b4bda730dc7472c9c985739a0;ruma-%commit%/crates/ruma-macros' + [ruma]='https://github.com/ruma/ruma;a2fe858133ba932b4bda730dc7472c9c985739a0;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.16:4 + >=gui-libs/libadwaita-1.7: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: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 + media-plugins/gst-plugin-gtk4 + virtual/secret-service +" +# clang needed by bindgen +BDEPEND=" + llvm-core/clang + dev-lang/grass +" + +# 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 +}
