From a98a03b54b43acd6647a45eed5cde232a0ea3ffb Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Sun, 12 Jul 2020 04:01:23 +0200 Subject: dev-qt/qt-creator: add USE=qmljs Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Davide Pesavento --- dev-qt/qt-creator/metadata.xml | 15 ++++++++------- dev-qt/qt-creator/qt-creator-9999.ebuild | 8 ++++++-- 2 files changed, 14 insertions(+), 9 deletions(-) (limited to 'dev-qt') diff --git a/dev-qt/qt-creator/metadata.xml b/dev-qt/qt-creator/metadata.xml index de392789cbb8..6e40ad6ef7ff 100644 --- a/dev-qt/qt-creator/metadata.xml +++ b/dev-qt/qt-creator/metadata.xml @@ -12,35 +12,36 @@ Build plugin for Android devices Enable integration with popular unit testing frameworks (QtTest, Google Test, Boost.Test) - Enable autotools project manager plugin + Build plugin for autotools-based projects Build plugin for bare metal devices Add support for GNU Bazaar version control system (requires manual installation of Bazaar client) Build the beautifier plugin (supports astyle, clang-format, and uncrustify) Build plugin for Boot2Qt devices Build clang-based plugins (code model, formatting, refactoring, static analysis) Add support for IBM ClearCase version control system (requires manual installation of ClearCase client) - Enable cmake project manager plugin + Build plugin for CMake-based projects Enable integration with dev-util/cppcheck Build the Chrome Trace Format visualizer plugin Enable designer for QtWidgets-based UIs - Enable GLSL editor + Build the GLSL editor plugin Enable the integrated documentation viewer Build plugin for Apple iOS devices Add support for the Language Server Protocol (LSP) Build plugin for MCU devices Add support for dev-vcs/mercurial version control system - Enable graphical model editor + Build the graphical model editor plugin Build plugin for Nim language support Add support for Perforce version control system (requires manual installation of Perforce client) Build the Linux Perf-based profiler plugin Build plugin for Python language support - Enable QBS project manager plugin + Build plugin for QBS-based projects Enable designer for QML/QtQuick-based UIs + Build the QML/JavaScript editor plugin Build the QML profiler plugin Build plugin for QNX devices Add support for deployment and execution on a remote Linux host - Enable graphical SCXML editor - Build serial terminal plugin + Build the graphical SCXML editor plugin + Build the serial terminal plugin Enable integration with sys-apps/the_silver_searcher Add support for retrieving application output from journald Enable integration with dev-util/valgrind diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild index 16ef16cdafb0..9ae9556b4db1 100644 --- a/dev-qt/qt-creator/qt-creator-9999.ebuild +++ b/dev-qt/qt-creator/qt-creator-9999.ebuild @@ -30,8 +30,8 @@ QTC_PLUGINS=(android +autotest autotools:autotoolsprojectmanager baremetal bazaa '+clang:clangcodemodel|clangformat|clangpchmanager|clangrefactoring|clangtools' clearcase cmake:cmakeprojectmanager cppcheck ctfvisualizer cvs +designer git glsl:glsleditor +help lsp:languageclient mcu:mcusupport mercurial modeling:modeleditor nim perforce perfprofiler python - qbs:qbsprojectmanager +qmldesigner qmlprofiler qnx remotelinux scxml:scxmleditor serialterminal - silversearcher subversion valgrind webassembly) + qbs:qbsprojectmanager +qmldesigner +qmljs:qmljseditor qmlprofiler qnx remotelinux scxml:scxmleditor + serialterminal silversearcher subversion valgrind webassembly) IUSE="doc systemd test webengine ${QTC_PLUGINS[@]%:*}" RESTRICT="!test? ( test )" REQUIRED_USE=" @@ -39,6 +39,7 @@ REQUIRED_USE=" clang? ( test? ( qbs ) ) mcu? ( cmake ) python? ( lsp ) + qmldesigner? ( qmljs ) qnx? ( remotelinux ) " @@ -165,6 +166,9 @@ src_prepare() { sed -i -e '/qml2puppet/d' src/tools/tools.pro || die sed -i -e '/qmldesigner/d' tests/auto/qml/qml.pro || die fi + if ! use qmljs; then + sed -i -e '/qmleditorwidgets/d' src/libs/libs.pro || die + fi if ! use valgrind; then sed -i -e '/valgrindfake/d' src/tools/tools.pro || die sed -i -e '/valgrind/d' tests/auto/auto.pro || die -- cgit v1.2.3-65-gdbad