From 300774edb63125a17af2a607042882946663991e Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sat, 9 Nov 2024 09:17:16 +0100 Subject: media-sound/listenbrainz-mpd: update for slotted Rust --- media-sound/listenbrainz-mpd/Manifest | 2 +- .../listenbrainz-mpd-2.3.8-r1.ebuild | 225 +++++++++++++++++++++ .../listenbrainz-mpd/listenbrainz-mpd-2.3.8.ebuild | 223 -------------------- 3 files changed, 226 insertions(+), 224 deletions(-) create mode 100644 media-sound/listenbrainz-mpd/listenbrainz-mpd-2.3.8-r1.ebuild delete mode 100644 media-sound/listenbrainz-mpd/listenbrainz-mpd-2.3.8.ebuild diff --git a/media-sound/listenbrainz-mpd/Manifest b/media-sound/listenbrainz-mpd/Manifest index e37ede5..ff652a7 100644 --- a/media-sound/listenbrainz-mpd/Manifest +++ b/media-sound/listenbrainz-mpd/Manifest @@ -186,5 +186,5 @@ DIST winnow-0.6.18.crate 163357 BLAKE2B 7a43eba294c43b187211c6eabc449775081f4440 DIST winreg-0.52.0.crate 30148 BLAKE2B 7b458d356ed1385b23ace88d8a7e2a4e2e3211ba4bd22e6488b60fe508ab2b5f6d93c7547e45e0564f512391a8fbc2af1bbd3e3e3a773865d87adff67b5b2fb5 SHA512 50659afe4fa9671696bb5c6a50d62e493ef5359a324a71f7877e2ff0b522560ad65196ac6d2f7f4117edb2e47e84adce7d1de5ed2ce273f132cb2d5006472e25 DIST zerocopy-0.7.35.crate 152645 BLAKE2B 8f13123c9d9257ac5a5c6954d38c3510fa658624442f7e03cdcc6db5a0977d9f26bb4e277be172b7872ec365cf6e58ac742e5578636f7698f9f37093e9249d9a SHA512 17fcb31c029ae89c01e5bae5fb2bb46bd434120199a3dc2c7fe0012dbbcfe2a0bb38934c4a7d3a4920e3fe47c097403beee554fefa54b66cb390f8b1de638d3c DIST zerocopy-derive-0.7.35.crate 37829 BLAKE2B badeb7fa5e0bfe93a6788d93fd297604ed31de526b121549300ead3c49d450f49265f499e2e7ce606dcce2b59dd01f7fa817b8fbb3f237475185c5b42f5299c4 SHA512 dbe23573b62a6267d7bc8c744320b75b2fbda03b908c1d175211f7394374fe182bce58021e25485c10671d726b2007f250565dfe53134d51c89293bb607e9feb -EBUILD listenbrainz-mpd-2.3.8.ebuild 4452 BLAKE2B 43f74fe5b6d89b803692485ff3da7ea6f6b652dfc5ef2786e424dbc50d240286dd06736275020af337ef941ce3cd5b030e766b6694a82b620691c2826d9ba201 SHA512 aaead8ce17fc49fa0a848d0b927acdfb91dafee9ec92eee2d33fb9f4525e13585afb5ac4f4ba1b870cd7352298722bcc9fcfac53c3c6cc7cfa81e56a9d84e154 +EBUILD listenbrainz-mpd-2.3.8-r1.ebuild 4475 BLAKE2B 5b59d9cda123518dd0bc45f7cd84372e75c5838d3af7006031e96a5106e0d376532d6380d5d52462d280ee2595061a1c9ca6847b68a19cd7b80a77d4cb802726 SHA512 09ec7bd46f5b110808014564053804a2595c1deb5f950647dfe589f7f3105addc1f68e3007038aea7d8934629acd1f5c8c40000b39c91e1e483b8cb095426f79 MISC metadata.xml 312 BLAKE2B 74463f67e2511ee9437cdc24807f0e427224a5d613b091dabf4155d90dfe42745824f5d1d996cc5480bb4f225d36f4e13df871d8559eb2e47afa98d1f26c608c SHA512 c93c7952cdf242c87f8b948923c3dad0e2d16da23c0cd6bba8ba14e8904033a5a02441c412002505b700428a310489c1984c745086b1be13598b2adbd908869a diff --git a/media-sound/listenbrainz-mpd/listenbrainz-mpd-2.3.8-r1.ebuild b/media-sound/listenbrainz-mpd/listenbrainz-mpd-2.3.8-r1.ebuild new file mode 100644 index 0000000..9e53fde --- /dev/null +++ b/media-sound/listenbrainz-mpd/listenbrainz-mpd-2.3.8-r1.ebuild @@ -0,0 +1,225 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + addr2line@0.22.0 + adler@1.0.2 + ahash@0.8.11 + aho-corasick@1.1.3 + anstream@0.6.15 + anstyle@1.0.8 + anstyle-parse@0.2.5 + anstyle-query@1.1.1 + anstyle-wincon@3.0.4 + anyhow@1.0.86 + backtrace@0.3.73 + base64@0.22.1 + bitflags@2.6.0 + bumpalo@3.16.0 + bytes@1.7.1 + cc@1.1.10 + cfg-if@1.0.0 + clap@4.5.15 + clap_builder@4.5.15 + clap_complete@4.5.14 + clap_derive@4.5.13 + clap_lex@0.7.2 + colorchoice@1.0.2 + core-foundation@0.9.4 + core-foundation-sys@0.8.7 + dirs@5.0.1 + dirs-sys@0.4.1 + equivalent@1.0.1 + errno@0.3.9 + fallible-iterator@0.3.0 + fallible-streaming-iterator@0.1.9 + fastrand@2.1.0 + fnv@1.0.7 + foreign-types@0.3.2 + foreign-types-shared@0.1.1 + form_urlencoded@1.2.1 + futures-channel@0.3.30 + futures-core@0.3.30 + futures-task@0.3.30 + futures-util@0.3.30 + getrandom@0.2.15 + gimli@0.29.0 + hashbrown@0.14.5 + hashlink@0.9.1 + heck@0.5.0 + hermit-abi@0.3.9 + http@1.1.0 + http-body@1.0.1 + http-body-util@0.1.2 + httparse@1.9.4 + hyper@1.4.1 + hyper-tls@0.6.0 + hyper-util@0.1.7 + idna@0.5.0 + indexmap@2.3.0 + ipnet@2.9.0 + is_terminal_polyfill@1.70.1 + itoa@1.0.11 + js-sys@0.3.69 + lazy_static@1.5.0 + libc@0.2.155 + libredox@0.1.3 + libsqlite3-sys@0.28.0 + linux-raw-sys@0.4.14 + log@0.4.22 + matchers@0.1.0 + memchr@2.7.4 + mime@0.3.17 + minimal-lexical@0.2.1 + miniz_oxide@0.7.4 + mio@1.0.1 + mpd_client@1.4.1 + mpd_protocol@1.0.3 + native-tls@0.2.12 + nom@7.1.3 + nu-ansi-term@0.46.0 + object@0.36.3 + once_cell@1.19.0 + openssl@0.10.66 + openssl-macros@0.1.1 + openssl-probe@0.1.5 + openssl-sys@0.9.103 + option-ext@0.2.0 + overload@0.1.1 + percent-encoding@2.3.1 + pin-project@1.1.5 + pin-project-internal@1.1.5 + pin-project-lite@0.2.14 + pin-utils@0.1.0 + pkg-config@0.3.30 + proc-macro2@1.0.86 + quote@1.0.36 + redox_users@0.4.5 + regex@1.10.6 + regex-automata@0.1.10 + regex-automata@0.4.7 + regex-syntax@0.6.29 + regex-syntax@0.8.4 + reqwest@0.12.5 + rusqlite@0.31.0 + rustc-demangle@0.1.24 + rustix@0.38.34 + rustls-pemfile@2.1.3 + rustls-pki-types@1.8.0 + ryu@1.0.18 + schannel@0.1.23 + sd-notify@0.4.2 + security-framework@2.11.1 + security-framework-sys@2.11.1 + serde@1.0.206 + serde_derive@1.0.206 + serde_json@1.0.122 + serde_spanned@0.6.7 + serde_urlencoded@0.7.1 + sharded-slab@0.1.7 + signal-hook-registry@1.4.2 + smallvec@1.13.2 + socket2@0.5.7 + strsim@0.11.1 + syn@2.0.73 + sync_wrapper@1.0.1 + tempfile@3.12.0 + thiserror@1.0.63 + thiserror-impl@1.0.63 + thread_local@1.1.8 + tinyvec@1.8.0 + tinyvec_macros@0.1.1 + tokio@1.39.2 + tokio-macros@2.4.0 + tokio-native-tls@0.3.1 + tokio-stream@0.1.15 + toml@0.8.19 + toml_datetime@0.6.8 + toml_edit@0.22.20 + tower@0.4.13 + tower-layer@0.3.2 + tower-service@0.3.2 + tracing@0.1.40 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing-log@0.2.0 + tracing-subscriber@0.3.18 + try-lock@0.2.5 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + url@2.5.2 + utf8parse@0.2.2 + valuable@0.1.0 + vcpkg@0.2.15 + version_check@0.9.5 + want@0.3.1 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen@0.2.92 + wasm-bindgen-backend@0.2.92 + wasm-bindgen-futures@0.4.42 + wasm-bindgen-macro@0.2.92 + wasm-bindgen-macro-support@0.2.92 + wasm-bindgen-shared@0.2.92 + web-sys@0.3.69 + winapi@0.3.9 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-x86_64-pc-windows-gnu@0.4.0 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.48.5 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.6 + winnow@0.6.18 + winreg@0.52.0 + zerocopy@0.7.35 + zerocopy-derive@0.7.35 +" + +RUST_MIN_VER="1.79.0" + +inherit cargo systemd + +DESCRIPTION="ListenBrainz submission client for MPD" +HOMEPAGE="https://codeberg.org/elomatreb/listenbrainz-mpd" +SRC_URI="https://codeberg.org/elomatreb/listenbrainz-mpd/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${CARGO_CRATE_URIS}" + +S="${WORKDIR}/${PN}" + +LICENSE="AGPL-3 Apache-2.0 BSD MIT unicode" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="systemd" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_configure() { + local myfeatures=($(usev systemd)) + cargo_src_configure +} + +src_install() { + cargo_src_install + + systemd_dounit listenbrainz-mpd.service + systemd_douserunit listenbrainz-mpd.service +} diff --git a/media-sound/listenbrainz-mpd/listenbrainz-mpd-2.3.8.ebuild b/media-sound/listenbrainz-mpd/listenbrainz-mpd-2.3.8.ebuild deleted file mode 100644 index f6675c9..0000000 --- a/media-sound/listenbrainz-mpd/listenbrainz-mpd-2.3.8.ebuild +++ /dev/null @@ -1,223 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - addr2line@0.22.0 - adler@1.0.2 - ahash@0.8.11 - aho-corasick@1.1.3 - anstream@0.6.15 - anstyle@1.0.8 - anstyle-parse@0.2.5 - anstyle-query@1.1.1 - anstyle-wincon@3.0.4 - anyhow@1.0.86 - backtrace@0.3.73 - base64@0.22.1 - bitflags@2.6.0 - bumpalo@3.16.0 - bytes@1.7.1 - cc@1.1.10 - cfg-if@1.0.0 - clap@4.5.15 - clap_builder@4.5.15 - clap_complete@4.5.14 - clap_derive@4.5.13 - clap_lex@0.7.2 - colorchoice@1.0.2 - core-foundation@0.9.4 - core-foundation-sys@0.8.7 - dirs@5.0.1 - dirs-sys@0.4.1 - equivalent@1.0.1 - errno@0.3.9 - fallible-iterator@0.3.0 - fallible-streaming-iterator@0.1.9 - fastrand@2.1.0 - fnv@1.0.7 - foreign-types@0.3.2 - foreign-types-shared@0.1.1 - form_urlencoded@1.2.1 - futures-channel@0.3.30 - futures-core@0.3.30 - futures-task@0.3.30 - futures-util@0.3.30 - getrandom@0.2.15 - gimli@0.29.0 - hashbrown@0.14.5 - hashlink@0.9.1 - heck@0.5.0 - hermit-abi@0.3.9 - http@1.1.0 - http-body@1.0.1 - http-body-util@0.1.2 - httparse@1.9.4 - hyper@1.4.1 - hyper-tls@0.6.0 - hyper-util@0.1.7 - idna@0.5.0 - indexmap@2.3.0 - ipnet@2.9.0 - is_terminal_polyfill@1.70.1 - itoa@1.0.11 - js-sys@0.3.69 - lazy_static@1.5.0 - libc@0.2.155 - libredox@0.1.3 - libsqlite3-sys@0.28.0 - linux-raw-sys@0.4.14 - log@0.4.22 - matchers@0.1.0 - memchr@2.7.4 - mime@0.3.17 - minimal-lexical@0.2.1 - miniz_oxide@0.7.4 - mio@1.0.1 - mpd_client@1.4.1 - mpd_protocol@1.0.3 - native-tls@0.2.12 - nom@7.1.3 - nu-ansi-term@0.46.0 - object@0.36.3 - once_cell@1.19.0 - openssl@0.10.66 - openssl-macros@0.1.1 - openssl-probe@0.1.5 - openssl-sys@0.9.103 - option-ext@0.2.0 - overload@0.1.1 - percent-encoding@2.3.1 - pin-project@1.1.5 - pin-project-internal@1.1.5 - pin-project-lite@0.2.14 - pin-utils@0.1.0 - pkg-config@0.3.30 - proc-macro2@1.0.86 - quote@1.0.36 - redox_users@0.4.5 - regex@1.10.6 - regex-automata@0.1.10 - regex-automata@0.4.7 - regex-syntax@0.6.29 - regex-syntax@0.8.4 - reqwest@0.12.5 - rusqlite@0.31.0 - rustc-demangle@0.1.24 - rustix@0.38.34 - rustls-pemfile@2.1.3 - rustls-pki-types@1.8.0 - ryu@1.0.18 - schannel@0.1.23 - sd-notify@0.4.2 - security-framework@2.11.1 - security-framework-sys@2.11.1 - serde@1.0.206 - serde_derive@1.0.206 - serde_json@1.0.122 - serde_spanned@0.6.7 - serde_urlencoded@0.7.1 - sharded-slab@0.1.7 - signal-hook-registry@1.4.2 - smallvec@1.13.2 - socket2@0.5.7 - strsim@0.11.1 - syn@2.0.73 - sync_wrapper@1.0.1 - tempfile@3.12.0 - thiserror@1.0.63 - thiserror-impl@1.0.63 - thread_local@1.1.8 - tinyvec@1.8.0 - tinyvec_macros@0.1.1 - tokio@1.39.2 - tokio-macros@2.4.0 - tokio-native-tls@0.3.1 - tokio-stream@0.1.15 - toml@0.8.19 - toml_datetime@0.6.8 - toml_edit@0.22.20 - tower@0.4.13 - tower-layer@0.3.2 - tower-service@0.3.2 - tracing@0.1.40 - tracing-attributes@0.1.27 - tracing-core@0.1.32 - tracing-log@0.2.0 - tracing-subscriber@0.3.18 - try-lock@0.2.5 - unicode-bidi@0.3.15 - unicode-ident@1.0.12 - unicode-normalization@0.1.23 - url@2.5.2 - utf8parse@0.2.2 - valuable@0.1.0 - vcpkg@0.2.15 - version_check@0.9.5 - want@0.3.1 - wasi@0.11.0+wasi-snapshot-preview1 - wasm-bindgen@0.2.92 - wasm-bindgen-backend@0.2.92 - wasm-bindgen-futures@0.4.42 - wasm-bindgen-macro@0.2.92 - wasm-bindgen-macro-support@0.2.92 - wasm-bindgen-shared@0.2.92 - web-sys@0.3.69 - winapi@0.3.9 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-x86_64-pc-windows-gnu@0.4.0 - windows-sys@0.48.0 - windows-sys@0.52.0 - windows-sys@0.59.0 - windows-targets@0.48.5 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.48.5 - windows_aarch64_msvc@0.52.6 - windows_i686_gnu@0.48.5 - windows_i686_gnu@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_msvc@0.48.5 - windows_i686_msvc@0.52.6 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnu@0.52.6 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_msvc@0.48.5 - windows_x86_64_msvc@0.52.6 - winnow@0.6.18 - winreg@0.52.0 - zerocopy@0.7.35 - zerocopy-derive@0.7.35 -" - -inherit cargo systemd - -DESCRIPTION="ListenBrainz submission client for MPD" -HOMEPAGE="https://codeberg.org/elomatreb/listenbrainz-mpd" -SRC_URI="https://codeberg.org/elomatreb/listenbrainz-mpd/archive/v${PV}.tar.gz -> ${P}.tar.gz - ${CARGO_CRATE_URIS}" - -S="${WORKDIR}/${PN}" - -LICENSE="AGPL-3 Apache-2.0 BSD MIT unicode" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="systemd" - -QA_FLAGS_IGNORED="usr/bin/${PN}" - -src_configure() { - local myfeatures=($(usev systemd)) - cargo_src_configure -} - -src_install() { - cargo_src_install - - systemd_dounit listenbrainz-mpd.service - systemd_douserunit listenbrainz-mpd.service -} -- cgit v1.2.3-2-gb3c3