summaryrefslogtreecommitdiff
path: root/net-im/fractal
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-03 11:44:27 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-03 11:44:27 +0000
commit79e5685b8db7602719212510574962664af2b036 (patch)
tree9ba712c7c9bf3e76035ea6f13b256516cfb217f9 /net-im/fractal
parentab5404adfda90358dfaba11eba5579f3f2b7f186 (diff)
gentoo auto-resync : 03:02:2024 - 11:44:27
Diffstat (limited to 'net-im/fractal')
-rw-r--r--net-im/fractal/Manifest12
-rw-r--r--net-im/fractal/files/fractal-5-secret-service.patch168
-rw-r--r--net-im/fractal/fractal-5-r1.ebuild96
-rw-r--r--net-im/fractal/fractal-6_beta.ebuild92
-rw-r--r--net-im/fractal/fractal-6_rc.ebuild4
-rw-r--r--net-im/fractal/metadata.xml2
6 files changed, 5 insertions, 369 deletions
diff --git a/net-im/fractal/Manifest b/net-im/fractal/Manifest
index 4d4c74b72312..09a80a1bb7b8 100644
--- a/net-im/fractal/Manifest
+++ b/net-im/fractal/Manifest
@@ -1,13 +1,5 @@
-AUX fractal-5-secret-service.patch 6627 BLAKE2B 7b25e5ae17429deeafe5737c05b9ddd6bbf70d01d3769bafdf20372009a3820f3ed4407e15bb8059f1373e3a4978605bf49b69b6232631d09eddd4f9669d5fd5 SHA512 25f21fa1b8361471706f1500759042aef0308df36c08adb2f42d7d5e216f700a71f869628ae9e8caa1c3054aee1b598ac9d1f9a53ec79addf690a68c2be21d85
-DIST fractal-5-crates.tar.xz 42625036 BLAKE2B c63f3b7b0029d9c0d6519463c233c7f46b4541e3bfd202cc906318342eca49889e848408dc718caa55311066423acbc6c4936e6dfc97939683a9f3b89e678add SHA512 d2cb81a61de4abec67999598750226e7d19d0f0e46bea509f17beb45c04bcef2996c20244d6b28489e3ef91d597d0f973f1b0dad5a501ca0d17d72fdef413af2
-DIST fractal-5.tar.bz2 1362630 BLAKE2B 4fb7f638a535ae75c479d84730c5608165fe28c22b228b1ca2a69c340858cedc0fc5833a27d644804b62897f2466869af037a2634921915c5efd060e6e721277 SHA512 d7ed615edb16e30ad932d005298f72cf38b10f3f87c255622b2f8ec7551a8f0fc76bc54bc5e55538e07ff603a01355c7df86e56e63a0cbefa9e43843d9c9c3f7
-DIST fractal-6.beta.tar.bz2 1382783 BLAKE2B 9d736d28b14a394477e810f18f3751a1868058d44dc04a5ad36b2d1c964773d6743db02a6072c5e42aa0a07cd2bf31b99a45b983bfca978c3919b5a8d622a412 SHA512 2d74fd1264c54b192b5a90fe47cca0c431e9aaf1fd45cbcacd1c50113c1a61f5a40935c9b9135c126a04f6da9eb86bab1e5732894cb8b8bce2fe12386ac707f5
DIST fractal-6.rc.tar.bz2 1408366 BLAKE2B f02f3679bdd062fffe577a935b23f1f5243a91990cf81a152b1cbd6a8eeded18981cc4a8d4fe90fc63216feabd930cc5eb2207e732fba8421d3243e9ed1c1705 SHA512 2337d54854d99a4de7ca2687d5e74c5310c17b20abdd6691de4927b9c5378723736e7b8e8c01e9da32bd8f65a12461b03db2cc18cf7e90095532075b8e60e50c
DIST fractal-6_beta-crates.tar.xz 45123596 BLAKE2B 88bd065066367943dc84af70a514f79e96382d62fb47caf80844a0c5532cc065fe5aa72bc737f240d6f64cd5e9f123be467c9fef0fd64e8f7a4aa496e613a408 SHA512 23cfff457be78c6ba2e71342d54605adad28dd0a21dcf3d3415477a36e78c52c921fd92083551798b6fccb4569814a33606812752c5b9c4ca2952e94f7f2f596
-DIST matrix-authentication-service-357481b52e6dc092178a16b8a7d86df036aac608.gh.tar.gz 1406414 BLAKE2B 6f00cc3c9db792b29911be9efae6dfbd4c5d80d1251953ccad4b4e4e863e18b84db2235636208efc48a8e84b83b3c4b4acfd6630263d178db9aa98e448bedd88 SHA512 b9dfa13f6479a330c0da8529ac2a723df87c044f306a66a5887e70ae2d4089ba8e7cae2d7c59e8cb0c3d7e6076eae6c2072d314dab208565891a4bcbfc511f54
DIST matrix-rust-sdk-19526cea6bce133fc48904838956846aeb966dc6.gh.tar.gz 1743912 BLAKE2B 48b6352fbad17eb1651e5ca57bca25ea64dacecf0e97b63502fa54fd86ac65728656e799c0b50fddec575d05aa408c8347815f30afbf78413e973c35e0d8768f SHA512 a330250bf25dcb4a4a4a8bfc3bdda1a19d389080fb6a4983f00cc9cddc2f12b7a8f652942a58b9ed78b9c52802f94fd391e3dfd6971add8a44dbf66460488a1b
-DIST matrix-rust-sdk-8895ce40d13faa79012144c97044990284215758.gh.tar.gz 1677376 BLAKE2B 175062e6782fa9c435c5a9f32ed9e971762a7d387064faa0ffe59407235ea858028a200496d0f3ac2718814f1e5d36a7e5f3fa93c718a345b0ee8ed997442cd6 SHA512 6ed4601ca75d0182797a4036d61d0df6f99689ab7a77638863c697ba52395ca3ef35290c38871d4136e9f4406c8f0c527c57727d808328ec9401276bf024d88d
-EBUILD fractal-5-r1.ebuild 4228 BLAKE2B 35a41ad2b3d36629691b114cdf3be584ecef6abddccacd2fdccf1ad6db5e26e1cc41a80bfbcb1191690fd43ae50643cb10f59885a99429ed7a2152b629c8d31f SHA512 29a13f4e57478e14925459d5241d411c3a947a0fdbaa46d69f25b0b330b7ca52d94f373528edcb5e1fc4c13e969a8ab62bbbc86099cadd3c05e04a69a409e526
-EBUILD fractal-6_beta.ebuild 3045 BLAKE2B 1b84392dc9263ea82c288029bfbf30aad4e4140a035b60dcd65962dec533a15c9676b46f9c122145044b7f2fd12271f8ff73953dc3e8b7398adc6b55ad0fcb51 SHA512 faacb470c2e12be1026a03f1bf63c0a2855f1c8e224274dd8f779e51c8880d849c3f31c8a1360db5eda41c51bb847f66e2dba8e72f38a2ba928812bf33bcf6f9
-EBUILD fractal-6_rc.ebuild 3118 BLAKE2B 4a3dc50288e4548beda1b5ccf487356257d59eaf8f2227564bddbc2ff1408608a7bc4502979f46a140600a3a52ea90099eac4199f4478af74067a8cff2b67613 SHA512 0421c920d3f7e6ffacb101934d0d45a739d5578c83969ae04c6e20be32d881d7a2e3d86f4f64a49c76054ee79d1df9d76d9ae8afe83eb89c8c52237096082b2e
-MISC metadata.xml 332 BLAKE2B 569a289b8162fcaf4ea56281b75c2b61a6cb104779a518ae630c25479836b80741b27b526ba6b15fc7ded67f6857518fcfed6a1070612544ece16d1ce3a10c13 SHA512 f876529939b590a35ab9becc0e33c5c50dc7c1da0b10bda95a7ed8fe483b30141d2b8719b58e5080d6caebaf6d28691b6fa5a9f08f6fdbc5ae5fd131c3c881f0
+EBUILD fractal-6_rc.ebuild 3118 BLAKE2B e093ec8bd519fff78596fb563ffcd42c8cfe67162955df93109f22a6a7cfd1f77879821933a9885359398d596bbba79d87fc9a2987cdc8337f02955aac8adb03 SHA512 a3880e710a4a10390cb2fc4cb718aeada4db4a5061105f6feb9ef729e7a65312f8a9d4241474eb68703134b2862f1252d7742bef33c7a7470de5bf200ff8fef8
+MISC metadata.xml 332 BLAKE2B 36b22310df0557eda42824f89922a2f86f69d1e865e7a218e68cb8402f525e6b656ffad5ddfd571db0683fedaf4be4731b90f396f10dc5860f84a68954aee178 SHA512 5be14905102caf86ecae246ca7cc69a9c3543f9c2d0cf78f99c6f0eeb04ffdbecb91bb06b12d99956ddd69d59a99b71b5caaf1a788fa6c3fd2f8142434970038
diff --git a/net-im/fractal/files/fractal-5-secret-service.patch b/net-im/fractal/files/fractal-5-secret-service.patch
deleted file mode 100644
index 99d9554590ab..000000000000
--- a/net-im/fractal/files/fractal-5-secret-service.patch
+++ /dev/null
@@ -1,168 +0,0 @@
-From 2e867841619efc67e8d221b7d15833520d56f3be Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?K=C3=A9vin=20Commaille?= <zecakeh@tedomum.fr>
-Date: Mon, 27 Nov 2023 13:10:22 +0100
-Subject: [PATCH] secret: Serialize secret as JSON
-
-MessagePack creates issues with Secret Service providers that expect a
-valid string.
-We don't really care about saving a few bytes when storing secrets.
----
- src/secret.rs | 80 ++++++++++++++++++++++++---------------------------
- 1 file changed, 38 insertions(+), 42 deletions(-)
-
-diff --git a/src/secret.rs b/src/secret.rs
-index 1c7a6759f..88f757f5b 100644
---- a/src/secret.rs
-+++ b/src/secret.rs
-@@ -13,14 +13,14 @@ use ruma::{DeviceId, OwnedDeviceId, OwnedUserId, UserId};
- use serde::{Deserialize, Serialize};
- use serde_json::error::Error as JsonError;
- use thiserror::Error;
--use tracing::{debug, error, warn};
-+use tracing::{debug, error, info};
- use url::Url;
-
- use crate::{
- application::AppProfile, gettext_f, prelude::*, spawn_tokio, utils::matrix, APP_ID, PROFILE,
- };
-
--pub const CURRENT_VERSION: u8 = 4;
-+pub const CURRENT_VERSION: u8 = 5;
- const SCHEMA_ATTRIBUTE: &str = "xdg:schema";
-
- static DATA_PATH: Lazy<PathBuf> = Lazy::new(|| {
-@@ -275,21 +275,21 @@ impl StoredSession {
- };
- let secret = match item.secret().await {
- Ok(secret) => {
-- if version == 0 {
-- match Secret::from_utf8(&secret) {
-+ if version <= 4 {
-+ match rmp_serde::from_slice::<Secret>(&secret) {
- Ok(secret) => secret,
- Err(error) => {
-- error!("Could not parse secret in stored session: {error:?}");
-+ error!("Could not parse secret in stored session: {error}");
- return Err(SecretError::Invalid(gettext(
- "Malformed secret in stored session",
- )));
- }
- }
- } else {
-- match rmp_serde::from_slice::<Secret>(&secret) {
-+ match serde_json::from_slice(&secret) {
- Ok(secret) => secret,
- Err(error) => {
-- error!("Could not parse secret in stored session: {error}");
-+ error!("Could not parse secret in stored session: {error:?}");
- return Err(SecretError::Invalid(gettext(
- "Malformed secret in stored session",
- )));
-@@ -407,7 +407,7 @@ impl StoredSession {
-
- let attrs = self.attributes();
- let attributes = attrs.iter().map(|(k, v)| (*k, v.as_ref())).collect();
-- let secret = rmp_serde::to_vec_named(&self.secret).unwrap();
-+ let secret = serde_json::to_string(&self.secret).unwrap();
-
- keyring
- .create_item(
-@@ -478,34 +478,30 @@ impl StoredSession {
- Ok(())
- }
-
-- /// Migrate this session to version 4.
-- ///
-- /// This implies moving the database under Fractal's directory.
-- pub async fn migrate_to_v4(&mut self, item: Item) {
-- warn!(
-- "Session {} with version {} found for user {}, migrating to version 4…",
-- self.id(),
-- self.version,
-- self.user_id,
-- );
-+ /// Migrate this session to the current version.
-+ pub async fn apply_migrations(&mut self, item: Item) {
-+ if self.version < 4 {
-+ info!("Migrating to version 4…");
-
-- let target_path = DATA_PATH.join(self.id());
-+ let target_path = DATA_PATH.join(self.id());
-
-- if self.path != target_path {
-- debug!("Moving database to: {}", target_path.to_string_lossy());
-+ if self.path != target_path {
-+ debug!("Moving database to: {}", target_path.to_string_lossy());
-
-- if let Err(error) = fs::create_dir_all(&target_path) {
-- error!("Failed to create new directory: {error}");
-- }
-+ if let Err(error) = fs::create_dir_all(&target_path) {
-+ error!("Failed to create new directory: {error}");
-+ }
-
-- if let Err(error) = fs::rename(&self.path, &target_path) {
-- error!("Failed to move database: {error}");
-- }
-+ if let Err(error) = fs::rename(&self.path, &target_path) {
-+ error!("Failed to move database: {error}");
-+ }
-
-- self.path = target_path;
-+ self.path = target_path;
-+ }
- }
-
-- self.version = 4;
-+ info!("Migrating to version 5…");
-+ self.version = 5;
-
- let clone = self.clone();
- spawn_tokio!(async move {
-@@ -548,14 +544,6 @@ pub struct Secret {
- pub passphrase: String,
- }
-
--impl Secret {
-- /// Converts a vector of bytes to a `Secret`.
-- pub fn from_utf8(slice: &[u8]) -> Result<Self, FromUtf8SecretError> {
-- let s = String::from_utf8(slice.to_owned())?;
-- Ok(serde_json::from_str(&s)?)
-- }
--}
--
- /// Retrieves all sessions stored to the `SecretService`
- pub async fn restore_sessions() -> Result<Vec<StoredSession>, SecretError> {
- let keyring = Keyring::new().await?;
-@@ -575,15 +563,23 @@ pub async fn restore_sessions() -> Result<Vec<StoredSession>, SecretError> {
- Ok(session) => sessions.push(session),
- Err(SecretError::OldVersion { item, mut session }) => {
- if session.version == 0 {
-- warn!(
-- "Found old session for {} with sled store, removing…",
-+ info!(
-+ "Found old session for user {} with sled store, removing…",
- session.user_id
- );
- session.delete(Some(item), true).await;
-- } else if session.version < 4 {
-- session.migrate_to_v4(item).await;
-- sessions.push(session);
-+ continue;
- }
-+
-+ info!(
-+ "Found session {} for user {} with old version {}, applying migrations…",
-+ session.id(),
-+ session.user_id,
-+ session.version,
-+ );
-+ session.apply_migrations(item).await;
-+
-+ sessions.push(session);
- }
- Err(SecretError::WrongProfile) => {}
- Err(error) => {
---
-GitLab
-
diff --git a/net-im/fractal/fractal-5-r1.ebuild b/net-im/fractal/fractal-5-r1.ebuild
deleted file mode 100644
index c272c0a9d990..000000000000
--- a/net-im/fractal/fractal-5-r1.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CRATES="
-"
-
-declare -A GIT_CRATES=(
- [mas-http]='https://github.com/matrix-org/matrix-authentication-service;357481b52e6dc092178a16b8a7d86df036aac608;matrix-authentication-service-%commit%/crates/http'
- [mas-iana]='https://github.com/matrix-org/matrix-authentication-service;357481b52e6dc092178a16b8a7d86df036aac608;matrix-authentication-service-%commit%/crates/iana'
- [mas-jose]='https://github.com/matrix-org/matrix-authentication-service;357481b52e6dc092178a16b8a7d86df036aac608;matrix-authentication-service-%commit%/crates/jose'
- [mas-keystore]='https://github.com/matrix-org/matrix-authentication-service;357481b52e6dc092178a16b8a7d86df036aac608;matrix-authentication-service-%commit%/crates/keystore'
- [mas-oidc-client]='https://github.com/matrix-org/matrix-authentication-service;357481b52e6dc092178a16b8a7d86df036aac608;matrix-authentication-service-%commit%/crates/oidc-client'
- [mas-tower]='https://github.com/matrix-org/matrix-authentication-service;357481b52e6dc092178a16b8a7d86df036aac608;matrix-authentication-service-%commit%/crates/tower'
- [matrix-sdk-base]='https://github.com/matrix-org/matrix-rust-sdk;8895ce40d13faa79012144c97044990284215758;matrix-rust-sdk-%commit%/crates/matrix-sdk-base'
- [matrix-sdk-common]='https://github.com/matrix-org/matrix-rust-sdk;8895ce40d13faa79012144c97044990284215758;matrix-rust-sdk-%commit%/crates/matrix-sdk-common'
- [matrix-sdk-crypto]='https://github.com/matrix-org/matrix-rust-sdk;8895ce40d13faa79012144c97044990284215758;matrix-rust-sdk-%commit%/crates/matrix-sdk-crypto'
- [matrix-sdk-indexeddb]='https://github.com/matrix-org/matrix-rust-sdk;8895ce40d13faa79012144c97044990284215758;matrix-rust-sdk-%commit%/crates/matrix-sdk-indexeddb'
- [matrix-sdk-qrcode]='https://github.com/matrix-org/matrix-rust-sdk;8895ce40d13faa79012144c97044990284215758;matrix-rust-sdk-%commit%/crates/matrix-sdk-qrcode'
- [matrix-sdk-sqlite]='https://github.com/matrix-org/matrix-rust-sdk;8895ce40d13faa79012144c97044990284215758;matrix-rust-sdk-%commit%/crates/matrix-sdk-sqlite'
- [matrix-sdk-store-encryption]='https://github.com/matrix-org/matrix-rust-sdk;8895ce40d13faa79012144c97044990284215758;matrix-rust-sdk-%commit%/crates/matrix-sdk-store-encryption'
- [matrix-sdk-ui]='https://github.com/matrix-org/matrix-rust-sdk;8895ce40d13faa79012144c97044990284215758;matrix-rust-sdk-%commit%/crates/matrix-sdk-ui'
- [matrix-sdk]='https://github.com/matrix-org/matrix-rust-sdk;8895ce40d13faa79012144c97044990284215758;matrix-rust-sdk-%commit%/crates/matrix-sdk'
- [oauth2-types]='https://github.com/matrix-org/matrix-authentication-service;357481b52e6dc092178a16b8a7d86df036aac608;matrix-authentication-service-%commit%/crates/oauth2-types'
-)
-
-inherit cargo gnome2-utils meson
-
-DESCRIPTION="Matrix messaging app for GNOME written in Rust"
-HOMEPAGE="
- https://wiki.gnome.org/Apps/Fractal
- https://gitlab.gnome.org/GNOME/fractal/
-"
-SRC_URI="
- https://gitlab.gnome.org/GNOME/fractal/-/archive/${PV}/${P}.tar.bz2
- https://dev.gentoo.org/~mgorny/dist/${P}-crates.tar.xz
- ${CARGO_CRATE_URIS}
-"
-
-LICENSE="GPL-3+"
-# Dependent crate licenses
-LICENSE+="
- Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD GPL-3+ ISC MIT
- MPL-2.0 MPL-2.0 Unicode-DFS-2016 ZLIB
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-DEPEND="
- >=dev-libs/glib-2.72
- >=gui-libs/gtk-4.10.0:4
- >=gui-libs/libadwaita-1.4.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-video/pipewire-0.3.0:=[gstreamer]
- >=dev-libs/openssl-1.0.1:=
- >=media-libs/libshumate-1.0.0:1.0
- >=dev-db/sqlite-3.24.0:3
- >=sys-apps/xdg-desktop-portal-1.14.1
-"
-RDEPEND="
- ${DEPEND}
- virtual/secret-service
-"
-# clang needed by bindgen
-BDEPEND="
- sys-devel/clang
-"
-
-# Rust
-QA_FLAGS_IGNORED="usr/bin/fractal"
-
-PATCHES=(
- # https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1462
- "${FILESDIR}/${P}-secret-service.patch"
-)
-
-src_configure() {
- meson_src_configure
- ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo-home" || die
-}
-
-pkg_postinst() {
- gnome2_schemas_update
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_schemas_update
- xdg_icon_cache_update
-}
diff --git a/net-im/fractal/fractal-6_beta.ebuild b/net-im/fractal/fractal-6_beta.ebuild
deleted file mode 100644
index 13c8fdb64a71..000000000000
--- a/net-im/fractal/fractal-6_beta.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 2023 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;19526cea6bce133fc48904838956846aeb966dc6;matrix-rust-sdk-%commit%/crates/matrix-sdk-base'
- [matrix-sdk-common]='https://github.com/matrix-org/matrix-rust-sdk;19526cea6bce133fc48904838956846aeb966dc6;matrix-rust-sdk-%commit%/crates/matrix-sdk-common'
- [matrix-sdk-crypto]='https://github.com/matrix-org/matrix-rust-sdk;19526cea6bce133fc48904838956846aeb966dc6;matrix-rust-sdk-%commit%/crates/matrix-sdk-crypto'
- [matrix-sdk-indexeddb]='https://github.com/matrix-org/matrix-rust-sdk;19526cea6bce133fc48904838956846aeb966dc6;matrix-rust-sdk-%commit%/crates/matrix-sdk-indexeddb'
- [matrix-sdk-qrcode]='https://github.com/matrix-org/matrix-rust-sdk;19526cea6bce133fc48904838956846aeb966dc6;matrix-rust-sdk-%commit%/crates/matrix-sdk-qrcode'
- [matrix-sdk-sqlite]='https://github.com/matrix-org/matrix-rust-sdk;19526cea6bce133fc48904838956846aeb966dc6;matrix-rust-sdk-%commit%/crates/matrix-sdk-sqlite'
- [matrix-sdk-store-encryption]='https://github.com/matrix-org/matrix-rust-sdk;19526cea6bce133fc48904838956846aeb966dc6;matrix-rust-sdk-%commit%/crates/matrix-sdk-store-encryption'
- [matrix-sdk-ui]='https://github.com/matrix-org/matrix-rust-sdk;19526cea6bce133fc48904838956846aeb966dc6;matrix-rust-sdk-%commit%/crates/matrix-sdk-ui'
- [matrix-sdk]='https://github.com/matrix-org/matrix-rust-sdk;19526cea6bce133fc48904838956846aeb966dc6;matrix-rust-sdk-%commit%/crates/matrix-sdk'
-)
-
-inherit cargo gnome2-utils meson
-
-MY_P=${P/_/.}
-DESCRIPTION="Matrix messaging app for GNOME written in Rust"
-HOMEPAGE="
- https://wiki.gnome.org/Apps/Fractal
- https://gitlab.gnome.org/GNOME/fractal/
-"
-SRC_URI="
- https://gitlab.gnome.org/GNOME/fractal/-/archive/${PV/_/.}/${MY_P}.tar.bz2
- ${CARGO_CRATE_URIS}
-"
-if [[ ${PKGBUMPING} != ${PVR} ]]; then
- SRC_URI+="
- https://dev.gentoo.org/~mgorny/dist/${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 GPL-3+ ISC MIT
- MPL-2.0 MPL-2.0 Unicode-DFS-2016 ZLIB
-"
-# ring crate
-LICENSE+=" openssl"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-DEPEND="
- >=dev-libs/glib-2.72
- >=gui-libs/gtk-4.10.0:4
- >=gui-libs/libadwaita-1.4.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-video/pipewire-0.3.0:=[gstreamer]
- >=dev-libs/openssl-1.0.1:=
- >=media-libs/libshumate-1.0.0:1.0
- >=dev-db/sqlite-3.24.0:3
- >=sys-apps/xdg-desktop-portal-1.14.1
-"
-RDEPEND="
- ${DEPEND}
- virtual/secret-service
-"
-# clang needed by bindgen
-BDEPEND="
- sys-devel/clang
-"
-
-# Rust
-QA_FLAGS_IGNORED="usr/bin/fractal"
-
-src_configure() {
- meson_src_configure
- ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo-home" || die
-}
-
-pkg_postinst() {
- gnome2_schemas_update
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_schemas_update
- xdg_icon_cache_update
-}
diff --git a/net-im/fractal/fractal-6_rc.ebuild b/net-im/fractal/fractal-6_rc.ebuild
index 49bb9d628318..c833834cbb14 100644
--- a/net-im/fractal/fractal-6_rc.ebuild
+++ b/net-im/fractal/fractal-6_rc.ebuild
@@ -24,10 +24,10 @@ MY_P=${P/_/.}
DESCRIPTION="Matrix messaging app for GNOME written in Rust"
HOMEPAGE="
https://wiki.gnome.org/Apps/Fractal
- https://gitlab.gnome.org/GNOME/fractal/
+ https://gitlab.gnome.org/World/fractal/
"
SRC_URI="
- https://gitlab.gnome.org/GNOME/fractal/-/archive/${PV/_/.}/${MY_P}.tar.bz2
+ https://gitlab.gnome.org/World/fractal/-/archive/${PV/_/.}/${MY_P}.tar.bz2
${CARGO_CRATE_URIS}
"
if [[ ${PKGBUMPING} != ${PVR} ]]; then
diff --git a/net-im/fractal/metadata.xml b/net-im/fractal/metadata.xml
index 8e6f4d7f8149..7090f1871134 100644
--- a/net-im/fractal/metadata.xml
+++ b/net-im/fractal/metadata.xml
@@ -6,6 +6,6 @@
<name>Michał Górny</name>
</maintainer>
<upstream>
- <remote-id type="gnome-gitlab">GNOME/fractal</remote-id>
+ <remote-id type="gnome-gitlab">World/fractal</remote-id>
</upstream>
</pkgmetadata>