diff options
author | Nicola Smaniotto <smaniotto.nicola@gmail.com> | 2022-05-03 19:02:55 +0200 |
---|---|---|
committer | Nicola Smaniotto <smaniotto.nicola@gmail.com> | 2022-05-03 19:02:55 +0200 |
commit | fedf081ff377a76016158abd37b9605f28638174 (patch) | |
tree | db4984d8defd866726fc5cbf9d06cc36cc447b92 /media-sound | |
parent | mpv-plugin/mpv_thumbnail_script: move from media-video/mpv_thumbnail_script (diff) | |
download | guru-fedf081ff377a76016158abd37b9605f28638174.tar.gz guru-fedf081ff377a76016158abd37b9605f28638174.tar.bz2 guru-fedf081ff377a76016158abd37b9605f28638174.zip |
media-sound/spotify-adblock: add 1.0.2
Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/spotify-adblock/Manifest | 1 | ||||
-rw-r--r-- | media-sound/spotify-adblock/spotify-adblock-1.0.2.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/media-sound/spotify-adblock/Manifest b/media-sound/spotify-adblock/Manifest index 07c419154..b6b46182c 100644 --- a/media-sound/spotify-adblock/Manifest +++ b/media-sound/spotify-adblock/Manifest @@ -9,6 +9,7 @@ DIST regex-syntax-0.6.25.crate 293293 BLAKE2B d5ca0dbc26b03c6a1818026f9a69cd226e DIST serde-1.0.136.crate 76158 BLAKE2B 44603c8eede428dce4211350497a443385ff0ddb0b43799170411110fd8908a56e9df801c72695723f4fcff5eb33384bcf92ef58eecb9c4924d5d9cc30e2f6c9 SHA512 d043ccfd6a1dc9a114a1a95530a63ed9342688d31d3aadeec600a9a9d47aad328be35b6f80080400ea4bb3f820ddd18cc5ce1e6ea1db28e02752962061e71019 DIST serde_derive-1.0.136.crate 54776 BLAKE2B 687524001bf61c42266d91a7263661ab80aa9556e570975a39bdf56a5cb1a2ec3ad1baf22dff586c7ad4ff66d035555d0a9d4a431c49402dcad6d79d0ef40cee SHA512 92c99455a5a9ac0fe45eb6ff1ad3ea55db860031fb912ace3755d1d2aad0dd880b2d83add4d41872823bd60557ebe1cb36e898bf0ac975b1093caa9819f7c289 DIST spotify-adblock-1.0.1.tar.gz 31427 BLAKE2B e097b0eebe95d91a5412c0a26cc19e955d482f8416feddf41fc0fd9aca8e1fd5f912b1a99a436fa1ab769bb743610b08cdfb71975090dff128a20d356d01105c SHA512 863f4c1cbaa1d9e8c0c7e602e13ded6ee62c5583f6b1bca9cc9196f93331cebd4fb3fe894c64d9ac14c27307ce2f655d4af0c7358da70922875e9a4be32648a9 +DIST spotify-adblock-1.0.2.tar.gz 32372 BLAKE2B 5247d1746a30805d218fc183d75adb249f6517b0dace9460b7be18fe63b6209bb49c0084973f1d28452901dedb839eba7e3e427d758dc78139e9aa4ed8a46009 SHA512 c36c137e675c8890cf669d68cbd68b1cc9b5f6722eeabc598a67fe1bb293dd8af00ed4293f63ef30c380bd3734b8aed01b3ffe726f92806d1a0c31cb689163be DIST syn-1.0.86.crate 235126 BLAKE2B 89973130279128cab73443ee36c8e0d7bc83364ef91d0f086a40c136e26e612428b867a54a1da8ee5b1778cedeafc7403180bd84df2c21017ad5bb76bc0c9138 SHA512 1462dc9fbf0a89b023421064908c7e349ede23c986eddcb8d260559b5e1346fe0206c88e5317eea7e8293ea58b94466d486fae3aa57a1dee4220f5431b1fb68a DIST toml-0.5.8.crate 54219 BLAKE2B b4f9f563e5ba4574d4f2dcbe244378a2e1e984bd9fbbbfa5a06bdd5f8b8d677394f0db9cb8696f6936c80a52caa86b1b3ebaf3885c53855af23f03d318785f19 SHA512 26b7901ee4b7cbb4cf8ea57d365a99ed05e0a76e73452e47d4bcb3b4eeb7bbd393c13eea9ea33dc13622942efcda39acdba9425b74b40c920c9f19673a1f2082 DIST unicode-xid-0.2.2.crate 14955 BLAKE2B 6c6da49ac08dbd8b3248272224d6bff96b9cd1f36029b1937a58a0b929c3a48326053305ed49e73edd70f572f5abbc4817cedc899c69e3457805ad056669f6af SHA512 92ffd0dd34e3ca235ecf110b38c447d3ec1faa23d76c112457f28d432f92fa6b5f428bc5e1bfd278f361f55426dd96e19ecb0d3eff6cf250892f069c52bd89a8 diff --git a/media-sound/spotify-adblock/spotify-adblock-1.0.2.ebuild b/media-sound/spotify-adblock/spotify-adblock-1.0.2.ebuild new file mode 100644 index 000000000..017a35ea2 --- /dev/null +++ b/media-sound/spotify-adblock/spotify-adblock-1.0.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Auto-Generated by cargo-ebuild 0.5.1 + +EAPI=8 + +CRATES=" + aho-corasick-0.7.18 + lazy_static-1.4.0 + libc-0.2.119 + memchr-2.4.1 + proc-macro2-1.0.36 + quote-1.0.15 + regex-1.5.4 + regex-syntax-0.6.25 + serde-1.0.136 + serde_derive-1.0.136 + syn-1.0.86 + toml-0.5.8 + unicode-xid-0.2.2 +" + +inherit cargo + +DESCRIPTION="Adblocker for Spotify" +HOMEPAGE="https://github.com/abba23/spotify-adblock/" +SRC_URI=" + https://github.com/abba23/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris) +" +LICENSE=" + GPL-3 + || ( Apache-2.0 MIT ) + || ( MIT Unlicense ) +" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + media-sound/spotify +" + +src_prepare(){ + default + # assigned here to use get_libdir + QA_FLAGS_IGNORED="usr/$(get_libdir)/${PN}.so" +} + +src_install(){ + # executable + SPOTIFY_HOME=/opt/spotify/spotify-client + cat <<-EOF > "${T}/spotify-adblock" || die + #! /bin/sh + LD_LIBRARY_PATH="${SPOTIFY_HOME}" \\ + LD_PRELOAD=/usr/$(get_libdir)/spotify-adblock.so \\ + exec ${SPOTIFY_HOME}/spotify "\$@" + EOF + dobin "${T}/spotify-adblock" + + # library + newlib.so target/release/libspotifyadblock.so ${PN}.so + + # config + insinto "/etc/${PN}" + doins config.toml +} |