dev-embedded/arduino: remove RESTRICT="bincheck"
authorVirgil Dupras <vdupras@gentoo.org>
Mon, 23 Jul 2018 19:52:07 +0000 (15:52 -0400)
committerVirgil Dupras <vdupras@gentoo.org>
Mon, 23 Jul 2018 19:52:07 +0000 (15:52 -0400)
Our QA warnings come from a couple of prebuilt binaries in some
libraries. Use QA_PREBUILT instead which is a much cleaner approach.

Closes: https://bugs.gentoo.org/542204
Package-Manager: Portage-2.3.43, Repoman-2.3.10

dev-embedded/arduino/arduino-1.8.5-r2.ebuild

index 50b52632bde4ec9a74bf3ed8e4930193f8974780..d20fd3fcd252896666d1d2fc930b1a64e0072358 100644 (file)
@@ -57,7 +57,9 @@ KEYWORDS="~amd64 ~x86"
 # scanelf bark. It's also why we need a separate package for arduino-listserialportsc because if
 # we install it in the context of this package, we will get QA notices telling us we're doing a
 # bad thing.
-RESTRICT="strip binchecks"
+RESTRICT="strip"
+QA_PREBUILT="usr/share/arduino/hardware/arduino/avr/firmwares/*
+       usr/share/arduino/libraries/WiFi/extras/*"
 IUSE="doc"
 
 CDEPEND="dev-embedded/arduino-builder"