net-im/fractal: Bump to 10_rc

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-01-15 16:34:15 +01:00
parent a6bde2ff4c
commit ddbf2ff81f
2 changed files with 127 additions and 0 deletions
+4
View File
@@ -1,6 +1,10 @@
DIST fractal-10.beta.tar.bz2 1964153 BLAKE2B 638525c3d177c53021c63656a74a8616e725bc2f971fe2c2a4412f45c5bbd48b76d859d6a6fc50b39141409c6429bd0bc794c155bfbbab9e0f793805df285940 SHA512 286b59500c6db5c4293e5b947e0f028a9b2c689984627ac59b642cfcefb8c299a994564b1266b3fb43172298d4b53325bee971f5ab93e56a50a5c6f630654192
DIST fractal-10.rc.tar.bz2 1982345 BLAKE2B b3435fd6fc4f3d2363e2eaac7dc3a42cfba9e0ffc94ed910b0efa73f900b8378ced8b3445dc88dd7f137971683e9be4a87cc3ceb5b53b158515f80e32f713091 SHA512 06b3b6c05d7988d324b18bcb3a454b941b8a42e0975a4e295dac661fbae096e48bde7e67f1c31783c245a4a5b308a5a8cc891a81a977b8c9c7c32bff10cb4045
DIST fractal-10_beta-crates.tar.xz 47757844 BLAKE2B 4946bd3f60b4025617281de4e418ba77bd8868163f37c66207509b475954b19362e589ed24994c089c5ccb6001a74b40c3bcf40998e92a15cf3d55eec385828a SHA512 e38110e9bcd3deac70a0a959d387f9d1fc6a0bcf94bbd4cf70520183a753ca6f4de42d0bcea00ae4f951fe7ae4982a450e01930156ec0329b12e0caaa995471c
DIST fractal-10_rc-crates.tar.xz 46451468 BLAKE2B 5ffadfeec0e19ada66785d9413716a7fe8e110efc0349246b87cbf460d2866f041b676811e7dbce2ebff33bd4a4cc58f9980b5b4d4d401e845b27ad4cb481324 SHA512 fb39271f2aac25ce8791e6a4693a5c4ee91b83e613cdba439a7ffd6588a0d6e167f12a85b146c72ee711278b752651514cb28db02b0f90978d7b8d9be7cea754
DIST fractal-8.tar.bz2 1860423 BLAKE2B d6b0b0a8f479d7ceda4c40bd9eb677ef01abf8304ebd4ba8d15bc96557c78ec84af37fbca241feec3e85b3ef3b4ae6bc7564a40c5232830b43b03cd73e6fe9f4 SHA512 cae1e9f85fb570a075ceb88c115d5ce8169a3c38920765e46fd0f92e6c962a2377338e330d54cf3944903828db1c0c50c51ff4de2a079b34a478248485aad952
DIST fractal-8_rc-crates.tar.xz 49000316 BLAKE2B b9c68668e762563a06ba176e23b76fab23ba97e61e48c01ad18e063426fc906c20c559a0f812fa08871b916156d3374b9308390f950e3dd1fa56ab270f8d283e SHA512 8c855aae2fbddbe2c186b6e1c0ef269ab1ced6c5ea1f3e7270681d6523549569aa6ccab91cbc803b1322d5115d9c8cda0df75d8eef9db559f10834d542454723
DIST matrix-rust-sdk-92b4c2a469f507696fa9db3d6bdb000a761e2694.gh.tar.gz 2220737 BLAKE2B df740551e28e0651447dd3f3404b9e3aa2a871acaecbfb7774a5ea62c45b89b4ddfd347fa5d1975c22874e8f629a645e6fcd8d69b14de4c4e22723b47d217755 SHA512 f2f44cc3119666a7cc3382ba95b44b757ce9ef193a004aa4423ccbe51dbcafa6ecfbab6f90f2a274e88b06cd07e45c03c357877aa36e8626f67ae04c8586e328
DIST matrix-rust-sdk-9514388108c7007cbdc822c582d26ad9e89af5d9.gh.tar.gz 2506236 BLAKE2B 2e30d002da8c4c53d4494af2933ac8e3ed116f8edcfd84f29a130aeaf4a04603d6a5c453ce2e34cc8879291c584c22bdef4dfdec576d4bcd3686e6e3147d45e0 SHA512 0fff84a263e733105d381adcd452a4c277ba561926c6cddb023e4620abdf37e488e28888e4343d968b0fb49bdd881e395c6f187c2ba1bcc70781879a36e55366
DIST ruma-4d3d8b46fd519012e4585ccf00dbea1eb602c028.gh.tar.gz 692921 BLAKE2B 3d06096f41327351e462628d1218c9031a10f3d3dd661dc2a2008ed37001cad649dd5f081316ca4eba7acc715c6eba91576532ea62ab94c8915ec697992f9390 SHA512 6193005c1e5224f4e903f00c4086091161239b2980c88dc23c666840fb72d61b336339909cb7efb4f9f14d151a8172fb8b0ecaf162df3a0094edccf97d616fe4
DIST ruma-b266343136e8470a7d040efc207e16af0c20d374.gh.tar.gz 740485 BLAKE2B a96fe3a41449de40e2d95fe4b1995f73e1119d1c10de562c584e23694fe7141b65f6a5efa557435b125a38052fd8b37a4b683c84a3b13ec8e5749d0b3d8d9d54 SHA512 87649cbd78550f3e3936610eb57470fd6af8cf890a8aec7a4859387226e3048f5faf4ce72070775df627d2edbffc8e086c10a307ff4942874878aa103e989abe
+123
View File
@@ -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;9514388108c7007cbdc822c582d26ad9e89af5d9;matrix-rust-sdk-%commit%/crates/matrix-sdk-base'
[matrix-sdk-common]='https://github.com/matrix-org/matrix-rust-sdk;9514388108c7007cbdc822c582d26ad9e89af5d9;matrix-rust-sdk-%commit%/crates/matrix-sdk-common'
[matrix-sdk-crypto]='https://github.com/matrix-org/matrix-rust-sdk;9514388108c7007cbdc822c582d26ad9e89af5d9;matrix-rust-sdk-%commit%/crates/matrix-sdk-crypto'
[matrix-sdk-indexeddb]='https://github.com/matrix-org/matrix-rust-sdk;9514388108c7007cbdc822c582d26ad9e89af5d9;matrix-rust-sdk-%commit%/crates/matrix-sdk-indexeddb'
[matrix-sdk-qrcode]='https://github.com/matrix-org/matrix-rust-sdk;9514388108c7007cbdc822c582d26ad9e89af5d9;matrix-rust-sdk-%commit%/crates/matrix-sdk-qrcode'
[matrix-sdk-sqlite]='https://github.com/matrix-org/matrix-rust-sdk;9514388108c7007cbdc822c582d26ad9e89af5d9;matrix-rust-sdk-%commit%/crates/matrix-sdk-sqlite'
[matrix-sdk-store-encryption]='https://github.com/matrix-org/matrix-rust-sdk;9514388108c7007cbdc822c582d26ad9e89af5d9;matrix-rust-sdk-%commit%/crates/matrix-sdk-store-encryption'
[matrix-sdk-ui]='https://github.com/matrix-org/matrix-rust-sdk;9514388108c7007cbdc822c582d26ad9e89af5d9;matrix-rust-sdk-%commit%/crates/matrix-sdk-ui'
[matrix-sdk]='https://github.com/matrix-org/matrix-rust-sdk;9514388108c7007cbdc822c582d26ad9e89af5d9;matrix-rust-sdk-%commit%/crates/matrix-sdk'
[ruma-client-api]='https://github.com/ruma/ruma;b266343136e8470a7d040efc207e16af0c20d374;ruma-%commit%/crates/ruma-client-api'
[ruma-common]='https://github.com/ruma/ruma;b266343136e8470a7d040efc207e16af0c20d374;ruma-%commit%/crates/ruma-common'
[ruma-events]='https://github.com/ruma/ruma;b266343136e8470a7d040efc207e16af0c20d374;ruma-%commit%/crates/ruma-events'
[ruma-federation-api]='https://github.com/ruma/ruma;b266343136e8470a7d040efc207e16af0c20d374;ruma-%commit%/crates/ruma-federation-api'
[ruma-html]='https://github.com/ruma/ruma;b266343136e8470a7d040efc207e16af0c20d374;ruma-%commit%/crates/ruma-html'
[ruma-identifiers-validation]='https://github.com/ruma/ruma;b266343136e8470a7d040efc207e16af0c20d374;ruma-%commit%/crates/ruma-identifiers-validation'
[ruma-macros]='https://github.com/ruma/ruma;b266343136e8470a7d040efc207e16af0c20d374;ruma-%commit%/crates/ruma-macros'
[ruma]='https://github.com/ruma/ruma;b266343136e8470a7d040efc207e16af0c20d374;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://dev.gentoo.org/~mgorny/dist/${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 ISC
MIT MPL-2.0 MPL-2.0 Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
>=dev-libs/glib-2.82
>=gui-libs/gtk-4.16:4
>=gui-libs/libadwaita-1.6: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
>=media-plugins/gst-plugin-gtk4-0.13.0:1.0
>=gui-libs/gtksourceview-5.0.0:5
>=media-video/pipewire-0.3.0:=[gstreamer]
>=media-libs/libwebp-1.0.0:=
>=dev-libs/openssl-1.0.1:=
>=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
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 dev settings are insane
sed -i -e 's:profile\.dev:ignored.insanity:' Cargo.toml || die
}
src_configure() {
local mymesonargs=(
#-Ddisable-glycin-sandbox=true
)
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
}