mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-qt/qt-creator: yaml-cpp is required only with USE=clang
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Davide Pesavento <pesa@gentoo.org>
This commit is contained in:
@@ -51,7 +51,6 @@ BDEPEND="
|
||||
doc? ( >=dev-qt/qdoc-${QT_PV} )
|
||||
"
|
||||
CDEPEND="
|
||||
>=dev-cpp/yaml-cpp-0.6.2:=
|
||||
>=dev-qt/qtconcurrent-${QT_PV}
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
>=dev-qt/qtdeclarative-${QT_PV}[widgets]
|
||||
@@ -67,6 +66,7 @@ CDEPEND="
|
||||
>=dev-qt/qtxml-${QT_PV}
|
||||
kde-frameworks/syntax-highlighting:5
|
||||
clang? (
|
||||
>=dev-cpp/yaml-cpp-0.6.2:=
|
||||
|| (
|
||||
( sys-devel/clang:10
|
||||
dev-libs/libclangformat-ide:10 )
|
||||
@@ -142,7 +142,7 @@ src_prepare() {
|
||||
|
||||
# avoid building unused support libraries and tools
|
||||
if ! use clang; then
|
||||
sed -i -e '/clangsupport/d' src/libs/libs.pro || die
|
||||
sed -i -e '/clangsupport\|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
|
||||
|
||||
Reference in New Issue
Block a user