1 |
commit: 084d9c52333ab34d5d79895ddc783d0180799242 |
2 |
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Feb 24 14:44:01 2022 +0000 |
4 |
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Feb 24 14:45:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=084d9c52 |
7 |
|
8 |
media-sound/spotify-adblock: create the binary in T |
9 |
|
10 |
Closes: https://bugs.gentoo.org/833956 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com> |
13 |
|
14 |
media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild | 4 ++-- |
15 |
1 file changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild |
18 |
index 1cefd04ee..11d03833e 100644 |
19 |
--- a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild |
20 |
+++ b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild |
21 |
@@ -44,13 +44,13 @@ RDEPEND=" |
22 |
src_install(){ |
23 |
# executable |
24 |
SPOTIFY_HOME=/opt/spotify/spotify-client |
25 |
- cat <<-EOF >"${ED}"/usr/bin/spotify-adblock || die |
26 |
+ cat <<-EOF > "${T}/spotify-adblock" || die |
27 |
#! /bin/sh |
28 |
LD_LIBRARY_PATH="${SPOTIFY_HOME}" \\ |
29 |
LD_PRELOAD=/usr/$(get_libdir)/spotify-adblock.so \\ |
30 |
exec ${SPOTIFY_HOME}/spotify "\$@" |
31 |
EOF |
32 |
- fperms +x /usr/bin/spotify-adblock |
33 |
+ dobin "${T}/spotify-adblock" |
34 |
|
35 |
# library |
36 |
newlib.so target/release/libspotifyadblock.so ${PN}.so |