diff options
author | Arsen Arsenović <arsen@aarsen.me> | 2024-10-06 20:00:06 +0200 |
---|---|---|
committer | Arsen Arsenović <arsen@aarsen.me> | 2024-10-06 20:00:06 +0200 |
commit | 05b333ee23f85e1fe7ab82dc6a5134dd328f0c6e (patch) | |
tree | eaf84dbbc199b5bb07c78adc1441ed43395e6ce5 | |
parent | net-im/conduit: use cargo_src_install (diff) | |
download | arsen-trunk.tar.gz arsen-trunk.tar.bz2 arsen-trunk.zip |
net-im/conduit: add 0.9.0trunk
Signed-off-by: Arsen Arsenović <arsen@aarsen.me>
-rw-r--r-- | net-im/conduit/Manifest | 4 | ||||
-rw-r--r-- | net-im/conduit/conduit-0.9.0.ebuild | 473 |
2 files changed, 477 insertions, 0 deletions
diff --git a/net-im/conduit/Manifest b/net-im/conduit/Manifest index b8f8ea1..6db6954 100644 --- a/net-im/conduit/Manifest +++ b/net-im/conduit/Manifest @@ -46,6 +46,7 @@ DIST clap_derive-4.5.4.crate 29159 BLAKE2B 6f7087d553102f24c9de37e1ba85c0d540ea4 DIST clap_lex-0.7.0.crate 11915 BLAKE2B 03287f02067f6cb33bb3889e8032b0848e9a9cc17446eb0e2767768cf6ea8c579a7455d33c8af735fb8d0c16095b19f991a5e2528dee3a7628d68c16f9307fa4 SHA512 638feb2e4571677dbe15ef0423866d2f0df309723e5ad65ddeaff7fd5e2e83adcb973a32d52a5f3924ea88fcff865e956b7d30dcd569df0412ef47848af14036 DIST color_quant-1.1.0.crate 6649 BLAKE2B 9a2488dd00b7a33e15e05531ea49ef1961131f0be0922ba41e2d74d2b1a047daed483ac3a9dd87c847a81cce70a347395c557cad8228ab9a8dc5be7cc0f1bcaa SHA512 690c928bda4b7b57425f38ea68ac89cde2473b7a91b7e62c04a8f2c5a0fa3505e26b065d48b7ad0a8bb491f92f600f896fefdad3ce0e86e43cbf4f9a89e94201 DIST conduit-v0.8.0.tar.bz2 230528 BLAKE2B fa0d0baad9b2778ae52da09128586bcb4014851724674d101d5b164f93d43def39f38e50b34b3219b6e01bd9c421493b6f5f388b8b32902daff14fa02a9fb5b8 SHA512 e0bdbf2c92c6d06d8ce0ae08a69b957f7e32616a2a5e1479c90457023d3f04f9a132e698f45f4d79aec139b1c57a74d9f74d846003bfea0d633eec4115682026 +DIST conduit-v0.9.0.tar.bz2 233703 BLAKE2B 88715511046679b8e35cf2e8e317f95c6779fa33eabd9233e49adf4375540975fcb1fa5b4fc68207698900a93ab5470e19a5e79970fcfd3d990293c8b21a0730 SHA512 1031627cbc46dd3bd35ceac4fdec733de70e5710be182a16ba8ba8bf0939c6716bd14d3f0f0ea5223213c297901bfeafa268958e62a51e74d073cc7debf3c9f5 DIST const-oid-0.9.6.crate 45382 BLAKE2B ac27c689784fbb1f486cec1c17502c8738ce3d7d1b579391a151cb0f0a6a0c8335e474d0a517c59230fcac74317396f20ac15d66e2f6685780be01dab197fd96 SHA512 b871d3b4326c4828b1c1d7a3e968315fa320e0b52e97081a95617ded0dc5b93d42b3f79ad26ff3b58a4835dcc442473f3965c2b60026412ad6aacc0c23e9f399 DIST const_panic-0.2.8.crate 48077 BLAKE2B c263ddd7488e7d67eac7e678cbd56f5904c51b290f20f80cd32439f4584006463ba266db6af2f975365feadd500b414eaa6a6639949ada782e8a81b3878f3a85 SHA512 302388c0a91193eabd94a8d92c48bf65a428540eda09915553a4ba53906ee8dc1590695f2cf617d7914ea044add684dc983b29281cc78e4849e6be93b6f46b9d DIST constant_time_eq-0.3.0.crate 11369 BLAKE2B a6fb4ad3146b26bb3e18458938e65133431df129963041465291b38a69ba2b53ffcc849f455e67a65a5291803591b350afe4ad4996f1c4cb76c18a987b5b3ee2 SHA512 77bf6817c521daa45c0df7721418b4aa367531adde46b1db97316d52ffb46fc4ee2d3e6f62ff91ca6292db5e1d3e040f0f5287c3936f12a595b2c8c5928bf5e6 @@ -110,10 +111,12 @@ DIST hmac-0.12.1.crate 42657 BLAKE2B 5d432a666dbcf9077a98e1f8a4aaa3afc88f3d88553 DIST hostname-0.3.1.crate 9272 BLAKE2B cafcae4bbfadd51d058e3daba3e63d897bc3418723d8e843fd941d9663dbc89dba131c77d14ce7a5da552650ea3c40c4e418c88d465f1bab2fa20c178596852d SHA512 a90407996353c9bcf5b76be03713e3a0455ac80a50892e77a508744cf436a938ddb87ef97d8cc91ec7dc4353cfb7bca0fd28c90a72f8a9ecd4f29220d174edf2 DIST http-0.2.12.crate 101964 BLAKE2B c35c2ae5f9494cafdfacefd778b4b6824588e74685fe5204bc6efa87b667d00b28f59cae667115fe45ae332d8542e7a0c2c7c42fdeb302302f89b00cb716f380 SHA512 e32dd4600aae7e26f1d530871815b30fa0b9bf95293005649bd9a7bc4df7f69a1d8de503d1b8873e67a5496e644d0a47db2a0680fa1e9058bee4dcecccebee58 DIST http-1.1.0.crate 103144 BLAKE2B 7a8c4ffd3ce664e1f575bf4042ac0f15ff42b200fa8c6aa27a6686d77be2de7cd3df242e36f8cb45cdb822bfa96011d5d5dd7bb03122ae5bdcaa15bbf9d40051 SHA512 1c29f25a8895a69d815e21df427dfff7924e9040d01c55cc3256dd0b5e72b670fe75b1414223fb971c16082e4b26217142628be5e0905994da4f08b52e7f4a33 +DIST http-auth-0.1.9.crate 39318 BLAKE2B 33eb18f36a7accaa9bd5db9fff515e9da7ce24f987c1fe05d9cca093947da2621d59016e1b00bc7a9d43e279cdde384d464c09619356bf62b4e1b1ee7c792143 SHA512 bb3154157db52908f2ead1e7a3b0296ee32061dd8be5d0a030b4fbfdc80bb590e8140476c9cdae9d3066fe54011da12c87a2a10409afe77c9f3f06f1ec69041e DIST http-body-0.4.6.crate 10773 BLAKE2B 828a43f8ec79a7187cd6f5379edd50127cefa8e80e9bc1205e80c567f506f4778387dcb1d2808e68f1b88bfc7e2d6405ddf9ede9403d35584e31bc62db0b7756 SHA512 fd74fcbd25044aefa183e3caad6cde0967cbb00b6d80addec2589d037b752cdafcdfd02d29d38a12b5c7d87cf1cb5e5ed80488057735b9dd73e03904006a5462 DIST http-body-1.0.0.crate 5411 BLAKE2B f560b45bfb1525fbdb209982740dc2da5688034912377b88a1f0e069a003bd3fba3d3f248bae98dde043e6f797f256a219228611e9b8035e6181f4c84381f823 SHA512 b351df7a2ec991787a57232229f80a29a648433de25efc1db2c9453d5a09b75c2e8b0101268b6753251c686a2af9ce346e08bd016f4e93891534f428c1d80183 DIST http-body-util-0.1.1.crate 11930 BLAKE2B 7e8388c2e15f7cd2d4e4630bd1af25bea49efc2444b18aaecd5fe191d913c7922a34efcf48b69811e1c64923bb7dc1e3aae9a2ca2daa1b1a5c9e12c679dcf787 SHA512 bb3750ab98dcaa7024c1b5a90b3865b303fac8f723dd037960f12815c6e0d1e68ab5e09dad0b7ab3154a820e7ec4a5bc7b39be104e5721c7ef1fb36416fd9b24 DIST httparse-1.8.0.crate 29954 BLAKE2B 82c48fdd6d28e94c42df180415ea3e30d471ace2fee09d7d8d33aff0a8e9a15d3029c90f3bb036b4f587c8902094a2ec21e4ca6ca7b654a82562bd84fe208ef9 SHA512 849159d9876e0474c71f3c7aa3a7271699b807b293832d88d52e4326ed410b25f9d7b9ad75a143a51fb5c8ea5016c2513348edbc050d3b62dc9a6737ae98ee8f +DIST httparse-1.9.4.crate 38555 BLAKE2B 24949d12a08fad7c90f57de628fed1cf9d0a726ddf1b1f66def1d7037f509406911e6a54067eb299436d865881fcb5b4dcd54bc9a7fd166f9ab6f562ca29a3c7 SHA512 7a6c34cd0e60aea6a4e747b1e0711c7227f0cb6f332ed34b8b5424ab2d21772a77e60295e4df6421e921f6f9afe1e9955db1be5bf1dbc065200d4aa7d23a4aef DIST httpdate-1.0.3.crate 10639 BLAKE2B ce0b401c69f76252639c10f6c2e4a823574a58565d7c5cc3633c72837aa4ec3630b34b148de4378ec498db196e3b2e1413ca0e5a4d9247855380fe19a8c20f94 SHA512 0586888fe89f40b838d5ceb083084d0b8058feff1d2933faedb96896dc86eec68b541a0374a508fd11b86eeadab3c62f88568ffe2c53206fad438373a50b2e5a DIST hyper-0.14.29.crate 198107 BLAKE2B 9bb42a18c9ecd0a3055daf2be5e0308ceb3bb66cc73fbcf0fe91746c40f437be0cfff88ac653fd43f25bb855fe563ff9f7a70c031e02f007f5fbaaf5d752283c SHA512 998c0ae60a6fd2b80717da1aa9596553489a8af890f34d9d9e6b0afe1e7e8960645fd5cbcf1379bd14d91f006fd4eb1c45e0d1ac5d3bd68731395c1b51b1dd07 DIST hyper-1.3.1.crate 148763 BLAKE2B 50727f12dc4fc3ac605b19f92c30815a059364674b57dc0d8fee1aac548ba9474a9c0f23c32c537ef1b814a6eef10608dd442c579e37b102c249356c715f3cb7 SHA512 a7158d887593e29885c0d62a482916d50e14b69d7a4136be6c29e262d739d742d551446507bed27f7e6d7b142faac9907ed7b590e6f84175092c52f176598806 @@ -215,6 +218,7 @@ DIST regex-syntax-0.8.3.crate 347497 BLAKE2B 9ac2f63098ffa3fff51fe2bc0bcf9ef164c DIST reqwest-0.12.4.crate 170627 BLAKE2B 7aeb2cbb9ce8a7ff28d7befb727e5be36f7ca03ab3d449f82cc93ae511467f0fa078202eb1f239bfda38739320e4fc0c994b5bb99febe15c81227fbca7895847 SHA512 fec388a448df03919563c007e83b565a8a88dfa4b208cf5ec9701eaa1d9dd1b6767b03e76b60324598f875f8d5ac971ad2ce3fa3ee032375c0fcc43a731f8cc8 DIST resolv-conf-0.7.0.crate 17352 BLAKE2B 32b565a11d5d752e2cce2ac7b44e483b8a682220c99a9ca34d0a440d87cb5a874c407d474e47757f128bc5d78ea57940452eb099ea6fa433d8f6d1fe881f4302 SHA512 538b97f88fee8b82f15845f9a596e09757e3c2869c4e8708ddff97e19348e9f88d4bcf75e810d2aee47113fa64d550a9fe2deac6fc38d95242ebc20228e9b5f4 DIST ring-0.17.8.crate 4188554 BLAKE2B f531b15cc5cf88f2ef00b1708473a7e98a42dbbd026027ef2c42f2d8bdba0eb1665621fc98db618252f6a131bd54b1493987a0285bf2b9a22eba4c9409ee1cab SHA512 e4966409a4078ee43bfc9cc659d08ad28419effe2a729c8c275361a7fe0620a3c727009bcfb1d0bab265af2bc107b50c19d868a4e80da7a8bb55f97e8b214358 +DIST ruma-c06af4385e0e30c48a8e9ca3d488da32102d0db9.gh.tar.gz 710358 BLAKE2B d6085e76512a3af35a86ba959bfe01cc2348e16c7b4b98f14bcc89c989cefa1d6168f9361f329aae2b8a6a0d40cc6cc3d9ab17312e879c88ee9ec59f9ab2399b SHA512 a363c7afc89d915580cfb2633bc06233c7903d8ce85468b5ade59a266c2edc55c55ed42a0bc538e8ba3772941114775152be37dc5b716a24345a545e1d0f7ee9 DIST ruma-ef40b184b7410a93e933b4ad719a72aea1bdd20e.gh.tar.gz 674406 BLAKE2B de8341d9964545a0e08a3c20e22571418a5c9b5a6d5f9b40cae7092ec3317f6f007ec280291dba3f294120bfc28124464c146f3b182d0537b2fa0d14c55bcc55 SHA512 952b749b7347588c994c90d17f81b63f4daac0c1f234c356dbca2df3268ed9f3ccf85a309e2b5c797e40bb7da24fd3c34113c53b7d3fdd8aedf7ec64445f5ad9 DIST rusqlite-0.31.0.crate 152252 BLAKE2B 5ef8396ab6ee9f6887466e7ff856c6260f40ef85361ca451e230d8590019d6ffa4952df15abd21cf300cf51da4a6ea4e82f5dc88dfba474f2f62036cee76caa3 SHA512 6d20b015ab72d3d75c363111c0cb41feae8bff83104ebdfcb8e5efc1bfb63eb48a17f6de2e6c96cb1e916b4795fea6d58466ab0820b151b12d1dc4c29800ba66 DIST rust-argon2-2.1.0.crate 26904 BLAKE2B 167b7fbe3187bdedcd7cba0b978638afe483d90c4491bda9947c529fe7b88363c573c3c43d5f683c5bbace6e0334c6521181ea336e647ba2924c4d8f60622787 SHA512 7a9b7b062fac848d4808d2072ff05322c751bf6aa585af00ea64cfb00c5d6980f1e220578eac42526dc26ee9402776731f6f8de1c5203566a4e5737b57c7d74f diff --git a/net-im/conduit/conduit-0.9.0.ebuild b/net-im/conduit/conduit-0.9.0.ebuild new file mode 100644 index 0000000..d100372 --- /dev/null +++ b/net-im/conduit/conduit-0.9.0.ebuild @@ -0,0 +1,473 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.13.2 + +EAPI=8 + +CRATES=" + addr2line@0.22.0 + adler@1.0.2 + ahash@0.8.11 + aho-corasick@1.1.3 + anstyle@1.0.7 + anyhow@1.0.86 + arc-swap@1.7.1 + arrayref@0.3.7 + arrayvec@0.7.4 + as_variant@1.2.0 + assign@1.1.1 + async-stream-impl@0.3.5 + async-stream@0.3.5 + async-trait@0.1.80 + atomic-waker@1.1.2 + atomic@0.6.0 + autocfg@1.3.0 + axum-core@0.3.4 + axum-core@0.4.3 + axum-extra@0.9.3 + axum-server@0.6.0 + axum@0.6.20 + axum@0.7.5 + backtrace@0.3.72 + base64@0.21.7 + base64@0.22.1 + base64ct@1.6.0 + bindgen@0.69.4 + bitflags@1.3.2 + bitflags@2.5.0 + blake2b_simd@1.0.2 + block-buffer@0.10.4 + bumpalo@3.16.0 + bytemuck@1.16.0 + byteorder@1.5.0 + bytes@1.6.0 + bzip2-sys@0.1.11+1.0.8 + cc@1.0.98 + cexpr@0.6.0 + cfg-if@1.0.0 + cfg_aliases@0.1.1 + clang-sys@1.8.1 + clap@4.5.4 + clap_builder@4.5.2 + clap_derive@4.5.4 + clap_lex@0.7.0 + color_quant@1.1.0 + const-oid@0.9.6 + const_panic@0.2.8 + constant_time_eq@0.3.0 + core-foundation-sys@0.8.6 + core-foundation@0.9.4 + cpufeatures@0.2.12 + crc-catalog@2.4.0 + crc32fast@1.4.2 + crc@3.2.1 + crossbeam-channel@0.5.13 + crossbeam-utils@0.8.20 + crypto-common@0.1.6 + curve25519-dalek-derive@0.1.1 + curve25519-dalek@4.1.2 + data-encoding@2.6.0 + date_header@1.0.5 + der@0.7.9 + deranged@0.3.11 + digest@0.10.7 + directories@5.0.1 + dirs-sys@0.4.1 + ed25519-dalek@2.1.1 + ed25519@2.2.3 + either@1.12.0 + enum-as-inner@0.6.0 + equivalent@1.0.1 + fallible-iterator@0.3.0 + fallible-streaming-iterator@0.1.9 + fdeflate@0.3.4 + fiat-crypto@0.2.9 + figment@0.10.19 + flate2@1.0.30 + fnv@1.0.7 + form_urlencoded@1.2.1 + fs2@0.4.3 + futures-channel@0.3.30 + futures-core@0.3.30 + futures-executor@0.3.30 + futures-io@0.3.30 + futures-macro@0.3.30 + futures-sink@0.3.30 + futures-task@0.3.30 + futures-util@0.3.30 + generic-array@0.14.7 + getrandom@0.2.15 + gif@0.13.1 + gimli@0.29.0 + glob@0.3.1 + h2@0.3.26 + h2@0.4.5 + hashbrown@0.12.3 + hashbrown@0.14.5 + hashlink@0.9.1 + headers-core@0.3.0 + headers@0.4.0 + heck@0.4.1 + heck@0.5.0 + hermit-abi@0.3.9 + hickory-proto@0.24.1 + hickory-resolver@0.24.1 + hmac@0.12.1 + hostname@0.3.1 + http-auth@0.1.9 + http-body-util@0.1.1 + http-body@0.4.6 + http-body@1.0.0 + http@0.2.12 + http@1.1.0 + httparse@1.9.4 + httpdate@1.0.3 + hyper-rustls@0.26.0 + hyper-timeout@0.4.1 + hyper-util@0.1.5 + hyper@0.14.29 + hyper@1.3.1 + idna@0.4.0 + idna@0.5.0 + image@0.25.1 + indexmap@1.9.3 + indexmap@2.2.6 + inlinable_string@0.1.15 + ipconfig@0.3.2 + ipnet@2.9.0 + itertools@0.12.1 + itoa@1.0.11 + jobserver@0.1.31 + js-sys@0.3.69 + js_int@0.2.2 + js_option@0.1.1 + jsonwebtoken@9.3.0 + konst@0.3.9 + konst_kernel@0.3.9 + lazy_static@1.4.0 + lazycell@1.3.0 + libc@0.2.155 + libloading@0.8.3 + libredox@0.1.3 + libsqlite3-sys@0.28.0 + libz-sys@1.1.18 + linked-hash-map@0.5.6 + lock_api@0.4.12 + log@0.4.21 + lru-cache@0.1.2 + lz4-sys@1.9.4 + maplit@1.0.2 + match_cfg@0.1.0 + matchers@0.1.0 + matchit@0.7.3 + memchr@2.7.2 + mime@0.3.17 + minimal-lexical@0.2.1 + miniz_oxide@0.7.3 + mio@0.8.11 + nix@0.28.0 + nom@7.1.3 + nu-ansi-term@0.46.0 + num-bigint@0.4.5 + num-conv@0.1.0 + num-integer@0.1.46 + num-traits@0.2.19 + num_cpus@1.16.0 + object@0.35.0 + once_cell@1.19.0 + openssl-probe@0.1.5 + opentelemetry-jaeger-propagator@0.1.0 + opentelemetry-otlp@0.15.0 + opentelemetry-proto@0.5.0 + opentelemetry-semantic-conventions@0.14.0 + opentelemetry@0.22.0 + opentelemetry_sdk@0.22.1 + option-ext@0.2.0 + ordered-float@4.2.0 + overload@0.1.1 + parking_lot@0.12.3 + parking_lot_core@0.9.10 + pear@0.2.9 + pear_codegen@0.2.9 + pem@3.0.4 + percent-encoding@2.3.1 + persy@1.5.0 + pin-project-internal@1.1.5 + pin-project-lite@0.2.14 + pin-project@1.1.5 + pin-utils@0.1.0 + pkcs8@0.10.2 + pkg-config@0.3.30 + platforms@3.4.0 + png@0.17.13 + powerfmt@0.2.0 + ppv-lite86@0.2.17 + proc-macro-crate@3.1.0 + proc-macro2-diagnostics@0.10.1 + proc-macro2@1.0.85 + prost-derive@0.12.6 + prost@0.12.6 + quick-error@1.2.3 + quote@1.0.36 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + redox_syscall@0.5.1 + redox_users@0.4.5 + regex-automata@0.1.10 + regex-automata@0.4.6 + regex-syntax@0.6.29 + regex-syntax@0.8.3 + regex@1.10.4 + reqwest@0.12.4 + resolv-conf@0.7.0 + ring@0.17.8 + rusqlite@0.31.0 + rust-argon2@2.1.0 + rust-librocksdb-sys@0.21.0+9.1.1 + rust-rocksdb@0.25.0 + rustc-demangle@0.1.24 + rustc-hash@1.1.0 + rustc_version@0.4.0 + rustls-native-certs@0.7.0 + rustls-pemfile@2.1.2 + rustls-pki-types@1.7.0 + rustls-webpki@0.101.7 + rustls-webpki@0.102.4 + rustls@0.21.12 + rustls@0.22.4 + rustversion@1.0.17 + ryu@1.0.18 + schannel@0.1.23 + scopeguard@1.2.0 + sct@0.7.1 + sd-notify@0.4.1 + security-framework-sys@2.11.0 + security-framework@2.11.0 + semver@1.0.23 + serde@1.0.203 + serde_derive@1.0.203 + serde_html_form@0.2.6 + serde_json@1.0.117 + serde_path_to_error@0.1.16 + serde_spanned@0.6.6 + serde_urlencoded@0.7.1 + serde_yaml@0.9.34+deprecated + sha-1@0.10.1 + sha1@0.10.6 + sha2@0.10.8 + sharded-slab@0.1.7 + shlex@1.3.0 + signal-hook-registry@1.4.2 + signature@2.2.0 + simd-adler32@0.3.7 + simple_asn1@0.6.2 + slab@0.4.9 + smallvec@1.13.2 + socket2@0.5.7 + spin@0.9.8 + spki@0.7.3 + subslice@0.2.3 + subtle@2.5.0 + syn@2.0.66 + sync_wrapper@0.1.2 + sync_wrapper@1.0.1 + thiserror-impl@1.0.61 + thiserror@1.0.61 + thread_local@1.1.8 + threadpool@1.8.1 + tikv-jemalloc-sys@0.5.4+5.3.0-patched + tikv-jemallocator@0.5.4 + time-core@0.1.2 + time-macros@0.2.18 + time@0.3.36 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + tokio-io-timeout@1.2.0 + tokio-macros@2.3.0 + tokio-rustls@0.24.1 + tokio-rustls@0.25.0 + tokio-socks@0.5.1 + tokio-stream@0.1.15 + tokio-util@0.7.11 + tokio@1.38.0 + toml@0.8.14 + toml_datetime@0.6.6 + toml_edit@0.21.1 + toml_edit@0.22.14 + tonic@0.11.0 + tower-http@0.5.2 + tower-layer@0.3.2 + tower-service@0.3.2 + tower@0.4.13 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing-flame@0.2.0 + tracing-log@0.2.0 + tracing-opentelemetry@0.23.0 + tracing-subscriber@0.3.18 + tracing@0.1.40 + try-lock@0.2.5 + typenum@1.17.0 + typewit@1.9.0 + typewit_proc_macros@1.8.1 + uncased@0.9.10 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unsafe-libyaml@0.2.11 + unsigned-varint@0.8.0 + untrusted@0.9.0 + url@2.5.0 + urlencoding@2.1.3 + uuid@1.8.0 + valuable@0.1.0 + vcpkg@0.2.15 + version_check@0.9.4 + want@0.3.1 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.92 + wasm-bindgen-futures@0.4.42 + wasm-bindgen-macro-support@0.2.92 + wasm-bindgen-macro@0.2.92 + wasm-bindgen-shared@0.2.92 + wasm-bindgen@0.2.92 + web-sys@0.3.69 + web-time@1.1.0 + weezl@0.1.8 + widestring@1.1.0 + wildmatch@2.3.4 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-targets@0.48.5 + windows-targets@0.52.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.5 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.5 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.5 + windows_i686_gnullvm@0.52.5 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.5 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.5 + winnow@0.5.40 + winnow@0.6.11 + winreg@0.50.0 + winreg@0.52.0 + yansi@1.0.1 + zerocopy-derive@0.7.34 + zerocopy@0.7.34 + zeroize@1.8.1 + zigzag@0.1.0 + zstd-sys@2.0.10+zstd.1.5.6 + zune-core@0.4.12 + zune-jpeg@0.4.11 +" + +declare -A GIT_CRATES=( + [ruma-appservice-api]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma-appservice-api' + [ruma-client-api]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma-client-api' + [ruma-common]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma-common' + [ruma-events]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma-events' + [ruma-federation-api]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma-federation-api' + [ruma-identifiers-validation]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma-identifiers-validation' + [ruma-identity-service-api]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma-identity-service-api' + [ruma-macros]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma-macros' + [ruma-push-gateway-api]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma-push-gateway-api' + [ruma-server-util]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma-server-util' + [ruma-signatures]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma-signatures' + [ruma-state-res]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma-state-res' + [ruma]='https://github.com/ruma/ruma;c06af4385e0e30c48a8e9ca3d488da32102d0db9;ruma-%commit%/crates/ruma' +) + +inherit cargo systemd + +DESCRIPTION="A Matrix homeserver written in Rust" +HOMEPAGE="https://conduit.rs" + +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="https://gitlab.com/famedly/${PN}.git" + inherit git-r3 +else + SRC_URI=" + https://gitlab.com/famedly/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 + ${CARGO_CRATE_URIS} + " + KEYWORDS="~amd64 ~arm64" + S="${WORKDIR}/${PN}-v${PV}" +fi + +LICENSE="Apache-2.0" +# Manually inspected crate licenses +LICENSE+=" + ISC openssl MIT +" +# Dependent crate licenses +LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 Unicode-DFS-2016 ZLIB" +SLOT="0" + +IUSE="+rocksdb" + +BDEPEND=" + virtual/rust + rocksdb? ( + virtual/pkgconfig + sys-devel/clang + ) +" +DEPEND=" + rocksdb? ( dev-libs/rocksdb ) +" +RDEPEND="${DEPEND}" + +QA_FLAGS_IGNORED="/usr/bin/conduit" + +src_unpack() { + if [[ ${PV} = 9999 ]]; then + git-r3_src_unpack + cargo_live_src_unpack + else + cargo_src_unpack + fi +} + +src_configure() { + # See https://wiki.gentoo.org/wiki/Writing_Rust_ebuilds#Unbundling_C_libraries + local ld="${ESYSROOT}/usr/$(get_libdir)" + export PKG_CONFIG_ALLOW_CROSS=1 + + # This mess seems to be required based on librocksdb-sys' build.rs. + export ROCKSDB_LIB_DIR="${ld}" + export SNAPPY_LIB_DIR="${ld}" + export LZ4_LIB_DIR="${ld}" + export Z_LIB_DIR="${ld}" + export BZ2_LIB_DIR="${ld}" + export ZSTD_LIB_DIR="${ld}" + export ZSTD_SYS_USE_PKG_CONFIG=1 + + local myfeatures=( + backend_sqlite + systemd + conduit_bin + persy + $(usev rocksdb backend_rocksdb) + ) + cargo_src_configure --no-default-features +} + +src_install() { + cargo_src_install + + systemd_dounit "${FILESDIR}"/matrix-conduit.service + dodoc README.md LICENSE conduit-example.toml +} |