From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2B119158064 for ; Tue, 30 Apr 2024 04:34:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9121E2A16; Tue, 30 Apr 2024 04:34:47 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D41AE2A16 for ; Tue, 30 Apr 2024 04:34:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46E783430AA for ; Tue, 30 Apr 2024 04:34:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 678BA1797 for ; Tue, 30 Apr 2024 04:34:44 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1714451675.f53aa5d265ad340d1fab0f3ae8a57a410e7461d1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/fractal/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/fractal/Manifest net-im/fractal/fractal-7_rc.ebuild X-VCS-Directories: net-im/fractal/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f53aa5d265ad340d1fab0f3ae8a57a410e7461d1 X-VCS-Branch: master Date: Tue, 30 Apr 2024 04:34:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0bcb455b-b702-4fbc-b301-6b4f6c816b9a X-Archives-Hash: 9a329786f1a6d9c73ce353d6d193001f commit: f53aa5d265ad340d1fab0f3ae8a57a410e7461d1 Author: Michał Górny gentoo org> AuthorDate: Mon Apr 29 19:58:09 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Apr 30 04:34:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f53aa5d2 net-im/fractal: Bump to 7_rc Signed-off-by: Michał Górny gentoo.org> net-im/fractal/Manifest | 6 ++ net-im/fractal/fractal-7_rc.ebuild | 115 +++++++++++++++++++++++++++++++++++++ 2 files changed, 121 insertions(+) diff --git a/net-im/fractal/Manifest b/net-im/fractal/Manifest index 869ecbcd8733..2d39bb92a4b5 100644 --- a/net-im/fractal/Manifest +++ b/net-im/fractal/Manifest @@ -1,3 +1,9 @@ DIST fractal-6.tar.bz2 1430986 BLAKE2B 2388771eb34b527ce758efc9a81a5134cb5558ba64bbdf2cbb4911e56698dff7fcf175280b1a8126ffe59189024dbdb3fb847a88e991b86adb81b5e0f64a4ef7 SHA512 78f5ae06117b8f7218084946c883022ec08ae213a433c17386cdf84a30dcb2796f957c13b5b21cef1e500df0b1a86794aff144698c014fdeb42b782bf5583280 DIST fractal-6_beta-crates.tar.xz 45123596 BLAKE2B 88bd065066367943dc84af70a514f79e96382d62fb47caf80844a0c5532cc065fe5aa72bc737f240d6f64cd5e9f123be467c9fef0fd64e8f7a4aa496e613a408 SHA512 23cfff457be78c6ba2e71342d54605adad28dd0a21dcf3d3415477a36e78c52c921fd92083551798b6fccb4569814a33606812752c5b9c4ca2952e94f7f2f596 +DIST fractal-7.rc.tar.bz2 1758681 BLAKE2B e1ba8fc8a6c03056ade1ec47d7c366b10457e69f36926f53e8b3066c9a8381ff7de8905e7015fdd898f70443a3863b3eaab38e77bf5fff415ffef123bc9128f3 SHA512 7d8e4106dfdd3f5aa5615d5ddd299752b08052c303cb336d8e3b4f75ade938f91d363f3d6a51b44b12a6b86c65e127ebd4809383a58f9afdf4ee10361f72883d +DIST fractal-7_rc-crates.tar.xz 50067064 BLAKE2B 0d11ba2a36b9e71292f0e44a42fd910aba6926bf310b807833a00c1ad41bbdc50b30155b7950805c4c6c261fec464949b73a01ad27c0f92f1e5947ba5e446582 SHA512 61d4a0dda16fab90cede30e791ab34a97f7d02cccf9d0dab323eac221a5cd523c6565ffa163f8b76815c0ba390e47e485721e9124b63d0c4221ae888cd2477a6 +DIST matrix-authentication-service-099eabd1371d2840a2f025a6372d6428039eb511.gh.tar.gz 1455871 BLAKE2B f774e3a7d86f06ebd6dbe5a9952533010d2d07d5e5857ea778c307d71c2b741027ca0787caaec602a41589f0fa7e25834fdea4325db665438a3964d1025412be SHA512 2f29252f740c3874eefdcafa2f8fe499254e01e5a3bf79dc4e93a77627f9352f0606b33529764d4cd6aefca8128c7f991c11e136ccc8286e3b3cd06959b4ffd7 DIST matrix-rust-sdk-19526cea6bce133fc48904838956846aeb966dc6.gh.tar.gz 1743912 BLAKE2B 48b6352fbad17eb1651e5ca57bca25ea64dacecf0e97b63502fa54fd86ac65728656e799c0b50fddec575d05aa408c8347815f30afbf78413e973c35e0d8768f SHA512 a330250bf25dcb4a4a4a8bfc3bdda1a19d389080fb6a4983f00cc9cddc2f12b7a8f652942a58b9ed78b9c52802f94fd391e3dfd6971add8a44dbf66460488a1b +DIST matrix-rust-sdk-88c4dec35f05ae295e0f2bf0362d6f5d72606d92.gh.tar.gz 1888735 BLAKE2B 5906290df4815505e28d3233c1e9515cb466b71068e6bbce4d89b33111b2367300e5503da61a7d1986e7ce1e515ab20c8d300c23de27e5168a216efba5c90893 SHA512 cced50fd36fe00223113533f65986b767919c6fadf68e6f4a8f778928510fa7702ef0d8f080e0eea686e1a99b324c6bafa141382e64aeb821fa1a1e258e1e98b +DIST ruma-4c00bd010dbdca6005bd599b52e90a0b7015d056.gh.tar.gz 646845 BLAKE2B 0b634c56bf8235a532d0a9e4997328aa2c4f03390eaddd006f6e099a7fceb12de87b271d57b822f63198bbcfb3e3ecc1dd2b06a24e8344e3f740f4e6044afd58 SHA512 cf5428805b5eace7c6368d849a90d3b53916dcf0afabdbb38acad2e5cc0bce6d6a3d948ae50d7f3d65b221b7b30ccebdce61275461482fe691d44b0ceb129ca9 +DIST vodozemac-0c75746fc8a5eda4a0e490d345d1798b4c6cbd67.gh.tar.gz 200601 BLAKE2B 68fc156df1bc35d0a4d78e428ff39b521161e47e5dfe688b168c48510c44a80eef227851096b6875e71743301c178f8719ce6492b05f2c02941e5288f557f585 SHA512 1477da2e4c7be025ff3c1b73fce51e8d2a872d8d16481e7f159b55290810e315e0d92bb042204e3a28bc68fec346c769b04fcd82aff2de34a1293aa4bbfd14bd diff --git a/net-im/fractal/fractal-7_rc.ebuild b/net-im/fractal/fractal-7_rc.ebuild new file mode 100644 index 000000000000..1541d0b57f73 --- /dev/null +++ b/net-im/fractal/fractal-7_rc.ebuild @@ -0,0 +1,115 @@ +# Copyright 2023-2024 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;099eabd1371d2840a2f025a6372d6428039eb511;matrix-authentication-service-%commit%/crates/http' + [mas-iana]='https://github.com/matrix-org/matrix-authentication-service;099eabd1371d2840a2f025a6372d6428039eb511;matrix-authentication-service-%commit%/crates/iana' + [mas-jose]='https://github.com/matrix-org/matrix-authentication-service;099eabd1371d2840a2f025a6372d6428039eb511;matrix-authentication-service-%commit%/crates/jose' + [mas-oidc-client]='https://github.com/matrix-org/matrix-authentication-service;099eabd1371d2840a2f025a6372d6428039eb511;matrix-authentication-service-%commit%/crates/oidc-client' + [matrix-sdk-base]='https://github.com/matrix-org/matrix-rust-sdk;88c4dec35f05ae295e0f2bf0362d6f5d72606d92;matrix-rust-sdk-%commit%/crates/matrix-sdk-base' + [matrix-sdk-common]='https://github.com/matrix-org/matrix-rust-sdk;88c4dec35f05ae295e0f2bf0362d6f5d72606d92;matrix-rust-sdk-%commit%/crates/matrix-sdk-common' + [matrix-sdk-crypto]='https://github.com/matrix-org/matrix-rust-sdk;88c4dec35f05ae295e0f2bf0362d6f5d72606d92;matrix-rust-sdk-%commit%/crates/matrix-sdk-crypto' + [matrix-sdk-indexeddb]='https://github.com/matrix-org/matrix-rust-sdk;88c4dec35f05ae295e0f2bf0362d6f5d72606d92;matrix-rust-sdk-%commit%/crates/matrix-sdk-indexeddb' + [matrix-sdk-qrcode]='https://github.com/matrix-org/matrix-rust-sdk;88c4dec35f05ae295e0f2bf0362d6f5d72606d92;matrix-rust-sdk-%commit%/crates/matrix-sdk-qrcode' + [matrix-sdk-sqlite]='https://github.com/matrix-org/matrix-rust-sdk;88c4dec35f05ae295e0f2bf0362d6f5d72606d92;matrix-rust-sdk-%commit%/crates/matrix-sdk-sqlite' + [matrix-sdk-store-encryption]='https://github.com/matrix-org/matrix-rust-sdk;88c4dec35f05ae295e0f2bf0362d6f5d72606d92;matrix-rust-sdk-%commit%/crates/matrix-sdk-store-encryption' + [matrix-sdk-ui]='https://github.com/matrix-org/matrix-rust-sdk;88c4dec35f05ae295e0f2bf0362d6f5d72606d92;matrix-rust-sdk-%commit%/crates/matrix-sdk-ui' + [matrix-sdk]='https://github.com/matrix-org/matrix-rust-sdk;88c4dec35f05ae295e0f2bf0362d6f5d72606d92;matrix-rust-sdk-%commit%/crates/matrix-sdk' + [oauth2-types]='https://github.com/matrix-org/matrix-authentication-service;099eabd1371d2840a2f025a6372d6428039eb511;matrix-authentication-service-%commit%/crates/oauth2-types' + [ruma-client-api]='https://github.com/ruma/ruma;4c00bd010dbdca6005bd599b52e90a0b7015d056;ruma-%commit%/crates/ruma-client-api' + [ruma-common]='https://github.com/ruma/ruma;4c00bd010dbdca6005bd599b52e90a0b7015d056;ruma-%commit%/crates/ruma-common' + [ruma-events]='https://github.com/ruma/ruma;4c00bd010dbdca6005bd599b52e90a0b7015d056;ruma-%commit%/crates/ruma-events' + [ruma-federation-api]='https://github.com/ruma/ruma;4c00bd010dbdca6005bd599b52e90a0b7015d056;ruma-%commit%/crates/ruma-federation-api' + [ruma-html]='https://github.com/ruma/ruma;4c00bd010dbdca6005bd599b52e90a0b7015d056;ruma-%commit%/crates/ruma-html' + [ruma-identifiers-validation]='https://github.com/ruma/ruma;4c00bd010dbdca6005bd599b52e90a0b7015d056;ruma-%commit%/crates/ruma-identifiers-validation' + [ruma-macros]='https://github.com/ruma/ruma;4c00bd010dbdca6005bd599b52e90a0b7015d056;ruma-%commit%/crates/ruma-macros' + [ruma-push-gateway-api]='https://github.com/ruma/ruma;4c00bd010dbdca6005bd599b52e90a0b7015d056;ruma-%commit%/crates/ruma-push-gateway-api' + [ruma]='https://github.com/ruma/ruma;4c00bd010dbdca6005bd599b52e90a0b7015d056;ruma-%commit%/crates/ruma' + [vodozemac]='https://github.com/matrix-org/vodozemac;0c75746fc8a5eda4a0e490d345d1798b4c6cbd67;vodozemac-%commit%' +) + +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/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://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 +" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +DEPEND=" + >=dev-libs/glib-2.76 + >=gui-libs/gtk-4.12.0:4 + >=gui-libs/libadwaita-1.5.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 + >=virtual/rust-1.75.0 +" + +# Rust +QA_FLAGS_IGNORED="usr/bin/fractal" + +src_prepare() { + default + + # upstream dev settings are insane + sed -i -e 's:profile\.dev:ignored.insanity:' Cargo.toml || die +} + +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 +}