diff options
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/fractal/Manifest | 4 | ||||
-rw-r--r-- | net-im/fractal/fractal-8_rc.ebuild | 109 |
2 files changed, 113 insertions, 0 deletions
diff --git a/net-im/fractal/Manifest b/net-im/fractal/Manifest index a492f0dca88c..57bfe5e0e59d 100644 --- a/net-im/fractal/Manifest +++ b/net-im/fractal/Manifest @@ -4,12 +4,16 @@ DIST fractal-7.rc.tar.bz2 1758681 BLAKE2B e1ba8fc8a6c03056ade1ec47d7c366b10457e6 DIST fractal-7.tar.bz2 1776528 BLAKE2B e77f434bdcd4ddc198392dec6ee07f13e21d9dd780f66555e6baf2e19ac118a8ab7acff2366c87b458d0825c230ba029d2f4a85e1678f1d08743289adc5f23a5 SHA512 413970efb89326cb19fefe9a375580e38b1338013b6b1f5b454c25e0bbe1ef948cc678ddcde5cf781dadbde150f2c58c09469adbde2fb6613009b620417cbc2d 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_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 DIST matrix-rust-sdk-0a7184e594d1dc0c00e5d5773f206f50a6c0939a.gh.tar.gz 2187701 BLAKE2B 0d65d3d5166ea3810c4e172edc0df34c8a53c9b2e80687b8a44d39dc4c4a704b49a5ef2fe9cf42e6b318380eab9ee00e9aa8c119caa45b6cbf418026ee5579d0 SHA512 7e8bdc5e437ddfed7c51ba0f8327d076ca1cf676f2cbb353b11c19b819371189c7f8f4d41b5bd102ba02181af345f142bce08c8e934bff01430ef34b80f7e06b 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 matrix-rust-sdk-92b4c2a469f507696fa9db3d6bdb000a761e2694.gh.tar.gz 2220737 BLAKE2B df740551e28e0651447dd3f3404b9e3aa2a871acaecbfb7774a5ea62c45b89b4ddfd347fa5d1975c22874e8f629a645e6fcd8d69b14de4c4e22723b47d217755 SHA512 f2f44cc3119666a7cc3382ba95b44b757ce9ef193a004aa4423ccbe51dbcafa6ecfbab6f90f2a274e88b06cd07e45c03c357877aa36e8626f67ae04c8586e328 DIST ruma-4c00bd010dbdca6005bd599b52e90a0b7015d056.gh.tar.gz 646845 BLAKE2B 0b634c56bf8235a532d0a9e4997328aa2c4f03390eaddd006f6e099a7fceb12de87b271d57b822f63198bbcfb3e3ecc1dd2b06a24e8344e3f740f4e6044afd58 SHA512 cf5428805b5eace7c6368d849a90d3b53916dcf0afabdbb38acad2e5cc0bce6d6a3d948ae50d7f3d65b221b7b30ccebdce61275461482fe691d44b0ceb129ca9 +DIST ruma-4d3d8b46fd519012e4585ccf00dbea1eb602c028.gh.tar.gz 692921 BLAKE2B 3d06096f41327351e462628d1218c9031a10f3d3dd661dc2a2008ed37001cad649dd5f081316ca4eba7acc715c6eba91576532ea62ab94c8915ec697992f9390 SHA512 6193005c1e5224f4e903f00c4086091161239b2980c88dc23c666840fb72d61b336339909cb7efb4f9f14d151a8172fb8b0ecaf162df3a0094edccf97d616fe4 DIST ruma-e5a370f7e5fcebb0da6e4945e51c5fafba9aa5f0.gh.tar.gz 683524 BLAKE2B aead22e6c7cc323fb6e0d8300c31aab0bb9033fe3db5b368a922aa2c0d077445d85355166183bb96bc03a49c9d087f8604e22059991d511c2d23d8d01041a70b SHA512 ff580a900bb0259f68349ec1d76dcdd30531c1b2300dbd990e2050963df1a2acfa105df266c24e2e3ce06c3a3ea1f54663807e64f7e84ea462bb8cce426d46ce DIST vodozemac-0c75746fc8a5eda4a0e490d345d1798b4c6cbd67.gh.tar.gz 200601 BLAKE2B 68fc156df1bc35d0a4d78e428ff39b521161e47e5dfe688b168c48510c44a80eef227851096b6875e71743301c178f8719ce6492b05f2c02941e5288f557f585 SHA512 1477da2e4c7be025ff3c1b73fce51e8d2a872d8d16481e7f159b55290810e315e0d92bb042204e3a28bc68fec346c769b04fcd82aff2de34a1293aa4bbfd14bd DIST vodozemac-4ef989c6a8eba0bc809e285a081c56320a9bbf1e.gh.tar.gz 211199 BLAKE2B 73489e233fea8813c22f99490420e19c0b30ee8a59a1815d7aab99b512680b2372c773a1038d9c1626abaa715f7eaf1149dceb1cf76b2571a6e6ebdb077febc0 SHA512 cfe8fbe9529865b1d5a2820b0d1ec42d82b3312562a8705d481a9e0126d0e5d2748b4c9e2f05faf83213980d9825fb2e296e019592cc8b17e1606d8304de60e6 diff --git a/net-im/fractal/fractal-8_rc.ebuild b/net-im/fractal/fractal-8_rc.ebuild new file mode 100644 index 000000000000..4f14fbbdf129 --- /dev/null +++ b/net-im/fractal/fractal-8_rc.ebuild @@ -0,0 +1,109 @@ +# 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/_/.} +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 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 +} |