commit:     238074bd15aeb83932a8c1ad4368dc2e44dbc0ef
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  1 08:52:31 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug  1 09:13:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=238074bd

net-im/fractal: Bump to 12_rc

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-im/fractal/Manifest             |   4 ++
 net-im/fractal/fractal-12_rc.ebuild | 123 ++++++++++++++++++++++++++++++++++++
 2 files changed, 127 insertions(+)

diff --git a/net-im/fractal/Manifest b/net-im/fractal/Manifest
index 383d94193759..02dc573f24f5 100644
--- a/net-im/fractal/Manifest
+++ b/net-im/fractal/Manifest
@@ -4,3 +4,7 @@ DIST fractal-11.2-crates.tar.xz 49249088 BLAKE2B 
c81dcccc1ed2ed3d06c7014b3002b2b
 DIST fractal-11.2.tar.bz2 2024324 BLAKE2B 
86245a43b51087215ea110d47b4961a7f82d378fac24f2e044b0f49a305db0212e53dd380bb793b8b5aefccc240e9451db0b0049431f4ec9770b11cda86d080b
 SHA512 
e89f5be89a345400130a7383b9b6396f7e507c412c35bb048380c274dc587c9ea7f172ab260943e717b14f3b56bc12019146e7c1def40440e4ebc532c60ace6e
 DIST fractal-12.beta-crates.tar.xz 48832280 BLAKE2B 
5464411a2cba2e88030cc5008143cc3d88eecaa8127ca9f01e634380630dd0fe16fcdcc94f9d0b9204f4730473bfccb6b04b05778b00736cb8442b222af1b761
 SHA512 
206f8a5bf20fb37007583e0f47ff4bc91cb748eddb262f01ba464eb3e32595654f57329dc91217f56b02f2494c81b37010a07c58ad50511321d3bcbff8806fee
 DIST fractal-12.beta.tar.bz2 2052948 BLAKE2B 
12b51d9cb01f313be808f9d58350a854856d2792cc3d9682a105c433f97474ddbf37ec1df2c7468bb5d56efd59cc84d3b68e980086be39bf7fe0ccf1c5da7e69
 SHA512 
6721156f0c771141d64323ff119fb01a46dd2aa0b1bd264c45dc3bf23414f715d6e4e892f7ab7779961c14296c3cf1ea3e633d74bd75afdb60ba525843e6839e
+DIST fractal-12.rc-crates.tar.xz 47785772 BLAKE2B 
fd26aa90f7fd2402b4f851fa6aa0c0c9586768ccfff7cec5a349c689b4fb4f0121c9e1b587b4d826310d767472aa07c6256ca066dab748799b863713b62de0e5
 SHA512 
c2317725cf2e1ee5845c99f4be777e936c8dbbb0d99e1d3b541746fe30957f3966115ccfa8dfcb986d8ebd263fb10dbf8506386f097eded11adc8a368621b945
+DIST fractal-12.rc.tar.bz2 2065481 BLAKE2B 
466600ebd0d1387acaa7bdc7f63fae0dbb82d718c5f218e9d645518629cc4cdce9b6a0e9003871d4dc59caf37c6312f1936d692f43a0004c73ae80ed657bf5e0
 SHA512 
f66d4acccbb8b0f29ac9087f99a1d73ca4b887311492a58ac4ddb65f336bb2248670c5b7d75664fc093027fb85184e8a70cfa08907435ecd4417b1303fe6306e
+DIST matrix-rust-sdk-ada68e11144507afc9d178f4264452aae1ff9e27.gh.tar.gz 
3057526 BLAKE2B 
a3196f29d03f5f332f6241922cc49ac6468a1ab2c8dbd20c3ff93f856648301100fcc8b3501bb1850fee357821eccb13a9c11401e58cf5c6fee21bd263d96100
 SHA512 
5f9c9fb8ccba497074deec01ec79e858d004d78c2d8760fcda0dc09e72347c45aa09a76680904d02cfaa96000ba9028cc9696e0c2c87fc39bce416e8b1e0f46f
+DIST ruma-de19ebaf71af620eb17abaefd92e43153f9d041d.gh.tar.gz 795455 BLAKE2B 
d7af4adf97196b230d4671271497a63bbeee8739cbb1ca0835c29e6d5cb780fe314b60c7240fbc745e24ada0a3f0a193d4dc88c57e139f3850475dea37d816a3
 SHA512 
34ef95f5da5a4a28bc56dcf3496493c57aa650c7d9e47907414502a8fc6dc0bd123b68c2f4ffce7c7fe4cf6488c7e768df8937e7cc620875d410ab5c6923412c

diff --git a/net-im/fractal/fractal-12_rc.ebuild 
b/net-im/fractal/fractal-12_rc.ebuild
new file mode 100644
index 000000000000..0256e518335f
--- /dev/null
+++ b/net-im/fractal/fractal-12_rc.ebuild
@@ -0,0 +1,123 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+"
+
+declare -A GIT_CRATES=(
+       
[matrix-sdk-base]='https://github.com/matrix-org/matrix-rust-sdk;ada68e11144507afc9d178f4264452aae1ff9e27;matrix-rust-sdk-%commit%/crates/matrix-sdk-base'
+       
[matrix-sdk-common]='https://github.com/matrix-org/matrix-rust-sdk;ada68e11144507afc9d178f4264452aae1ff9e27;matrix-rust-sdk-%commit%/crates/matrix-sdk-common'
+       
[matrix-sdk-crypto]='https://github.com/matrix-org/matrix-rust-sdk;ada68e11144507afc9d178f4264452aae1ff9e27;matrix-rust-sdk-%commit%/crates/matrix-sdk-crypto'
+       
[matrix-sdk-indexeddb]='https://github.com/matrix-org/matrix-rust-sdk;ada68e11144507afc9d178f4264452aae1ff9e27;matrix-rust-sdk-%commit%/crates/matrix-sdk-indexeddb'
+       
[matrix-sdk-qrcode]='https://github.com/matrix-org/matrix-rust-sdk;ada68e11144507afc9d178f4264452aae1ff9e27;matrix-rust-sdk-%commit%/crates/matrix-sdk-qrcode'
+       
[matrix-sdk-sqlite]='https://github.com/matrix-org/matrix-rust-sdk;ada68e11144507afc9d178f4264452aae1ff9e27;matrix-rust-sdk-%commit%/crates/matrix-sdk-sqlite'
+       
[matrix-sdk-store-encryption]='https://github.com/matrix-org/matrix-rust-sdk;ada68e11144507afc9d178f4264452aae1ff9e27;matrix-rust-sdk-%commit%/crates/matrix-sdk-store-encryption'
+       
[matrix-sdk-ui]='https://github.com/matrix-org/matrix-rust-sdk;ada68e11144507afc9d178f4264452aae1ff9e27;matrix-rust-sdk-%commit%/crates/matrix-sdk-ui'
+       
[matrix-sdk]='https://github.com/matrix-org/matrix-rust-sdk;ada68e11144507afc9d178f4264452aae1ff9e27;matrix-rust-sdk-%commit%/crates/matrix-sdk'
+       
[ruma-client-api]='https://github.com/ruma/ruma;de19ebaf71af620eb17abaefd92e43153f9d041d;ruma-%commit%/crates/ruma-client-api'
+       
[ruma-common]='https://github.com/ruma/ruma;de19ebaf71af620eb17abaefd92e43153f9d041d;ruma-%commit%/crates/ruma-common'
+       
[ruma-events]='https://github.com/ruma/ruma;de19ebaf71af620eb17abaefd92e43153f9d041d;ruma-%commit%/crates/ruma-events'
+       
[ruma-federation-api]='https://github.com/ruma/ruma;de19ebaf71af620eb17abaefd92e43153f9d041d;ruma-%commit%/crates/ruma-federation-api'
+       
[ruma-html]='https://github.com/ruma/ruma;de19ebaf71af620eb17abaefd92e43153f9d041d;ruma-%commit%/crates/ruma-html'
+       
[ruma-identifiers-validation]='https://github.com/ruma/ruma;de19ebaf71af620eb17abaefd92e43153f9d041d;ruma-%commit%/crates/ruma-identifiers-validation'
+       
[ruma-macros]='https://github.com/ruma/ruma;de19ebaf71af620eb17abaefd92e43153f9d041d;ruma-%commit%/crates/ruma-macros'
+       
[ruma]='https://github.com/ruma/ruma;de19ebaf71af620eb17abaefd92e43153f9d041d;ruma-%commit%/crates/ruma'
+)
+
+RUST_MIN_VER="1.82.0"
+
+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
+}

Reply via email to