From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C898515808C for ; Wed, 23 Feb 2022 00:33:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2C38E09C8; Wed, 23 Feb 2022 00:33:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77482E09C8 for ; Wed, 23 Feb 2022 00:33:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7AF41343133 for ; Wed, 23 Feb 2022 00:33:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE346313 for ; Wed, 23 Feb 2022 00:33:48 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1645545479.c61b466a5c1c4957c449f82cbe483693311f9d8f.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/spotify-adblock/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-sound/spotify-adblock/Manifest media-sound/spotify-adblock/metadata.xml media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild X-VCS-Directories: media-sound/spotify-adblock/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: c61b466a5c1c4957c449f82cbe483693311f9d8f X-VCS-Branch: master Date: Wed, 23 Feb 2022 00:33:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bd69f5fa-dfd4-4d93-a6e4-70d82d189012 X-Archives-Hash: 1f8efdff6da1d93a4c4af3028e10f9bd commit: c61b466a5c1c4957c449f82cbe483693311f9d8f Author: Nicola Smaniotto gmail com> AuthorDate: Tue Feb 22 15:57:32 2022 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Tue Feb 22 15:57:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c61b466a media-sound/spotify-adblock: new package (1.0.1) Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Nicola Smaniotto gmail.com> media-sound/spotify-adblock/Manifest | 14 +++++ media-sound/spotify-adblock/metadata.xml | 8 +++ .../spotify-adblock/spotify-adblock-1.0.1.ebuild | 61 ++++++++++++++++++++++ 3 files changed, 83 insertions(+) diff --git a/media-sound/spotify-adblock/Manifest b/media-sound/spotify-adblock/Manifest new file mode 100644 index 000000000..07c419154 --- /dev/null +++ b/media-sound/spotify-adblock/Manifest @@ -0,0 +1,14 @@ +DIST aho-corasick-0.7.18.crate 112923 BLAKE2B 4f6947d1aacf89ccfab0592cdc55fa61ef09cea38231d3f758765dbce328a810c0b588be4ba96e81d64955379ee005722d22a7aec39caea6e72342245d7ca34f SHA512 7a23b16231a90d23ee60ad4c81bc225410599a4560d33d3a203138fc540c39cf1000100fed3aed40dcc371c3635656a3792545dca5dd1aefbde00d8774eebd00 +DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8 +DIST libc-0.2.119.crate 575749 BLAKE2B 5fa2bf66a4d642e1380335fde0fd190d5168dca58376379caeb52171a3382e5342c727eb4d92f1e27adde58a24d00352896a73c45309d947f56787a99f2753f8 SHA512 a43f8d1cac7a0d8c1bf6f2125695c03d91243498d2dea19a3a674ccb2c64fd00bac4040c42130a1a096b2148451f62e1292c5c71f424f51f888d6a37c7db0bcd +DIST memchr-2.4.1.crate 64977 BLAKE2B 31479718c118093b684bed946eae0706d77d9d275bd49f5aeff4de490f479abd60c7dc462150eafffc6d6fc1da0853123b78be038826b775d2a41a4c39d93ab5 SHA512 d8912e3902a2126f86159bdc998532a2890b882cbb7d59b5a470fffcad4c32281e045f2fff48a235aa4189f1928866bf3d33b699d50866ad6b6c272bba7adb11 +DIST proc-macro2-1.0.36.crate 41411 BLAKE2B d7d99aed41080b65680736d92dd027e21c9e9e0b03601915c000f5dea8f2b2d9126b116af32f2fb04b4fa407775f0131423055d0b62fdbfe87fa4ba7ec098beb SHA512 f31b0f2356af2746321c4f808ac9af87d21a5657c103ed6bc1383855e40caf49246cc8ec1edff58eacf193424abfc2163148b7298e527714e65e602f14b2e50a +DIST quote-1.0.15.crate 27281 BLAKE2B 5612633415d30e26e646a968ab7a64ecdc978b02efdbd40dfecf5afa489c21bbc6a9c93ecce2a2b45519db6be3384bb372cfc9f597846e8399f7c2b57e8b34e1 SHA512 76403bfac4e9a018b29ddf8f911135206d4fdc266db38a95cc92f6159a8b436d39d64c4ae6c3fd16ad83117270ed329b6a151d589cab46c75443c57b533dfaeb +DIST regex-1.5.4.crate 236581 BLAKE2B 6efaf69d1a99dc3a2e04b2d1a96b036f631e9a0ad0d3aa57263febd47f7ec12765526f06f9c52a5497bf0d9b455f1d1b39e011adc4c28530c44b65c8a453efc0 SHA512 1a9208358c4ab87c19ec91bcf5c1e35dede46f3a0c0097061b7b53fa77a1e5ad38090d243aab274956f09c491e5fbe3b3b35a91db079b82a2dde2fd9fbad4c19 +DIST regex-syntax-0.6.25.crate 293293 BLAKE2B d5ca0dbc26b03c6a1818026f9a69cd226ec934e7c64094d0ebe843052b648617ffae7aa3a074f8da46d03c46996d8b547d8916576342000bd9711089b3e57d73 SHA512 a3d31f82aadc6be1796f76c03152ff24f37fe42d6ce27fb98e2f55ab102f86502bc37ccd563f6e0eba61aab20d002184c618517b678b3b93cb8f0497cc046ca5 +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 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/metadata.xml b/media-sound/spotify-adblock/metadata.xml new file mode 100644 index 000000000..be3f1030e --- /dev/null +++ b/media-sound/spotify-adblock/metadata.xml @@ -0,0 +1,8 @@ + + + + + smaniotto.nicola@gmail.com + Nicola Smaniotto + + diff --git a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild new file mode 100644 index 000000000..1cefd04ee --- /dev/null +++ b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Auto-Generated by cargo-ebuild 0.5.0 + +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_install(){ + # executable + SPOTIFY_HOME=/opt/spotify/spotify-client + cat <<-EOF >"${ED}"/usr/bin/spotify-adblock || die + #! /bin/sh + LD_LIBRARY_PATH="${SPOTIFY_HOME}" \\ + LD_PRELOAD=/usr/$(get_libdir)/spotify-adblock.so \\ + exec ${SPOTIFY_HOME}/spotify "\$@" + EOF + fperms +x /usr/bin/spotify-adblock + + # library + newlib.so target/release/libspotifyadblock.so ${PN}.so + + # config + insinto "/etc/${PN}" + doins config.toml +}