summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2022-10-30 20:48:35 -0400
committerSam James <sam@gentoo.org>2022-11-05 06:32:43 +0000
commit166a265815ff2e354e8d83e4fb6b076f058774bc (patch)
treeafecf026c07bb4c873b0854fabef274426af4521 /dev-qt/qt-creator
parentdev-python/sip: drop 6.7.3 (diff)
downloadgentoo-166a265815ff2e354e8d83e4fb6b076f058774bc.tar.gz
gentoo-166a265815ff2e354e8d83e4fb6b076f058774bc.tar.bz2
gentoo-166a265815ff2e354e8d83e4fb6b076f058774bc.zip
dev-qt/qt-creator: fix pkgconfig bdep
virtual/pkgconfig should be included as a build dependency if building without qtwebengine support. Also, such a dep should be explicitly searched for by cmake with the 'find_package' command. Closes: https://bugs.gentoo.org/878753 Signed-off-by: Peter Levine <plevine457@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-qt/qt-creator')
-rw-r--r--dev-qt/qt-creator/qt-creator-8.0.1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-qt/qt-creator/qt-creator-8.0.1.ebuild b/dev-qt/qt-creator/qt-creator-8.0.1.ebuild
index f03c7c4f74e0..e110647e5230 100644
--- a/dev-qt/qt-creator/qt-creator-8.0.1.ebuild
+++ b/dev-qt/qt-creator/qt-creator-8.0.1.ebuild
@@ -71,6 +71,7 @@ QT_PV="5.15.2:5"
BDEPEND="
>=dev-qt/linguist-tools-${QT_PV}
doc? ( >=dev-qt/qdoc-${QT_PV} )
+ help? ( !webengine? ( virtual/pkgconfig ) )
"
CDEPEND="
clang? (
@@ -213,7 +214,8 @@ src_prepare() {
if use help && ! use webengine; then
# unbundled gumbo doesn't use cmake
- local gumbo_dep='pkg_check_modules(gumbo REQUIRED IMPORTED_TARGET gumbo)\n'
+ local gumbo_dep='find_package(PkgConfig REQUIRED)\n'
+ gumbo_dep+='pkg_check_modules(gumbo REQUIRED IMPORTED_TARGET gumbo)\n'
sed -i -e '/^\s*gumbo/s|gumbo|PkgConfig::gumbo|' \
-e "/^find_package(litehtml/s|^|${gumbo_dep}|" \
src/libs/qlitehtml/src/CMakeLists.txt || die