Skip to content

Commit

Permalink
dev-qt/qt-creator: skip building two more support libs if not used
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Davide Pesavento <[email protected]>
  • Loading branch information
Pesa committed Jul 11, 2020
1 parent 71df5fd commit 6cf0f63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-qt/qt-creator/qt-creator-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6cf0f63

Please sign in to comment.