summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2020-07-12 01:15:51 +0200
committerDavide Pesavento <pesa@gentoo.org>2020-07-12 01:16:24 +0200
commit6cf0f636da45c338d767443d0184825f09f7d5f7 (patch)
treef21dbe65e7533d6beb277a5fab23ee72dd7c36a5 /dev-qt/qt-creator
parentdev-qt/qt-creator: yaml-cpp is required only with USE=clang (diff)
downloadgentoo-6cf0f636da45c338d767443d0184825f09f7d5f7.tar.gz
gentoo-6cf0f636da45c338d767443d0184825f09f7d5f7.tar.bz2
gentoo-6cf0f636da45c338d767443d0184825f09f7d5f7.zip
dev-qt/qt-creator: skip building two more support libs if not used
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Davide Pesavento <pesa@gentoo.org>
Diffstat (limited to 'dev-qt/qt-creator')
-rw-r--r--dev-qt/qt-creator/qt-creator-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild
index 62d4e47d5e8b..16ef16cdafb0 100644
--- a/dev-qt/qt-creator/qt-creator-9999.ebuild
+++ b/dev-qt/qt-creator/qt-creator-9999.ebuild
@@ -142,7 +142,7 @@ src_prepare() {
# avoid building unused support libraries and tools
if ! use clang; then
- sed -i -e '/clangsupport\|yaml-cpp/d' src/libs/libs.pro || die
+ sed -i -e '/clangsupport\|sqlite\|yaml-cpp/d' src/libs/libs.pro || die
sed -i -e '/clang\(\|pchmanager\|refactoring\)backend/d' src/tools/tools.pro || die
fi
if ! use glsl; then
@@ -161,6 +161,7 @@ src_prepare() {
fi
fi
if ! use qmldesigner; then
+ sed -i -e '/advanceddockingsystem/d' src/libs/libs.pro || die
sed -i -e '/qml2puppet/d' src/tools/tools.pro || die
sed -i -e '/qmldesigner/d' tests/auto/qml/qml.pro || die
fi