mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
net-im/fractal: Bump to 12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
fc3a1a13c3
commit
863e49a750
@ -2,9 +2,13 @@ DIST fractal-10.1-crates.tar.xz 51337456 BLAKE2B c6ba4a95bbc6ab19d13c2d9a175d37d
|
||||
DIST fractal-10.1.tar.bz2 1978922 BLAKE2B 0cb300af55c6403502e904d5b777fe1b4d9fd5a7ee3851ffbfdd373a1cf9eca328b59ad7023532d5435d0956d6ab7a22a5614c0576f38a5140d2d298ac23d3c9 SHA512 f0864dd9fbf1a38eed28cad1af474a8fbaf3e87095988ce0571b6012c14eec4e10fb23d9a3f416cef114b064145d83d0f505b371ff7553edd783bd7497bfe3d8
|
||||
DIST fractal-11.2-crates.tar.xz 49249088 BLAKE2B c81dcccc1ed2ed3d06c7014b3002b2bded7283b0c730a042cadde5aa9fa53db70f295e4f194274330049492e7b1c5a06f81f284bdcb1bdf2d46fc63c810f3314 SHA512 7323b2df66a6ffd06e4a118fbe55aba3ff0892e1a3a296c2284c2e3a70472d2fbea626c3e3822f86c878900a7d644979f2f1b9b62fe3fffb80b968eaa9bff45a
|
||||
DIST fractal-11.2.tar.bz2 2024324 BLAKE2B 86245a43b51087215ea110d47b4961a7f82d378fac24f2e044b0f49a305db0212e53dd380bb793b8b5aefccc240e9451db0b0049431f4ec9770b11cda86d080b SHA512 e89f5be89a345400130a7383b9b6396f7e507c412c35bb048380c274dc587c9ea7f172ab260943e717b14f3b56bc12019146e7c1def40440e4ebc532c60ace6e
|
||||
DIST fractal-12-crates.tar.xz 47785772 BLAKE2B fd26aa90f7fd2402b4f851fa6aa0c0c9586768ccfff7cec5a349c689b4fb4f0121c9e1b587b4d826310d767472aa07c6256ca066dab748799b863713b62de0e5 SHA512 c2317725cf2e1ee5845c99f4be777e936c8dbbb0d99e1d3b541746fe30957f3966115ccfa8dfcb986d8ebd263fb10dbf8506386f097eded11adc8a368621b945
|
||||
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 fractal-12.tar.bz2 2081156 BLAKE2B 56ad22309c60e712d9df2242146966d5f12f95dca48bb13e65067de379dbd7996af835a4591ffe867e8a6ac569495189aa43c4fb83838871b60b92ff65eeb3ea SHA512 f77e8f1ca1c201a6c4917ae97423e9ec805f150ecb67326612e6e40a0d2344b75d65c5591be7e7ab810fe07b02ac6e7c58e28922d4b6f47a4686a0a979629c01
|
||||
DIST matrix-rust-sdk-872713c4bc024ac9246dfa72f834584ebe92a3d7.gh.tar.gz 3088264 BLAKE2B c5881d2d646ce848ecd0a4e5da684a69992467ff65c112573941228d37c221093fba7bce1fefec97a419ecfe278c3c8041ff51b361654c20fb2f3a0a7974b6d2 SHA512 9f3d8fe6d84b63e555958cab1d991b64eaf3d91b9e4823cc83ed66f752ece0901d6161cd93f9cb1f215211b70855ca2def4422efd766fbaf8df89a64d8059945
|
||||
DIST matrix-rust-sdk-ada68e11144507afc9d178f4264452aae1ff9e27.gh.tar.gz 3057526 BLAKE2B a3196f29d03f5f332f6241922cc49ac6468a1ab2c8dbd20c3ff93f856648301100fcc8b3501bb1850fee357821eccb13a9c11401e58cf5c6fee21bd263d96100 SHA512 5f9c9fb8ccba497074deec01ec79e858d004d78c2d8760fcda0dc09e72347c45aa09a76680904d02cfaa96000ba9028cc9696e0c2c87fc39bce416e8b1e0f46f
|
||||
DIST ruma-de19ebaf71af620eb17abaefd92e43153f9d041d.gh.tar.gz 795455 BLAKE2B d7af4adf97196b230d4671271497a63bbeee8739cbb1ca0835c29e6d5cb780fe314b60c7240fbc745e24ada0a3f0a193d4dc88c57e139f3850475dea37d816a3 SHA512 34ef95f5da5a4a28bc56dcf3496493c57aa650c7d9e47907414502a8fc6dc0bd123b68c2f4ffce7c7fe4cf6488c7e768df8937e7cc620875d410ab5c6923412c
|
||||
DIST ruma-e73f302e4df7f5f0511fca1aa43853d4cf8416c8.gh.tar.gz 808498 BLAKE2B 3a60c3df4ddd6d2521cd9b5f839f951114a0b9d117097fe3dd1c39b0d65bf6afd80d71bddcd6563b0ca4bffd788129a4e144cc1b6787ae2b27667433c5119ac7 SHA512 f9875e9516d4360f7753ef98c4d036950db86c9d92863cba0e679b0c4ea4e766360133cd55841e3dbb10693e3b57759d799edaa85ef21f0f5d3cf33f7e444b3a
|
||||
|
||||
123
net-im/fractal/fractal-12.ebuild
Normal file
123
net-im/fractal/fractal-12.ebuild
Normal 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;872713c4bc024ac9246dfa72f834584ebe92a3d7;matrix-rust-sdk-%commit%/crates/matrix-sdk-base'
|
||||
[matrix-sdk-common]='https://github.com/matrix-org/matrix-rust-sdk;872713c4bc024ac9246dfa72f834584ebe92a3d7;matrix-rust-sdk-%commit%/crates/matrix-sdk-common'
|
||||
[matrix-sdk-crypto]='https://github.com/matrix-org/matrix-rust-sdk;872713c4bc024ac9246dfa72f834584ebe92a3d7;matrix-rust-sdk-%commit%/crates/matrix-sdk-crypto'
|
||||
[matrix-sdk-indexeddb]='https://github.com/matrix-org/matrix-rust-sdk;872713c4bc024ac9246dfa72f834584ebe92a3d7;matrix-rust-sdk-%commit%/crates/matrix-sdk-indexeddb'
|
||||
[matrix-sdk-qrcode]='https://github.com/matrix-org/matrix-rust-sdk;872713c4bc024ac9246dfa72f834584ebe92a3d7;matrix-rust-sdk-%commit%/crates/matrix-sdk-qrcode'
|
||||
[matrix-sdk-sqlite]='https://github.com/matrix-org/matrix-rust-sdk;872713c4bc024ac9246dfa72f834584ebe92a3d7;matrix-rust-sdk-%commit%/crates/matrix-sdk-sqlite'
|
||||
[matrix-sdk-store-encryption]='https://github.com/matrix-org/matrix-rust-sdk;872713c4bc024ac9246dfa72f834584ebe92a3d7;matrix-rust-sdk-%commit%/crates/matrix-sdk-store-encryption'
|
||||
[matrix-sdk-ui]='https://github.com/matrix-org/matrix-rust-sdk;872713c4bc024ac9246dfa72f834584ebe92a3d7;matrix-rust-sdk-%commit%/crates/matrix-sdk-ui'
|
||||
[matrix-sdk]='https://github.com/matrix-org/matrix-rust-sdk;872713c4bc024ac9246dfa72f834584ebe92a3d7;matrix-rust-sdk-%commit%/crates/matrix-sdk'
|
||||
[ruma-client-api]='https://github.com/ruma/ruma;e73f302e4df7f5f0511fca1aa43853d4cf8416c8;ruma-%commit%/crates/ruma-client-api'
|
||||
[ruma-common]='https://github.com/ruma/ruma;e73f302e4df7f5f0511fca1aa43853d4cf8416c8;ruma-%commit%/crates/ruma-common'
|
||||
[ruma-events]='https://github.com/ruma/ruma;e73f302e4df7f5f0511fca1aa43853d4cf8416c8;ruma-%commit%/crates/ruma-events'
|
||||
[ruma-federation-api]='https://github.com/ruma/ruma;e73f302e4df7f5f0511fca1aa43853d4cf8416c8;ruma-%commit%/crates/ruma-federation-api'
|
||||
[ruma-html]='https://github.com/ruma/ruma;e73f302e4df7f5f0511fca1aa43853d4cf8416c8;ruma-%commit%/crates/ruma-html'
|
||||
[ruma-identifiers-validation]='https://github.com/ruma/ruma;e73f302e4df7f5f0511fca1aa43853d4cf8416c8;ruma-%commit%/crates/ruma-identifiers-validation'
|
||||
[ruma-macros]='https://github.com/ruma/ruma;e73f302e4df7f5f0511fca1aa43853d4cf8416c8;ruma-%commit%/crates/ruma-macros'
|
||||
[ruma]='https://github.com/ruma/ruma;e73f302e4df7f5f0511fca1aa43853d4cf8416c8;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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user