media-video/ffmpeg: Skip QA_FLAGS_IGNORED for non-separate libffmpeg
authorJames Le Cuirot <chewi@gentoo.org>
Fri, 6 Sep 2019 22:25:18 +0000 (23:25 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Fri, 6 Sep 2019 22:25:18 +0000 (23:25 +0100)
When not built separately, libffmpeg has no code of its own so this QA
check raises a false positive.

Closes: https://bugs.gentoo.org/692566
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
media-video/ffmpeg/ffmpeg-4.2.ebuild
media-video/ffmpeg/ffmpeg-9999.ebuild

index ffac01d6fe812fd59e832bdd6743da116a81b8e3..1cc9bd89f36a18a6963dcad04ac93d9ff1db9f0e 100644 (file)
@@ -525,6 +525,10 @@ multilib_src_install() {
                                popd >/dev/null || die
                        else
                                emake V=1 DESTDIR="${D}" install-libffmpeg
+
+                               # When not built separately, libffmpeg has no code of
+                               # its own so this QA check raises a false positive.
+                               QA_FLAGS_IGNORED+=" usr/$(get_libdir)/chromium/.*"
                        fi
                fi
        fi
index 5df73abbc9224e29e28f07481963c42ebdfea18f..b29918ea4ec4b3c61ef26f827c9368562d5e405d 100644 (file)
@@ -525,6 +525,10 @@ multilib_src_install() {
                                popd >/dev/null || die
                        else
                                emake V=1 DESTDIR="${D}" install-libffmpeg
+
+                               # When not built separately, libffmpeg has no code of
+                               # its own so this QA check raises a false positive.
+                               QA_FLAGS_IGNORED+=" usr/$(get_libdir)/chromium/.*"
                        fi
                fi
        fi