summaryrefslogtreecommitdiff
path: root/net-im/fractal
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
commitb8c7370a682e4e29cda623222d17a790c01c3642 (patch)
treef6caa14689bd00a5760eadaa381ff41e50ef3c1b /net-im/fractal
parent8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff)
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'net-im/fractal')
-rw-r--r--net-im/fractal/Manifest2
-rw-r--r--net-im/fractal/fractal-8.ebuild111
2 files changed, 113 insertions, 0 deletions
diff --git a/net-im/fractal/Manifest b/net-im/fractal/Manifest
index 629a83e3b8a0..bbd8441ca60f 100644
--- a/net-im/fractal/Manifest
+++ b/net-im/fractal/Manifest
@@ -5,6 +5,7 @@ DIST fractal-7.tar.bz2 1776528 BLAKE2B e77f434bdcd4ddc198392dec6ee07f13e21d9dd78
DIST fractal-7_rc-crates.tar.xz 50067064 BLAKE2B 0d11ba2a36b9e71292f0e44a42fd910aba6926bf310b807833a00c1ad41bbdc50b30155b7950805c4c6c261fec464949b73a01ad27c0f92f1e5947ba5e446582 SHA512 61d4a0dda16fab90cede30e791ab34a97f7d02cccf9d0dab323eac221a5cd523c6565ffa163f8b76815c0ba390e47e485721e9124b63d0c4221ae888cd2477a6
DIST fractal-8.beta.tar.bz2 1828544 BLAKE2B a8ce003d217297b5d8a479d1a04f442aaa83d09a74bf79fdc37cbf084b7860cb8a9620ef134a2e4a9c1d2777e2e22c2af400966341335055c1bb51844de84953 SHA512 5953ccb6c1953a6a31bc8f74e12c08aba3ef39d46401c06c47a1c8d34f54acb69cb6c9197276124390aa914ab331df438538899ff78e60f40ee57cf7e40b9d11
DIST fractal-8.rc.tar.bz2 1843363 BLAKE2B 59137e9d0a78251495a04bfbef47c0b03599d2cd326281cc1366224a297cff1a5300c4a906720dcace4a061c291c6d95c4dea62c4b1b38288b880c3b198b32b0 SHA512 ab90ff7a3628272e8f72128a42572af2957b4ede37fbf973f4e5901d2974e747f624bc9911d17f45c205ca74388802f13113e68da570da4c7f3fbc792a0e8639
+DIST fractal-8.tar.bz2 1860423 BLAKE2B d6b0b0a8f479d7ceda4c40bd9eb677ef01abf8304ebd4ba8d15bc96557c78ec84af37fbca241feec3e85b3ef3b4ae6bc7564a40c5232830b43b03cd73e6fe9f4 SHA512 cae1e9f85fb570a075ceb88c115d5ce8169a3c38920765e46fd0f92e6c962a2377338e330d54cf3944903828db1c0c50c51ff4de2a079b34a478248485aad952
DIST fractal-8_beta-crates.tar.xz 48856364 BLAKE2B cf7973533446e296ee2b8fbc258c80add440aa8f29300e1f300d87ab95f74337fd6433daaae5ee494452315f9ebf12b8b45b5200dd2d70b2b9d2ae522960508c SHA512 b1f7c790412fccc1ee4ae114fd4f82fe82a155d004168b7b0ad54749c04e4a82a76557e4e1dc2d26235414975a50d830f357ac7da3bd3fce41bcaa58d25d4c5c
DIST fractal-8_rc-crates.tar.xz 49000316 BLAKE2B b9c68668e762563a06ba176e23b76fab23ba97e61e48c01ad18e063426fc906c20c559a0f812fa08871b916156d3374b9308390f950e3dd1fa56ab270f8d283e SHA512 8c855aae2fbddbe2c186b6e1c0ef269ab1ced6c5ea1f3e7270681d6523549569aa6ccab91cbc803b1322d5115d9c8cda0df75d8eef9db559f10834d542454723
DIST matrix-authentication-service-099eabd1371d2840a2f025a6372d6428039eb511.gh.tar.gz 1455871 BLAKE2B f774e3a7d86f06ebd6dbe5a9952533010d2d07d5e5857ea778c307d71c2b741027ca0787caaec602a41589f0fa7e25834fdea4325db665438a3964d1025412be SHA512 2f29252f740c3874eefdcafa2f8fe499254e01e5a3bf79dc4e93a77627f9352f0606b33529764d4cd6aefca8128c7f991c11e136ccc8286e3b3cd06959b4ffd7
@@ -20,6 +21,7 @@ DIST vodozemac-4ef989c6a8eba0bc809e285a081c56320a9bbf1e.gh.tar.gz 211199 BLAKE2B
EBUILD fractal-6.ebuild 3134 BLAKE2B 60dbc4613dd6d7d19ef87a2f31754b7c036b13ff736886bc43a6ef9c4154c051675675dedc4ce5a08c523c137b626d163f78a5f60cc1aec82b492c06cbd6abd7 SHA512 476768b5df5eebe1615af6b906a8a4ed968e769b28d22d3b632f914f6d6c20df8fedf521bce82ebb982df07088f392722bbe34f76a8c9fbd26939fe2ac0f2092
EBUILD fractal-7.ebuild 5359 BLAKE2B fa1f8128aa488b5c541fcea250ee4d81eda95d310e2261de6df4cdfb1ddb1ce4acec382af171e01f6c744c29379157245f5167bfb268a5dfaf64053c4d4f3b09 SHA512 7573673fa48ae778134d63df910b441715932398a0a0dc7e9e3ee5fb405eecd3e932d4cf36450efd8571a2e65d348ac4b6e68d987f19740e36a3cbd393a7490f
EBUILD fractal-7_rc.ebuild 5336 BLAKE2B 0bd9ae3f99a743235749872b269edc1a74aa0c414405cf90c4e599ac612bb8d8aba170f5e7240a0413ccfedea1ad57cee346e7eb723c51668bf9f9becfed9e3a SHA512 f476593e7b6b7723ea0a70cd5ab4d42c33ea3ebe22212a9317f7b2db6291099b0013acd758c7b88c84d46460a31568c42c6dae96745f1b3fc63bde768957dea5
+EBUILD fractal-8.ebuild 4450 BLAKE2B eea643a420ddfe32ffdddce6dd42a1b1e3da7e78f65bdb3b3c38c4e77a8c4249c86074508b59604099651d1bf99cf5743a1194309d877c7bb3192fb4e57888bb SHA512 b1245810c6f24d14c5ec9294098689e3f8bb182101555c55c7af5753f25d8b80d3b8f76a532af2db370e237c083a1cb1d627df6a3874d37894c42ecadc660b62
EBUILD fractal-8_beta.ebuild 4483 BLAKE2B ca38796de06640ec4cfccc636f98ebb6e86f8e1abe5d84d12c91d4c3468821844eff59d4c2fa932a3b53839bff08f555c5f086dabefa56113fc17e22c2195aff SHA512 bc1c3dfff567cb0f24226a636ea4daa39f3e708eccde0a27a21fccaea731abd4fb0172bd2505f89ba47b53736532c692d512acc4a217d1ea9269b19006f31ae4
EBUILD fractal-8_rc.ebuild 4422 BLAKE2B 1a3401f029546f124c417181574049ee62a80eb0709fe5f32f9b8b2f93a8b747e886e7187002db30f3af174fc5ccea9e9fd08cab554f01558ca8704a378fa8e9 SHA512 e98cae4026264400db90bda15e068911336520fcf0929d8c15102d98e4062aef277971c92c8dd3264e479947f886f3e03728def73b67517efa935a0f7f705d82
MISC metadata.xml 332 BLAKE2B 36b22310df0557eda42824f89922a2f86f69d1e865e7a218e68cb8402f525e6b656ffad5ddfd571db0683fedaf4be4731b90f396f10dc5860f84a68954aee178 SHA512 5be14905102caf86ecae246ca7cc69a9c3543f9c2d0cf78f99c6f0eeb04ffdbecb91bb06b12d99956ddd69d59a99b71b5caaf1a788fa6c3fd2f8142434970038
diff --git a/net-im/fractal/fractal-8.ebuild b/net-im/fractal/fractal-8.ebuild
new file mode 100644
index 000000000000..2a278e434d24
--- /dev/null
+++ b/net-im/fractal/fractal-8.ebuild
@@ -0,0 +1,111 @@
+# 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;92b4c2a469f507696fa9db3d6bdb000a761e2694;matrix-rust-sdk-%commit%/crates/matrix-sdk-base'
+ [matrix-sdk-common]='https://github.com/matrix-org/matrix-rust-sdk;92b4c2a469f507696fa9db3d6bdb000a761e2694;matrix-rust-sdk-%commit%/crates/matrix-sdk-common'
+ [matrix-sdk-crypto]='https://github.com/matrix-org/matrix-rust-sdk;92b4c2a469f507696fa9db3d6bdb000a761e2694;matrix-rust-sdk-%commit%/crates/matrix-sdk-crypto'
+ [matrix-sdk-indexeddb]='https://github.com/matrix-org/matrix-rust-sdk;92b4c2a469f507696fa9db3d6bdb000a761e2694;matrix-rust-sdk-%commit%/crates/matrix-sdk-indexeddb'
+ [matrix-sdk-qrcode]='https://github.com/matrix-org/matrix-rust-sdk;92b4c2a469f507696fa9db3d6bdb000a761e2694;matrix-rust-sdk-%commit%/crates/matrix-sdk-qrcode'
+ [matrix-sdk-sqlite]='https://github.com/matrix-org/matrix-rust-sdk;92b4c2a469f507696fa9db3d6bdb000a761e2694;matrix-rust-sdk-%commit%/crates/matrix-sdk-sqlite'
+ [matrix-sdk-store-encryption]='https://github.com/matrix-org/matrix-rust-sdk;92b4c2a469f507696fa9db3d6bdb000a761e2694;matrix-rust-sdk-%commit%/crates/matrix-sdk-store-encryption'
+ [matrix-sdk-ui]='https://github.com/matrix-org/matrix-rust-sdk;92b4c2a469f507696fa9db3d6bdb000a761e2694;matrix-rust-sdk-%commit%/crates/matrix-sdk-ui'
+ [matrix-sdk]='https://github.com/matrix-org/matrix-rust-sdk;92b4c2a469f507696fa9db3d6bdb000a761e2694;matrix-rust-sdk-%commit%/crates/matrix-sdk'
+ [ruma-client-api]='https://github.com/matrix-org/ruma;4d3d8b46fd519012e4585ccf00dbea1eb602c028;ruma-%commit%/crates/ruma-client-api'
+ [ruma-common]='https://github.com/matrix-org/ruma;4d3d8b46fd519012e4585ccf00dbea1eb602c028;ruma-%commit%/crates/ruma-common'
+ [ruma-events]='https://github.com/matrix-org/ruma;4d3d8b46fd519012e4585ccf00dbea1eb602c028;ruma-%commit%/crates/ruma-events'
+ [ruma-federation-api]='https://github.com/matrix-org/ruma;4d3d8b46fd519012e4585ccf00dbea1eb602c028;ruma-%commit%/crates/ruma-federation-api'
+ [ruma-html]='https://github.com/matrix-org/ruma;4d3d8b46fd519012e4585ccf00dbea1eb602c028;ruma-%commit%/crates/ruma-html'
+ [ruma-identifiers-validation]='https://github.com/matrix-org/ruma;4d3d8b46fd519012e4585ccf00dbea1eb602c028;ruma-%commit%/crates/ruma-identifiers-validation'
+ [ruma-macros]='https://github.com/matrix-org/ruma;4d3d8b46fd519012e4585ccf00dbea1eb602c028;ruma-%commit%/crates/ruma-macros'
+ [ruma-push-gateway-api]='https://github.com/matrix-org/ruma;4d3d8b46fd519012e4585ccf00dbea1eb602c028;ruma-%commit%/crates/ruma-push-gateway-api'
+ [ruma]='https://github.com/matrix-org/ruma;4d3d8b46fd519012e4585ccf00dbea1eb602c028;ruma-%commit%/crates/ruma'
+)
+
+inherit cargo gnome2-utils meson
+
+MY_P=${P/_/.}
+CRATE_P=fractal-8_rc
+
+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-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.79.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
+}