commit:     012a436299678a705b33579e21b800f3a18e5360
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Fri Aug  5 17:56:46 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 23:10:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=012a4362

dev-libs/capstone: disable pkg-config QA checks for release candidates only

see https://github.com/gentoo/gentoo/pull/26511#issuecomment-1206157400

Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/capstone/capstone-5.0_rc2-r1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild 
b/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild
index 174d710dac2a..e0bb01977da0 100644
--- a/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild
+++ b/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild
@@ -31,8 +31,10 @@ PATCHES=(
        "${FILESDIR}"/${P}-pkgconfig.patch
 )
 
-# Upstream doesn't flag release candidates (bug 858350)
-QA_PKGCONFIG_VERSION=""
+if [[ ${PV} == *_rc* ]]; then
+       # Upstream doesn't flag release candidates (bug 858350)
+       QA_PKGCONFIG_VERSION=""
+fi
 
 wrap_python() {
        local phase=$1

Reply via email to