1 |
commit: 429bd3438325d6959ea0baf0afe71e50f3b15311 |
2 |
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 28 21:10:39 2022 +0000 |
4 |
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Feb 28 21:11:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=429bd343 |
7 |
|
8 |
media-sound/spotify-adblock: fix QA_FLAGS_IGNORED |
9 |
|
10 |
The executable is fine, the .so file is the one that doesn't respect the |
11 |
flags. Also, this needs get_libdir, so the variable is now assigned in |
12 |
src_prepare. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/834334 |
15 |
Closes: https://bugs.gentoo.org/834335 |
16 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
17 |
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com> |
18 |
|
19 |
media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild | 6 +++++- |
20 |
1 file changed, 5 insertions(+), 1 deletion(-) |
21 |
|
22 |
diff --git a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild |
23 |
index 40891426c..6a30973e9 100644 |
24 |
--- a/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild |
25 |
+++ b/media-sound/spotify-adblock/spotify-adblock-1.0.1.ebuild |
26 |
@@ -41,7 +41,11 @@ RDEPEND=" |
27 |
media-sound/spotify |
28 |
" |
29 |
|
30 |
-QA_FLAGS_IGNORED="usr/bin/${PN}" |
31 |
+src_prepare(){ |
32 |
+ default |
33 |
+ # assigned here to use get_libdir |
34 |
+ QA_FLAGS_IGNORED="usr/$(get_libdir)/${PN}.so" |
35 |
+} |
36 |
|
37 |
src_install(){ |
38 |
# executable |