commit:     c18aa21ee0dc97ce628817088a2641eaa89f47a8
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 27 19:56:04 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Dec 27 19:56:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c18aa21e

media-video/popcorntime-bin: do not install files for other arches

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 media-video/popcorntime-bin/popcorntime-bin-0.4.6.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/media-video/popcorntime-bin/popcorntime-bin-0.4.6.ebuild 
b/media-video/popcorntime-bin/popcorntime-bin-0.4.6.ebuild
index a2ae70050632..e806a3f19921 100644
--- a/media-video/popcorntime-bin/popcorntime-bin-0.4.6.ebuild
+++ b/media-video/popcorntime-bin/popcorntime-bin-0.4.6.ebuild
@@ -48,6 +48,10 @@ QA_PREBUILT="/opt/Popcorn-Time/*"
 S="${WORKDIR}"
 
 src_install() {
+       # remove arm/arm64 files, not needed anyway, avoids QA complaint
+       rm opt/Popcorn-Time/node_modules/bufferutil/prebuilds/linux-arm{,64}/* 
|| die
+       rm 
opt/Popcorn-Time/node_modules/utf-8-validate/prebuilds/linux-arm{,64}/* || die
+
        mv "${S}"/* "${ED}" || die
        dosym ../Popcorn-Time/Popcorn-Time /opt/bin/popcorntime
 }

Reply via email to