mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
net-im/fractal: Bump to 6_rc
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
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
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
# Copyright 2023-2024 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/_rc/_beta}-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_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user