commit:     429bd3438325d6959ea0baf0afe71e50f3b15311
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon Feb 28 21:10:39 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
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

Reply via email to