public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: media-sound/spotify-adblock/
@ 2022-02-22 15:58 Nicola Smaniotto
  0 siblings, 0 replies; 7+ messages in thread
From: Nicola Smaniotto @ 2022-02-22 15:58 UTC (permalink / raw
  To: gentoo-commits

commit:     c61b466a5c1c4957c449f82cbe483693311f9d8f
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Tue Feb 22 15:57:32 2022 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
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 <smaniotto.nicola <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person">
+		<email>smaniotto.nicola@gmail.com</email>
+		<name>Nicola Smaniotto</name>
+	</maintainer>
+</pkgmetadata>

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
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-sound/spotify-adblock/
@ 2022-02-24 14:45 Nicola Smaniotto
  0 siblings, 0 replies; 7+ messages in thread
From: Nicola Smaniotto @ 2022-02-24 14:45 UTC (permalink / raw
  To: gentoo-commits

commit:     084d9c52333ab34d5d79895ddc783d0180799242
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Thu Feb 24 14:44:01 2022 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Thu Feb 24 14:45:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=084d9c52

media-sound/spotify-adblock: create the binary in T

Closes: https://bugs.gentoo.org/833956
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild
index 1cefd04ee..11d03833e 100644
--- a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild
+++ b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild
@@ -44,13 +44,13 @@ RDEPEND="
 src_install(){
 	# executable
 	SPOTIFY_HOME=/opt/spotify/spotify-client
-	cat <<-EOF >"${ED}"/usr/bin/spotify-adblock || die
+	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
-	fperms +x /usr/bin/spotify-adblock
+	dobin "${T}/spotify-adblock"
 
 	# library
 	newlib.so target/release/libspotifyadblock.so ${PN}.so


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-sound/spotify-adblock/
@ 2022-02-27 10:06 Nicola Smaniotto
  0 siblings, 0 replies; 7+ messages in thread
From: Nicola Smaniotto @ 2022-02-27 10:06 UTC (permalink / raw
  To: gentoo-commits

commit:     309a4918150d2fbd999499e7b88d67aa507af5ad
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Sun Feb 27 10:05:17 2022 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Sun Feb 27 10:06:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=309a4918

media-sound/spotify-adblock: add QA_FLAGS_IGNORED

Rust programs don't respect LDFLAGS/CFLAGS

Closes: https://bugs.gentoo.org/834149
Closes: https://bugs.gentoo.org/834150
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild
index 11d03833e..40891426c 100644
--- a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild
+++ b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild
@@ -41,6 +41,8 @@ RDEPEND="
 	media-sound/spotify
 "
 
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+
 src_install(){
 	# executable
 	SPOTIFY_HOME=/opt/spotify/spotify-client


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-sound/spotify-adblock/
@ 2022-02-28 21:11 Nicola Smaniotto
  0 siblings, 0 replies; 7+ messages in thread
From: Nicola Smaniotto @ 2022-02-28 21:11 UTC (permalink / raw
  To: gentoo-commits

commit:     429bd3438325d6959ea0baf0afe71e50f3b15311
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon Feb 28 21:10:39 2022 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Mon Feb 28 21:11:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=429bd343

media-sound/spotify-adblock: fix QA_FLAGS_IGNORED

The executable is fine, the .so file is the one that doesn't respect the
flags. Also, this needs get_libdir, so the variable is now assigned in
src_prepare.

Closes: https://bugs.gentoo.org/834334
Closes: https://bugs.gentoo.org/834335
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild
index 40891426c..6a30973e9 100644
--- a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild
+++ b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild
@@ -41,7 +41,11 @@ RDEPEND="
 	media-sound/spotify
 "
 
-QA_FLAGS_IGNORED="usr/bin/${PN}"
+src_prepare(){
+	default
+	# assigned here to use get_libdir
+	QA_FLAGS_IGNORED="usr/$(get_libdir)/${PN}.so"
+}
 
 src_install(){
 	# executable


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-sound/spotify-adblock/
@ 2022-05-03 17:04 Nicola Smaniotto
  0 siblings, 0 replies; 7+ messages in thread
From: Nicola Smaniotto @ 2022-05-03 17:04 UTC (permalink / raw
  To: gentoo-commits

commit:     fedf081ff377a76016158abd37b9605f28638174
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Tue May  3 17:02:55 2022 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Tue May  3 17:02:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fedf081f

media-sound/spotify-adblock: add 1.0.2

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 media-sound/spotify-adblock/Manifest               |  1 +
 .../spotify-adblock/spotify-adblock-1.0.2.ebuild   | 67 ++++++++++++++++++++++
 2 files changed, 68 insertions(+)

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
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-sound/spotify-adblock/
@ 2023-03-15  9:10 Nicola Smaniotto
  0 siblings, 0 replies; 7+ messages in thread
From: Nicola Smaniotto @ 2023-03-15  9:10 UTC (permalink / raw
  To: gentoo-commits

commit:     452c852a3490db23476a1d0d314cd3f452d36e73
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Wed Mar 15 09:10:22 2023 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Wed Mar 15 09:10:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=452c852a

media-sound/spotify-adblock: handle the debug USE flag

Closes: https://bugs.gentoo.org/901309
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild | 2 +-
 media-sound/spotify-adblock/spotify-adblock-1.0.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild
index 6a30973e9..6dff05976 100644
--- a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild
+++ b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild
@@ -59,7 +59,7 @@ src_install(){
 	dobin "${T}/spotify-adblock"
 
 	# library
-	newlib.so target/release/libspotifyadblock.so ${PN}.so
+	newlib.so target/$(usex debug debug release)/libspotifyadblock.so ${PN}.so
 
 	# config
 	insinto "/etc/${PN}"

diff --git a/media-sound/spotify-adblock/spotify-adblock-1.0.2.ebuild b/media-sound/spotify-adblock/spotify-adblock-1.0.2.ebuild
index 017a35ea2..235769524 100644
--- a/media-sound/spotify-adblock/spotify-adblock-1.0.2.ebuild
+++ b/media-sound/spotify-adblock/spotify-adblock-1.0.2.ebuild
@@ -59,7 +59,7 @@ src_install(){
 	dobin "${T}/spotify-adblock"
 
 	# library
-	newlib.so target/release/libspotifyadblock.so ${PN}.so
+	newlib.so target/$(usex debug debug release)/libspotifyadblock.so ${PN}.so
 
 	# config
 	insinto "/etc/${PN}"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-sound/spotify-adblock/
@ 2023-09-14  7:49 Nicola Smaniotto
  0 siblings, 0 replies; 7+ messages in thread
From: Nicola Smaniotto @ 2023-09-14  7:49 UTC (permalink / raw
  To: gentoo-commits

commit:     858e80acfdeafbaef2d09713c91706d5f83d1fa9
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Thu Sep 14 07:49:26 2023 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Thu Sep 14 07:49:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=858e80ac

media-sound/spotify-adblock: add 1.0.3

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 media-sound/spotify-adblock/Manifest               | 22 +++++++
 .../spotify-adblock/spotify-adblock-1.0.3.ebuild   | 71 ++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/media-sound/spotify-adblock/Manifest b/media-sound/spotify-adblock/Manifest
index b6b46182c5..773b8e9465 100644
--- a/media-sound/spotify-adblock/Manifest
+++ b/media-sound/spotify-adblock/Manifest
@@ -1,15 +1,37 @@
 DIST aho-corasick-0.7.18.crate 112923 BLAKE2B 4f6947d1aacf89ccfab0592cdc55fa61ef09cea38231d3f758765dbce328a810c0b588be4ba96e81d64955379ee005722d22a7aec39caea6e72342245d7ca34f SHA512 7a23b16231a90d23ee60ad4c81bc225410599a4560d33d3a203138fc540c39cf1000100fed3aed40dcc371c3635656a3792545dca5dd1aefbde00d8774eebd00
+DIST aho-corasick-1.0.2.crate 167694 BLAKE2B fa5323cbe6cb73594dfa4c327c64676bc1e006dadc0b9def325974c83b9a769beba02d59a4657ec7a2d0cc511a7b7cc6f72cf57b8f9e639206d1c2bf13107a52 SHA512 5c75451f96fbbd670e6af0e1f54df2bdb57259dfe6898495ac46a5b2fc04f316a4698fd5cfd4ec31a94c298661937a8de08ce97cab3890fb3c015e4a2a67bb7b
+DIST equivalent-1.0.1.crate 6615 BLAKE2B 302d78069d9df05e78b53f0488a9e4eb98fa2bc1e21893dc8a0acf2234347ba7c4df4b9d6b380ae77d8ffb1074b9c790460fe2dae47318aa1c4fe4208244540a SHA512 b2bc60e804c1b02c461dcefcfd60fc37145af710d183ebe65f9a4d63f2b2072d23193f98dc550a9213c7fdc6a2a837af23b04a89294ebbb681a4aaf5d5031140
+DIST hashbrown-0.14.0.crate 116103 BLAKE2B 24bab03e8a8cb7623b92282c83bf8acaf0752c696ee1c010249e3ebb3646e7549d8d6d798b02c9d5b621afbebba7320f8a859d9a1af1523dbd46377b857dbb5f SHA512 f0fbdf81517f59a0b67f792a4097f1131d346b2b4cbda93590749cef7f9f1c9029e0e182f58c23b74d3028f7502c30b9593c1eb4da37f95388d74b14582b8959
+DIST indexmap-2.0.0.crate 64038 BLAKE2B e7a1b2bbd790f1446f77262b5b0799c2a816a01295a9a4db66f10e6c0502f8970982fb808581472e840cc34dc70e7938b89408799ed0d91aa50d3dd0b4807995 SHA512 59bc19653436389e1408e21b0933e5ca6f9fe228f0f5fbe9a7e4fb461b9712ba82983cbf22c0581eaf7913298b9ef5842702946152b493c1dc651381d6bce1a3
 DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
 DIST libc-0.2.119.crate 575749 BLAKE2B 5fa2bf66a4d642e1380335fde0fd190d5168dca58376379caeb52171a3382e5342c727eb4d92f1e27adde58a24d00352896a73c45309d947f56787a99f2753f8 SHA512 a43f8d1cac7a0d8c1bf6f2125695c03d91243498d2dea19a3a674ccb2c64fd00bac4040c42130a1a096b2148451f62e1292c5c71f424f51f888d6a37c7db0bcd
+DIST libc-0.2.147.crate 686772 BLAKE2B ab2f0c65d071d46b8b88149add1c8429237ef6d9e0563d56ee1adbf23e6147dbb57fb68fbd02498f8ec75327693237a47e5e5259615ce8b0d5ed7a03bbf4fffb SHA512 bfb3c230b59d623b98726f92b7c3f897b47ba3d22fe9834c15f5b4c1b662289aba35a0ae3acfc704ad74696db8c691ee007b9cc6fa03ae65a18eb6bedc81931e
 DIST memchr-2.4.1.crate 64977 BLAKE2B 31479718c118093b684bed946eae0706d77d9d275bd49f5aeff4de490f479abd60c7dc462150eafffc6d6fc1da0853123b78be038826b775d2a41a4c39d93ab5 SHA512 d8912e3902a2126f86159bdc998532a2890b882cbb7d59b5a470fffcad4c32281e045f2fff48a235aa4189f1928866bf3d33b699d50866ad6b6c272bba7adb11
+DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa
 DIST proc-macro2-1.0.36.crate 41411 BLAKE2B d7d99aed41080b65680736d92dd027e21c9e9e0b03601915c000f5dea8f2b2d9126b116af32f2fb04b4fa407775f0131423055d0b62fdbfe87fa4ba7ec098beb SHA512 f31b0f2356af2746321c4f808ac9af87d21a5657c103ed6bc1383855e40caf49246cc8ec1edff58eacf193424abfc2163148b7298e527714e65e602f14b2e50a
+DIST proc-macro2-1.0.66.crate 43575 BLAKE2B 9eb3e816b00fcf625c280ba14ad269f5893d0523473a24de07c21945f6f932fbd08efb3c339b35d903245510e3f065e1478439b024a325f2bb9f97bc7bcbb18d SHA512 85f5a762f9411142e5ac28144bd380f07f0633ed2e44d8a2545be9fb8f42abaca6b5d45631b4be83b8e8b9beca7438bc52f25615c3a410a3a1249474b1aca407
 DIST quote-1.0.15.crate 27281 BLAKE2B 5612633415d30e26e646a968ab7a64ecdc978b02efdbd40dfecf5afa489c21bbc6a9c93ecce2a2b45519db6be3384bb372cfc9f597846e8399f7c2b57e8b34e1 SHA512 76403bfac4e9a018b29ddf8f911135206d4fdc266db38a95cc92f6159a8b436d39d64c4ae6c3fd16ad83117270ed329b6a151d589cab46c75443c57b533dfaeb
+DIST quote-1.0.31.crate 27881 BLAKE2B 47c8ac1051f7fa03d002420ade3cb18bf2aedc6ba922d13b117c016ee89c3326bea5cad32ec2f0e5ac1afcce68982f20b3f973914c205e6d6f426487989c6ec4 SHA512 8b2ec131937ce53f3fa01e68fb9261ed6442222e513cbe86f62b6da3cf3051cda0d134dc8028bc6c992fa63735ef3507490a169f8b4af1d6fc17058c6d2faaab
 DIST regex-1.5.4.crate 236581 BLAKE2B 6efaf69d1a99dc3a2e04b2d1a96b036f631e9a0ad0d3aa57263febd47f7ec12765526f06f9c52a5497bf0d9b455f1d1b39e011adc4c28530c44b65c8a453efc0 SHA512 1a9208358c4ab87c19ec91bcf5c1e35dede46f3a0c0097061b7b53fa77a1e5ad38090d243aab274956f09c491e5fbe3b3b35a91db079b82a2dde2fd9fbad4c19
+DIST regex-1.9.1.crate 251978 BLAKE2B c5a049a485bb78cf27501b1c150d922ad56fa26fcc4594f111786cda8879b21573cd0b629dc4dee81e579a98d3ad2620a08ab97c5d0bd5abb1fbd1f8eadeb3e1 SHA512 cbee57ecf620795eb2625cb2a6a3d6eb2b46de91ade021111f8960e31d8d0098b786ddc1e97734cfa16f7e68d77ebb8a9b7362542d91f2345bf2e4f64778a454
+DIST regex-automata-0.3.3.crate 604301 BLAKE2B 56e385b6b6a759710c1edece283034580ab47753c21be2aeff97d267a00bf6086fac7130ddad35a7a296b50b3abb4fadd034e67ebad4eb25b885d8ae7847d7f8 SHA512 c09bc62d3357f69f6908fd1a6eeef37a6dc862bdf40cc4559bc76f30ba14f7e5e3677a86426b6eef60c76ba83b933a9a685d6efef384c1d6644079aa673086aa
 DIST regex-syntax-0.6.25.crate 293293 BLAKE2B d5ca0dbc26b03c6a1818026f9a69cd226ec934e7c64094d0ebe843052b648617ffae7aa3a074f8da46d03c46996d8b547d8916576342000bd9711089b3e57d73 SHA512 a3d31f82aadc6be1796f76c03152ff24f37fe42d6ce27fb98e2f55ab102f86502bc37ccd563f6e0eba61aab20d002184c618517b678b3b93cb8f0497cc046ca5
+DIST regex-syntax-0.7.4.crate 343365 BLAKE2B b50c01f02e08729496e8bcf023949d088463bf62348b4a1043fe5205650da37863b2ca51f683662a4df33bd56085e0501e50410106c9c471a0daec4c71dfe945 SHA512 b33713c71f6f753820ca6405e8415e5eeed457efd01e81b0b720e48c135b9bb0973962269587ddca31350233aec6d3f598596cb48310db0633bf67f8970f0e18
 DIST serde-1.0.136.crate 76158 BLAKE2B 44603c8eede428dce4211350497a443385ff0ddb0b43799170411110fd8908a56e9df801c72695723f4fcff5eb33384bcf92ef58eecb9c4924d5d9cc30e2f6c9 SHA512 d043ccfd6a1dc9a114a1a95530a63ed9342688d31d3aadeec600a9a9d47aad328be35b6f80080400ea4bb3f820ddd18cc5ce1e6ea1db28e02752962061e71019
+DIST serde-1.0.174.crate 77604 BLAKE2B 0ae52b5fc90017c3b38d706582d7032b4654e6a7817dd6aa45d59e638acc81ce55c09b929bdac9200c1d8ae08a9e1139949bd5370ed3d3d3820ed3fc501a2465 SHA512 f0c169d9fdb809eb5711768d53be2d17de9dd76295ca80b2450e1980fee286d84ecff8eb1668472a8d536771e5f44ae3b98dc35ba962fc56863e7fd2f2a3752d
 DIST serde_derive-1.0.136.crate 54776 BLAKE2B 687524001bf61c42266d91a7263661ab80aa9556e570975a39bdf56a5cb1a2ec3ad1baf22dff586c7ad4ff66d035555d0a9d4a431c49402dcad6d79d0ef40cee SHA512 92c99455a5a9ac0fe45eb6ff1ad3ea55db860031fb912ace3755d1d2aad0dd880b2d83add4d41872823bd60557ebe1cb36e898bf0ac975b1093caa9819f7c289
+DIST serde_derive-1.0.174.crate 385877 BLAKE2B 141438c3e21ad651e1e34830120c3f2cd0ea7aac6ccbf3b0a88d8c674b958fef9992a9a90b0e036313188fb074e598a2f185ea9db7dcee467d78db9a2fad44e9 SHA512 afd5d160a1b00bd6e98e07188bbec0930a771570517263afe4a7794df6e589ee1dd8af652ed0ab8a8a77f3b64db7f0170c0a4c67f8c7fe211cb77f9a194817e6
+DIST serde_regex-1.1.0.crate 9710 BLAKE2B 0b3584da26eead014c360e963a1d6aa880674a3c9f8efe971cb12da1e2786ccc37a6a50c8c0b1e4bfe9f8074c1845133de8a0f17b3989b54a075f35fa2fc5268 SHA512 7e366be1997859cde665ee536f4c67d6d29e65e1ad3aaa438dd5d5b764263dbe8b0981d7b76bfa2e90961aa6b94dea6a9140e404069ffaf862da056dde57b612
+DIST serde_spanned-0.6.3.crate 7737 BLAKE2B 957352cb24d5cb1173613a48de7e411d768c61a73dd57572530490be0569e133e7c8eb62ec34e542a17010871562a53e37b296386c54dee8ea61d175dd0b05e3 SHA512 5c4f4a861dba2af7f0ad0c585859f845a7ea6c0a8ff8b63985503c9da27f313ba15b904b0aa56a59043c44a87c75fd317b23006a3804d332b84855189e436610
 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 spotify-adblock-1.0.3.tar.gz 32844 BLAKE2B 37773e04cc77c049bbf3c40a0d9e6e6733c2038b3a4f3bbad97c18f4ce9163631699aff8c0e71efd96ea833eb8b40d195553e71f3c7bf8d7cc73eba56578de78 SHA512 624abf8bf6ecf35fbc276e97f9d0167ebba6fdc2c10227ea090ac20a9c21f46fd65a972aba000f5bd97bde746df5fedc0583fc8b5e4d41a77ce8b9d035964770
 DIST syn-1.0.86.crate 235126 BLAKE2B 89973130279128cab73443ee36c8e0d7bc83364ef91d0f086a40c136e26e612428b867a54a1da8ee5b1778cedeafc7403180bd84df2c21017ad5bb76bc0c9138 SHA512 1462dc9fbf0a89b023421064908c7e349ede23c986eddcb8d260559b5e1346fe0206c88e5317eea7e8293ea58b94466d486fae3aa57a1dee4220f5431b1fb68a
+DIST syn-2.0.27.crate 241653 BLAKE2B dba085a8ffccc01a0ccacb7a2fbee328bc691cf0b8ef5c934f76ddf54d1e079fa79a6dfa02a69a8f3b72c456875a81d87a15add807d94dc01d434e8c162b5d6e SHA512 e3bb266edf16f2febecb903071344419ec4fc090d9f62de1cfb41fb15d46943efcd191b51d3284d3c38455b8fe6e6c8b8e614343810689257ee4b4bb72abde54
 DIST toml-0.5.8.crate 54219 BLAKE2B b4f9f563e5ba4574d4f2dcbe244378a2e1e984bd9fbbbfa5a06bdd5f8b8d677394f0db9cb8696f6936c80a52caa86b1b3ebaf3885c53855af23f03d318785f19 SHA512 26b7901ee4b7cbb4cf8ea57d365a99ed05e0a76e73452e47d4bcb3b4eeb7bbd393c13eea9ea33dc13622942efcda39acdba9425b74b40c920c9f19673a1f2082
+DIST toml-0.7.6.crate 49220 BLAKE2B 805bd9928fc3d05a1658188d4b858df62347cc93bf870a3846b9509c1dbdfc4123bc29a26019efa04e98699239ca7bb95ce63c802badffd86246266cebc65d7a SHA512 e51c49af63e37d1682892b84e74d48e171591c36dccb26e26bbf136385181ea9cbb94809b8900eae82b15e1cb79f844ae1cf0b00f0a6ac3afd5ebd02d554f9bc
+DIST toml_datetime-0.6.3.crate 10770 BLAKE2B fc1754eb7c3a7073cfe41e5ccba152ff09891a8de8afe38991cf2dd7b93aacf07f1075fd24d7aa643238cf31e3df1fc3162335b2c475438178b4a4d8a2055471 SHA512 cabf5dce24ed3bf4674008743180a21e86286d999cdce79f934de48b1e1fe0f16a7f3d2498bf059acdb823b51bc01986faf47139f8100ae272e6bd19095cfa9b
+DIST toml_edit-0.19.14.crate 94875 BLAKE2B d11328357d66d4139ac23766ddc84985eb9e2ab7eb5ac5b3639be2098938596cb69c28150589f24bd404c10ec2fe06e0adc207b787c3dc869472eff15ec0fa2e SHA512 87f432e0f6870c2ff1476fd1dbafae8cfd736ab39436c1c60627d60511a65fece8c07bd9834d68a080f6969a256430acb20381f210b775c281764b183ec57411
+DIST unicode-ident-1.0.11.crate 42067 BLAKE2B 3c7cac3d2bf1cbf1cf04716a482f130123e8e6940f7a90a17bc62fca44ac0069688165538f5329b95a72f735b594cfb85e3250738393ffd1b53cb0cd95077d89 SHA512 9682bbee339fb987c9d0bb6a54406d37b28b5c3587372d406402e4341900fec97e3234cd03b5c98b90b6378fd533dc452cac3de90d3ade19c4b09657e4abf6df
 DIST unicode-xid-0.2.2.crate 14955 BLAKE2B 6c6da49ac08dbd8b3248272224d6bff96b9cd1f36029b1937a58a0b929c3a48326053305ed49e73edd70f572f5abbc4817cedc899c69e3457805ad056669f6af SHA512 92ffd0dd34e3ca235ecf110b38c447d3ec1faa23d76c112457f28d432f92fa6b5f428bc5e1bfd278f361f55426dd96e19ecb0d3eff6cf250892f069c52bd89a8
+DIST winnow-0.5.0.crate 142099 BLAKE2B d801e056b583588aec1c0f2c7e056d972a0e0c1b2857209cf87655fb92601a8e0ba0766b877763c1ca6b2a7c282257b617d548249337de93f6cf3e26597f5926 SHA512 f14c01b5e7dd6ea2061496224e00d88a842b39ed7af5e43279f69bd85d1a964d8e64ec05801c74acad58c32ba818a4110faf3cfe7c98d4ad20d1160d25f8e519

diff --git a/media-sound/spotify-adblock/spotify-adblock-1.0.3.ebuild b/media-sound/spotify-adblock/spotify-adblock-1.0.3.ebuild
new file mode 100644
index 0000000000..debfdfc589
--- /dev/null
+++ b/media-sound/spotify-adblock/spotify-adblock-1.0.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+	aho-corasick@1.0.2
+	equivalent@1.0.1
+	hashbrown@0.14.0
+	indexmap@2.0.0
+	lazy_static@1.4.0
+	libc@0.2.147
+	memchr@2.5.0
+	proc-macro2@1.0.66
+	quote@1.0.31
+	regex@1.9.1
+	regex-automata@0.3.3
+	regex-syntax@0.7.4
+	serde@1.0.174
+	serde_derive@1.0.174
+	serde_regex@1.1.0
+	serde_spanned@0.6.3
+	syn@2.0.27
+	toml@0.7.6
+	toml_datetime@0.6.3
+	toml_edit@0.19.14
+	unicode-ident@1.0.11
+	winnow@0.5.0
+"
+
+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 MIT Unicode-DFS-2016"
+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/$(usex debug debug release)/libspotifyadblock.so ${PN}.so
+
+	# config
+	insinto "/etc/${PN}"
+	doins config.toml
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-09-14  7:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-15  9:10 [gentoo-commits] repo/proj/guru:dev commit in: media-sound/spotify-adblock/ Nicola Smaniotto
  -- strict thread matches above, loose matches on Subject: below --
2023-09-14  7:49 Nicola Smaniotto
2022-05-03 17:04 Nicola Smaniotto
2022-02-28 21:11 Nicola Smaniotto
2022-02-27 10:06 Nicola Smaniotto
2022-02-24 14:45 Nicola Smaniotto
2022-02-22 15:58 Nicola Smaniotto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox