Skip to content

Commit

Permalink
dev-qt/qt-creator: add USE=qmljs
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 12, 2020
1 parent 2e4f983 commit a98a03b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
15 changes: 8 additions & 7 deletions dev-qt/qt-creator/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,36 @@
<use>
<flag name="android">Build plugin for Android devices</flag>
<flag name="autotest">Enable integration with popular unit testing frameworks (QtTest, Google Test, Boost.Test)</flag>
<flag name="autotools">Enable autotools project manager plugin</flag>
<flag name="autotools">Build plugin for autotools-based projects</flag>
<flag name="baremetal">Build plugin for bare metal devices</flag>
<flag name="bazaar">Add support for GNU Bazaar version control system (requires manual installation of Bazaar client)</flag>
<flag name="beautifier">Build the beautifier plugin (supports astyle, clang-format, and uncrustify)</flag>
<flag name="boot2qt">Build plugin for Boot2Qt devices</flag>
<flag name="clang">Build clang-based plugins (code model, formatting, refactoring, static analysis)</flag>
<flag name="clearcase">Add support for IBM ClearCase version control system (requires manual installation of ClearCase client)</flag>
<flag name="cmake">Enable cmake project manager plugin</flag>
<flag name="cmake">Build plugin for CMake-based projects</flag>
<flag name="cppcheck">Enable integration with <pkg>dev-util/cppcheck</pkg></flag>
<flag name="ctfvisualizer">Build the Chrome Trace Format visualizer plugin</flag>
<flag name="designer">Enable designer for QtWidgets-based UIs</flag>
<flag name="glsl">Enable GLSL editor</flag>
<flag name="glsl">Build the GLSL editor plugin</flag>
<flag name="help">Enable the integrated documentation viewer</flag>
<flag name="ios">Build plugin for Apple iOS devices</flag>
<flag name="lsp">Add support for the Language Server Protocol (LSP)</flag>
<flag name="mcu">Build plugin for MCU devices</flag>
<flag name="mercurial">Add support for <pkg>dev-vcs/mercurial</pkg> version control system</flag>
<flag name="modeling">Enable graphical model editor</flag>
<flag name="modeling">Build the graphical model editor plugin</flag>
<flag name="nim">Build plugin for Nim language support</flag>
<flag name="perforce">Add support for Perforce version control system (requires manual installation of Perforce client)</flag>
<flag name="perfprofiler">Build the Linux Perf-based profiler plugin</flag>
<flag name="python">Build plugin for Python language support</flag>
<flag name="qbs">Enable QBS project manager plugin</flag>
<flag name="qbs">Build plugin for QBS-based projects</flag>
<flag name="qmldesigner">Enable designer for QML/QtQuick-based UIs</flag>
<flag name="qmljs">Build the QML/JavaScript editor plugin</flag>
<flag name="qmlprofiler">Build the QML profiler plugin</flag>
<flag name="qnx">Build plugin for QNX devices</flag>
<flag name="remotelinux">Add support for deployment and execution on a remote Linux host</flag>
<flag name="scxml">Enable graphical SCXML editor</flag>
<flag name="serialterminal">Build serial terminal plugin</flag>
<flag name="scxml">Build the graphical SCXML editor plugin</flag>
<flag name="serialterminal">Build the serial terminal plugin</flag>
<flag name="silversearcher">Enable integration with <pkg>sys-apps/the_silver_searcher</pkg></flag>
<flag name="systemd">Add support for retrieving application output from journald</flag>
<flag name="valgrind">Enable integration with <pkg>dev-util/valgrind</pkg></flag>
Expand Down
8 changes: 6 additions & 2 deletions dev-qt/qt-creator/qt-creator-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ 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="
boot2qt? ( remotelinux )
clang? ( test? ( qbs ) )
mcu? ( cmake )
python? ( lsp )
qmldesigner? ( qmljs )
qnx? ( remotelinux )
"

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a98a03b

Please sign in to comment.