diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-12 12:12:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-12 12:12:27 +0000 |
commit | 70d27c1344f6a6a51e11c610966542333b6f432a (patch) | |
tree | 8680cb2739f1c29ae714d0ffef2e49f96cd42ca9 /media-sound/ncspot | |
parent | ed29ea7e5783aeccaddc89856f6fe75fb78179e5 (diff) |
gentoo auto-resync : 12:03:2023 - 12:12:26
Diffstat (limited to 'media-sound/ncspot')
-rw-r--r-- | media-sound/ncspot/Manifest | 4 | ||||
-rw-r--r-- | media-sound/ncspot/ncspot-0.13.0-r1.ebuild | 482 |
2 files changed, 486 insertions, 0 deletions
diff --git a/media-sound/ncspot/Manifest b/media-sound/ncspot/Manifest index 7c173bed837a..6dd1609e70a8 100644 --- a/media-sound/ncspot/Manifest +++ b/media-sound/ncspot/Manifest @@ -28,6 +28,7 @@ DIST bytecount-0.6.3.crate 12416 BLAKE2B 462e41d5a4ee23a6c9ff2bf350171e309cbc32f DIST byteorder-1.4.3.crate 22512 BLAKE2B d39c546ba7346df315297fc53da4bfc77ecb1f38567ddb788549ee31cae2719a8bc0b7d1f1705abb3cff033aa57af004987d90748f5a31765273b3223a011c0d SHA512 8c8000eb8ecf40351c9ce36a3a8acd7a02f81786d1b11aab85adfeffa0f2267ed74df29b2ca5d1d38128484d1d3cad2b673aa0d0441dcd0620dfd3934bb888fa DIST bytes-1.3.0.crate 57563 BLAKE2B 29abe4d9fd8583c23c5229bd81eca3b41bef01bd11bb5337d5e4a87fa34ccc8989ad9cbeb52dc66a06c0570fb2f91ba0dacb079b957f5c77fca912202535cfeb SHA512 902c9af417f7aef25e47b15ed2256da5ae171fa866f2f511d6da5cb0a9271d7da214b10c774bff5d0ce186be1eb60c88f7aed848c264e1000bcbcfe0d25f9f76 DIST bytes-1.4.0.crate 58080 BLAKE2B 99a9d343424e04649bd209bf2a6c3a089a6cc9fdb799968f8c3a711189328e4499df2e09cc6a2a8ce05d2cc668149b364cf30cb3b09e96e21d50a39519c2f49f SHA512 502c63b9fdcd36ed28ede55a63cd359dc7b28658ecd43020511d17d48d7c34e45aa8ff7e4b17770f12197451040c2b724fe68d2aa3ab4f81c9171d052f2aa000 +DIST cargo-xtask-0.1.0.crate 821 BLAKE2B 7a1c4c5f3b8f96c7247154edf3868cf25f44d8ea90845c673e6b097b8093304885cbba96b4dec30072e138002ba585985ed2615b2d6ff49881146eaf97d50bd0 SHA512 fb310f39d1eb64c6c487b677cfb98ae0c3aa9b71600c55d916d7b5de027a69547094f3b6fc06dcea1593dfff334f4ab22fab263bc7374b08b0b01a2b7d24dbd1 DIST cc-1.0.78.crate 61375 BLAKE2B fd4765cf5ae0dc7018bc6b56298cd0fa9bf6fe23545e845670d98ce73baee55354e77c6d87cf047f10b074f3d742deca8b5631a250c69b347b4a1fc653965d43 SHA512 b85bec4c75cb1d1e252419052e9dd22b6892e54ea36195ff483a04f785b5b103e82b30b778459fd45324ffeb2463aa4f5696baeff2779c25ffe9f65eb99ae893 DIST cc-1.0.79.crate 62624 BLAKE2B b3cbed3bd6fcac1c6ea258ec96cd107f859947a35dc89c3dc8f314741b0f668e61518f896ec32ce10c9a7eb20dd350bc177a71810d53ebea59fda062ed9d27db SHA512 cbf0a25f3a23fc540e9d638fabc23f761f1c240ebb4814e761e90437d71fc559cd155768ab9e78fc192220d8a605c66c3af342ed736b719181656170b98d7bf5 DIST cesu8-1.1.0.crate 10555 BLAKE2B 4fe369d1247c3b30ff9beb644dbe2a517d78632191f3216bb83d632bc8857f9541a1b60d0bb583cf3fc0ae974f7c9d2b07fca5efe2057d9ef281de76fe810a49 SHA512 2d902b624c7ccfe3633c7bcf99b833b120c0ed7760ea825bfb2fa03ae90df543e637efd46e0743782b81e468e0fd3b534956ffca81f9bdfbf742ff3beae8f8b8 @@ -39,10 +40,12 @@ DIST cipher-0.2.5.crate 13099 BLAKE2B a728a53007340dcc55da52cc170e5b801c8ad20c4e DIST clang-sys-1.4.0.crate 38679 BLAKE2B d15bdae2142ed26b4f6bd037bd2062e8c4b7b87fc5b749b872a95ff1952d000066c255aa0984e5f9c4a5c88066db4a20cfd048db4ba5a59b331d5ffa5e9a281d SHA512 062189bb0a341e2e85de4987f4b564c1fc69e4005c9c42cfedb61dee5f48db9126a8114d1d97be1b9c21b8c885243751232fbe8cf532e1d2be593308fe45216a DIST clang-sys-1.6.0.crate 41211 BLAKE2B 3b9507629f8b05d40d9a976faf84f57fa3a9f7db21f7d81587b38bd210a1e19043037ec22eee31ddfbe5fb8d8bd1314081e15bd56302d0476413f858a98fee5d SHA512 0cceba8835b7c2108c5be6124aeb36130da759e9e05fe34c04528c9fa3f14826af2ec003ff8232ef789a740ff39635007cade54833c0ce30869ab3f2bb9560ef DIST clap-4.0.32.crate 207531 BLAKE2B 5a8dedd7d9b6ef3dbd1dbb6a6504b0f6ea694246bfc3cc608f018898ff75b9952bd56dea16ca321d2a3fc208b164cb4016558cf4dce28863bb00ce133d470eb1 SHA512 a054f02385bb9a3539786295c55395ddae398f8d2b05b5d3ab50d065155ccc702c3bd624e6f878ea678bc01a1cbea8979476703856b9a86d8d0d971f22954e37 +DIST clap-4.1.6.crate 207177 BLAKE2B 0931ac4fb47d51cd9688397a47bdd19d78bcd56c7e2ac2fc871192ab3ef36caa63ebf6d85d0480c6931a877d44d850d3efaba7d49913e592612d39f24929a408 SHA512 739b1e3521762aa3f661489d448cce0e0856dad9ac392d4402c2f9051c5ea2db2660b0cfab73f04374fed854804f80cbba45e2d1a0e70ca0f0527c5ae12565a0 DIST clap-4.1.8.crate 207175 BLAKE2B e25dd21c3ca3459082928a1e0d75af087186e7f69f1d729267dfdc73c84bd6a0d026f9500f566516c70f94910a3154617af6ea7930918d4fd81c59d3ce591dc3 SHA512 bb28317f4a1292fae35e7540e37d094c7064cebb009f24d9b781c7c26c49c9bf194221d5387a71e1757115f59ba42b28c995ccec7b10d34145e10cdf739df9ef DIST clap_complete-4.1.4.crate 33288 BLAKE2B 2c8ecd326b1e8001a25502a2c7f55d8903cdcecbc216ca760ab1c3d9d20a89f347ec89e02cb3ae6d9a6490c6c6f932ec100644fd1f48edf42a82e1421923d984 SHA512 606960eefefd9137fed6aedabb2a495cc57459db713cea260958273dee10e2833305a236f60b64aff2acdf371cb3232f6494a2971e1b91aa032738e4baeef199 DIST clap_lex-0.3.0.crate 9671 BLAKE2B 4422495226da19cb7a793d364ba5539ec77f9d327e2f1627e4b547fee0625162b57ddc6bc50585f520d31ec289a53065a2b6e0ba66111959390f756143cd5fb7 SHA512 5e601d540e46e527f6a2ea1959fa5aa035ad823008806f3a5adb4785f1928de4c9fe04e61680c64bcb87ed32b2e991951ec27c5cc5acdcfae51cdc61767ff100 DIST clap_lex-0.3.2.crate 9650 BLAKE2B c07d8a180cfb959a5c9a2a79ba5343aea2185fbd10052a8e1fdfe0bc8fc2e9433a762d117bfdbb6cef497eb79eb8c757227681559ee995753f1eec738c4c1510 SHA512 f7c55878d3b35e37af607a035b471aaf6c2b1d849c26fba1df6e5585c0af0b93abe0b6409c504d4ee122c9c653daa2e47a89b6d06f31559db760a88a73c42006 +DIST clap_mangen-0.2.8.crate 14613 BLAKE2B e9b16b8f4a5396bba1e75f7c4b026c41bc3d506ff4e34879a0659ab636f572a8dab274b7bd00a811f6d9bca3ef0aa147da100dadc13ebf8e14007742e473a225 SHA512 05a64160b2662e367f8b051ce184ef5e704f3579dae10decb4898f2f75592c94404a0aeb7666edd1a8c172a82acfa1d403ef10d47b04025d4952c4a3bdc77195 DIST clap_mangen-0.2.9.crate 14623 BLAKE2B 6d944e42fd407e4b224d4ca8f0dbfb43d37d16f42d4d1451f38d503e6ce1edf6fe9fedd5cd07e761475e2864ee5cdb056d25727ba3429f7749aba4fa8d68c4f6 SHA512 5ac77494898b8069e1cfc911d4e88ac228aa95862e240ebe43413e2f293546009171d51da160ee60c99803487c33b7f3633c5e70af3352ab9a83d0edeabbbd5d DIST clipboard-0.5.0.crate 10009 BLAKE2B 17aaafeb92be0dfb4ccfdb80a3d909e57491cc0adceedf378196f7bbd006d245adfdd9b2d2e075c2c041aa57eb1a0e6e306032966c30e63f94d86b0f9f7a11ce SHA512 a02994e68bb4ecdb1ba3db05e095474e67df4d73f69c92ab096913f4bd0f47ec6b62c8f0210fd67bb466e293c765888c315770e447f5c6e9b2e5c69f71d3e48a DIST clipboard-win-2.2.0.crate 11079 BLAKE2B 5713e17a93eac4a1d299d42a6abe5db1eadbc90bf5e7c99e84b6b5febfc817bbc1c478533af8cbec7a8e58ebbc1a8f3d83bf351d105b55017cebab8048009390 SHA512 f869775bb2e6d84096034c26c888c9f671272232af74c02bda2a6c8f0d600652af581c0e94d875d8746b986314f61168bf7539042a65cb2ccbbf858141fa42e0 @@ -513,5 +516,6 @@ DIST xml-rs-0.8.4.crate 52690 BLAKE2B 140d4e725ae0e82c949838c1f6d82e1fbb00e2df4d DIST zerocopy-0.6.1.crate 23933 BLAKE2B 322a1a74a436c89a6a84addd55a0347b087e416fb532dea9344e85af398c869233446e2f3824612313783919c8b9a0a96d0c64c1ca0403ef386bcab6ca9682f0 SHA512 af241a21208dc33f69d92bc01fb15feea3cab8bbd0fe0076d5ac15fdd65458d1ddd69d3e88b1dc27ae9774acee7ae6952c16372b5aad50190f488aedfd6f6629 DIST zerocopy-derive-0.3.2.crate 515746 BLAKE2B bb3e7703532c1333ab60033717a2d43e4a014bdb53e15b0beed949005ff6a9eea9ae9012a9721815fd2b2f3fc61abe23b550e395714e8d309a6bddbd897b743c SHA512 daafee42d2f46971a8a8488554e5859cedeed5b3555dea37eb34ef89a6d36adac37922c90095575a29ba1f099722a35cf35c67ec2fad1f172921bd0a087c4400 EBUILD ncspot-0.12.0.ebuild 8920 BLAKE2B e2d799729e40d39df98221d0edd6b66b7a008183bd0f6d2dd42b4adcf2813d8859de1887d1dd07ce9f1724eda8046bc745aa1efca62a97aa41617c7f03fbd376 SHA512 2054d1543f0358c8f710829257550b0196fca0ccd252a8e3344d2d9b0dedf481c552cc3c7bc4290705329897366dcedaf923515d28aec862f6dc1a09a4bb84f1 +EBUILD ncspot-0.13.0-r1.ebuild 9339 BLAKE2B 8f6bf4e18b116099f5942bdbd6c6011a5188b0182047fe7a81aa4aeadbc45c5b3e19a5a8867aaed29f5d2ad9c8ef53acdf1d2ba83cb67785d40b3d2d3a74d3d2 SHA512 2ff930f16ce92dedf2be27a66391476c4d0f46df1d21ee6679aa0855e6804387b512bc009b3561c5ad95355529f1865ad8beb31becf6cb9537083e950c246a1b EBUILD ncspot-0.13.0.ebuild 9021 BLAKE2B 8680cfebb45976d6f678a03ac749f7d2541394e8ab5fb7ebf100a744f22cb2792e2f01cc619c390f282f7def24a9f1736823f6ffe177c351f3f046b98c7842a4 SHA512 2460f359d123510a22b7025cc95c2f28ecbe2104e4bff2d0bff9a2c1d4c4ada5af8c6d598caa66a0d6fd2e963939434530c21cf7b42475f3ae26bc23c068daeb MISC metadata.xml 611 BLAKE2B 3cace487e7141c6d0853d25f20c145d77d0616541358418677ecf1b53aa79d9cbfe57c68f0a24eaa000cf79f4bcb721c899baa8747f251b349ebefa20da3bc7e SHA512 ff2478e44627a18d88410f85b4d354763fecb83ce8c5094afd04426ffedd207b13816204738b94835625fe44dd5fda17fd73f79e59a1f057e06df7b0438f836d diff --git a/media-sound/ncspot/ncspot-0.13.0-r1.ebuild b/media-sound/ncspot/ncspot-0.13.0-r1.ebuild new file mode 100644 index 000000000000..4be958a4eb7f --- /dev/null +++ b/media-sound/ncspot/ncspot-0.13.0-r1.ebuild @@ -0,0 +1,482 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.6 + +EAPI=8 + +CRATES=" + addr2line-0.19.0 + adler-1.0.2 + aes-0.6.0 + aes-ctr-0.6.0 + aes-soft-0.6.4 + aesni-0.10.0 + ahash-0.8.3 + aho-corasick-0.7.20 + alsa-0.6.0 + alsa-sys-0.3.1 + android_system_properties-0.1.5 + async-trait-0.1.66 + autocfg-1.1.0 + backtrace-0.3.67 + base64-0.13.1 + base64-0.21.0 + bindgen-0.61.0 + bitflags-1.3.2 + block-0.1.6 + block-buffer-0.10.4 + block-buffer-0.9.0 + bumpalo-3.12.0 + bytecount-0.6.3 + byteorder-1.4.3 + bytes-1.4.0 + cc-1.0.79 + cesu8-1.1.0 + cexpr-0.6.0 + cfg-if-1.0.0 + chrono-0.4.23 + cipher-0.2.5 + clang-sys-1.6.0 + clap-4.1.8 + clap_complete-4.1.4 + clap_lex-0.3.2 + clap_mangen-0.2.9 + clipboard-0.5.0 + clipboard-win-2.2.0 + codespan-reporting-0.11.1 + combine-4.6.6 + cookie-0.16.2 + cookie_store-0.19.0 + core-foundation-0.9.3 + core-foundation-sys-0.8.3 + coreaudio-rs-0.10.0 + coreaudio-sys-0.2.11 + cpal-0.13.5 + cpufeatures-0.2.5 + crossbeam-channel-0.5.7 + crossbeam-utils-0.8.15 + crypto-common-0.1.6 + crypto-mac-0.11.1 + ctr-0.6.0 + cursive-0.20.0 + cursive_buffered_backend-0.6.1 + cursive_core-0.3.7 + cxx-1.0.92 + cxx-build-1.0.92 + cxxbridge-flags-1.0.92 + cxxbridge-macro-1.0.92 + darling-0.13.4 + darling-0.14.3 + darling_core-0.13.4 + darling_core-0.14.3 + darling_macro-0.13.4 + darling_macro-0.14.3 + dbus-0.9.7 + dbus-tree-0.9.2 + derive-new-0.5.9 + digest-0.10.6 + digest-0.9.0 + dirs-next-1.0.2 + dirs-next-2.0.0 + dirs-sys-next-0.1.2 + downcast-rs-1.2.0 + encoding_rs-0.8.32 + enum-map-2.4.2 + enum-map-derive-0.11.0 + enum_dispatch-0.3.11 + enumset-1.0.12 + enumset_derive-0.6.1 + errno-0.2.8 + errno-dragonfly-0.1.2 + fastrand-1.9.0 + fern-0.6.1 + fixedbitset-0.4.2 + fnv-1.0.7 + foreign-types-0.3.2 + foreign-types-shared-0.1.1 + form_urlencoded-1.1.0 + futures-0.3.26 + futures-channel-0.3.26 + futures-core-0.3.26 + futures-executor-0.3.26 + futures-io-0.3.26 + futures-macro-0.3.26 + futures-sink-0.3.26 + futures-task-0.3.26 + futures-util-0.3.26 + generic-array-0.14.6 + getrandom-0.2.8 + gimli-0.27.2 + glob-0.3.1 + h2-0.3.16 + half-1.8.2 + hashbrown-0.12.3 + headers-0.3.8 + headers-core-0.2.0 + heck-0.3.3 + heck-0.4.1 + hermit-abi-0.2.6 + hermit-abi-0.3.1 + hmac-0.11.0 + http-0.2.9 + http-body-0.4.5 + httparse-1.8.0 + httpdate-1.0.2 + hyper-0.14.24 + hyper-proxy-0.9.1 + hyper-tls-0.5.0 + iana-time-zone-0.1.53 + iana-time-zone-haiku-0.1.1 + ident_case-1.0.1 + idna-0.3.0 + indexmap-1.9.2 + instant-0.1.12 + io-lifetimes-1.0.6 + ioctl-rs-0.2.0 + ipnet-2.7.1 + is-terminal-0.4.4 + itoa-1.0.6 + jni-0.19.0 + jni-sys-0.3.0 + jobserver-0.1.26 + js-sys-0.3.61 + lazy_static-1.4.0 + lazycell-1.3.0 + lewton-0.10.2 + libc-0.2.140 + libdbus-sys-0.2.4 + libloading-0.7.4 + libm-0.2.6 + libpulse-binding-2.27.1 + libpulse-simple-binding-2.27.1 + libpulse-simple-sys-1.20.1 + libpulse-sys-1.20.1 + librespot-audio-0.4.2 + librespot-core-0.4.2 + librespot-metadata-0.4.2 + librespot-playback-0.4.2 + librespot-protocol-0.4.2 + link-cplusplus-1.0.8 + linux-raw-sys-0.1.4 + lock_api-0.4.9 + log-0.4.17 + mac-notification-sys-0.5.6 + mach-0.3.2 + malloc_buf-0.0.6 + maplit-1.0.2 + maybe-async-0.2.7 + memchr-2.5.0 + memoffset-0.6.5 + mime-0.3.16 + minimal-lexical-0.2.1 + miniz_oxide-0.6.2 + mio-0.8.6 + native-tls-0.2.11 + ncurses-5.101.0 + ndk-0.6.0 + ndk-context-0.1.1 + ndk-glue-0.6.2 + ndk-macro-0.3.0 + ndk-sys-0.3.0 + nix-0.23.2 + nix-0.24.3 + nom-7.1.3 + notify-rust-4.8.0 + num-0.2.1 + num-0.4.0 + num-bigint-0.2.6 + num-bigint-0.4.3 + num-complex-0.2.4 + num-complex-0.4.3 + num-derive-0.3.3 + num-integer-0.1.45 + num-iter-0.1.43 + num-rational-0.2.4 + num-rational-0.4.1 + num-traits-0.2.15 + num_cpus-1.15.0 + num_enum-0.5.11 + num_enum_derive-0.5.11 + num_threads-0.1.6 + numtoa-0.1.0 + objc-0.2.7 + objc-foundation-0.1.1 + objc_id-0.1.1 + object-0.30.3 + oboe-0.4.6 + oboe-sys-0.4.5 + ogg-0.8.0 + once_cell-1.17.1 + opaque-debug-0.3.0 + openssl-0.10.45 + openssl-macros-0.1.0 + openssl-probe-0.1.5 + openssl-sys-0.9.80 + os_pipe-1.1.3 + os_str_bytes-6.4.1 + owning_ref-0.4.1 + pancurses-0.17.0 + parking_lot-0.11.2 + parking_lot-0.12.1 + parking_lot_core-0.8.6 + parking_lot_core-0.9.7 + parse_duration-2.1.1 + pbkdf2-0.8.0 + pdcurses-sys-0.7.1 + peeking_take_while-0.1.2 + percent-encoding-2.2.0 + petgraph-0.6.3 + pin-project-lite-0.2.9 + pin-utils-0.1.0 + pkg-config-0.3.26 + platform-dirs-0.3.0 + portaudio-rs-0.3.2 + portaudio-sys-0.1.1 + ppv-lite86-0.2.17 + priority-queue-1.3.1 + proc-macro-crate-1.3.1 + proc-macro2-1.0.51 + protobuf-2.28.0 + protobuf-codegen-2.28.0 + protobuf-codegen-pure-2.28.0 + quick-xml-0.23.1 + quote-1.0.23 + rand-0.8.5 + rand_chacha-0.3.1 + rand_core-0.6.4 + rand_distr-0.4.3 + redox_syscall-0.2.16 + redox_termios-0.1.2 + redox_users-0.4.3 + regex-1.7.1 + regex-syntax-0.6.28 + reqwest-0.11.14 + ring-0.16.20 + rodio-0.15.0 + roff-0.2.1 + rspotify-0.11.6 + rspotify-http-0.11.6 + rspotify-macros-0.11.6 + rspotify-model-0.11.6 + rustc-demangle-0.1.21 + rustc-hash-1.1.0 + rustc-serialize-0.3.24 + rustc_version-0.4.0 + rustix-0.36.9 + rustls-0.20.8 + rustversion-1.0.12 + ryu-1.0.13 + same-file-1.0.6 + schannel-0.1.21 + scopeguard-1.1.0 + scratch-1.0.5 + sct-0.7.0 + security-framework-2.8.2 + security-framework-sys-2.8.0 + semver-1.0.16 + serde-1.0.154 + serde_cbor-0.11.2 + serde_derive-1.0.154 + serde_json-1.0.94 + serde_spanned-0.6.1 + serde_urlencoded-0.7.1 + sha-1-0.9.8 + sha1-0.10.5 + sha2-0.10.6 + shannon-0.2.0 + shell-words-1.1.0 + shlex-1.1.0 + signal-hook-0.3.15 + signal-hook-registry-1.4.1 + slab-0.4.8 + smallvec-1.10.0 + socket2-0.4.9 + spin-0.5.2 + stable_deref_trait-1.2.0 + stdweb-0.1.3 + strsim-0.10.0 + strum-0.22.0 + strum-0.24.1 + strum_macros-0.22.0 + strum_macros-0.24.3 + subtle-2.4.1 + syn-1.0.109 + tauri-winrt-notification-0.1.0 + tempfile-3.4.0 + term_size-0.3.2 + termcolor-1.2.0 + termion-1.5.6 + thiserror-1.0.39 + thiserror-impl-1.0.39 + thread-id-4.0.0 + time-0.1.45 + time-0.3.20 + time-core-0.1.0 + time-macros-0.2.8 + tinyvec-1.6.0 + tinyvec_macros-0.1.1 + tokio-1.26.0 + tokio-macros-1.8.2 + tokio-native-tls-0.3.1 + tokio-stream-0.1.12 + tokio-util-0.7.7 + toml-0.7.2 + toml_datetime-0.6.1 + toml_edit-0.19.4 + tower-service-0.3.2 + tracing-0.1.37 + tracing-core-0.1.30 + tree_magic_mini-3.0.3 + try-lock-0.2.4 + typenum-1.16.0 + unicode-bidi-0.3.11 + unicode-ident-1.0.8 + unicode-normalization-0.1.22 + unicode-segmentation-1.10.1 + unicode-width-0.1.10 + untrusted-0.7.1 + ureq-2.6.2 + url-2.3.1 + uuid-1.3.0 + vcpkg-0.2.15 + vergen-3.2.0 + version_check-0.9.4 + walkdir-2.3.2 + want-0.3.0 + wasi-0.10.0+wasi-snapshot-preview1 + wasi-0.11.0+wasi-snapshot-preview1 + wasm-bindgen-0.2.84 + wasm-bindgen-backend-0.2.84 + wasm-bindgen-futures-0.4.34 + wasm-bindgen-macro-0.2.84 + wasm-bindgen-macro-support-0.2.84 + wasm-bindgen-shared-0.2.84 + wayland-client-0.29.5 + wayland-commons-0.29.5 + wayland-protocols-0.29.5 + wayland-scanner-0.29.5 + wayland-sys-0.29.5 + web-sys-0.3.61 + webpki-0.22.0 + webpki-roots-0.22.6 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-util-0.1.5 + winapi-x86_64-pc-windows-gnu-0.4.0 + windows-0.39.0 + windows-sys-0.42.0 + windows-sys-0.45.0 + windows-targets-0.42.1 + windows_aarch64_gnullvm-0.42.1 + windows_aarch64_msvc-0.39.0 + windows_aarch64_msvc-0.42.1 + windows_i686_gnu-0.39.0 + windows_i686_gnu-0.42.1 + windows_i686_msvc-0.39.0 + windows_i686_msvc-0.42.1 + windows_x86_64_gnu-0.39.0 + windows_x86_64_gnu-0.42.1 + windows_x86_64_gnullvm-0.42.1 + windows_x86_64_msvc-0.39.0 + windows_x86_64_msvc-0.42.1 + winnow-0.3.5 + winreg-0.10.1 + winreg-0.5.1 + wl-clipboard-rs-0.7.0 + x11-clipboard-0.3.3 + xcb-0.8.2 + xi-unicode-0.3.0 + xml-rs-0.8.4 + zerocopy-0.6.1 + zerocopy-derive-0.3.2 +" + +# xtask crates: +CRATES+=" + cargo-xtask-0.1.0 + clap_mangen-0.2.8 + clap-4.1.6 +" + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit bash-completion-r1 cargo desktop optfeature python-any-r1 + +DESCRIPTION="ncurses Spotify client written in Rust using librespot" +HOMEPAGE="https://github.com/hrkfdn/ncspot" +SRC_URI="https://github.com/hrkfdn/ncspot/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris)" + +LICENSE="BSD-2" +# Dependent crate licenses +LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="clipboard cover mpris +notify" + +RDEPEND="dev-libs/openssl:= + media-libs/libpulse + sys-apps/dbus + sys-libs/ncurses + x11-libs/libxcb:= + cover? ( media-gfx/ueberzug )" +DEPEND="${RDEPEND}" +BDEPEND="${PYTHON_DEPS} + virtual/pkgconfig" + +QA_FLAGS_IGNORED="/usr/bin/ncspot" + +src_configure() { + local myfeaturesdef="" + + use clipboard && myfeaturesdef+="share_clipboard,share_selection," + use cover && myfeaturesdef+="cover," + use mpris && myfeaturesdef+="mpris," + use notify && myfeaturesdef+="notify," + + # It always seems to link to libpulse regardless of this setting, testing required from someone + # with full alsa setup (no pulseaudio/pipewire). v0.12.0 + # if use pulseaudio; then + # myfeaturesdef+="pulseaudio_backend," + # else + # myfeaturesdef+="alsa_backend," + # fi + + myfeaturesdef+="pulseaudio_backend," + + local myfeatures=( "${myfeaturesdef::-1}" ) + + cargo_src_configure +} + +src_compile() { + cargo_src_compile + + cargo xtask generate-shell-completion || die + cargo xtask generate-manpage || die +} + +src_install() { + cargo_src_install + einstalldocs + + domenu misc/ncspot.desktop + newicon -s scalable images/logo.svg ncspot.svg + + dobashcomp misc/ncspot.bash + + insinto /usr/share/fish/completions + doins misc/ncspot.fish + + insinto /usr/share/zsh/site-functions + doins misc/_ncspot + + doman misc/ncspot.1 +} + +pkg_postinst() { + optfeature_header "Optional runtime features:" + optfeature "MPRIS song scrobbling support" media-sound/rescrobbled +} |