From: Jimi Huotari Date: Wed, 25 Sep 2019 12:23:30 +0000 (+0300) Subject: dev-qt/qt-creator: add plugins/fix build for 9999 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2007682cfdcafcfcdb151d8defb39a226048b6e2;p=gentoo.git dev-qt/qt-creator: add plugins/fix build for 9999 New plugins Boot2Qt [1] and Chrome Trace Format Visualizer [2]. 1. https://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?id=5942b824 2. https://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?id=7fec4182 Reported-by: Manuel Nickschas Closes: https://github.com/gentoo/gentoo/pull/13036 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Jimi Huotari Signed-off-by: Davide Pesavento --- diff --git a/dev-qt/qt-creator/metadata.xml b/dev-qt/qt-creator/metadata.xml index 75d3a6852989..457cf40adb4a 100644 --- a/dev-qt/qt-creator/metadata.xml +++ b/dev-qt/qt-creator/metadata.xml @@ -16,10 +16,12 @@ Build plugin for bare metal devices Add support for dev-vcs/bzr version control system 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 Enable integration with dev-util/cppcheck + Build the Chrome Trace Format Visualizer plugin Enable designer for QtWidgets-based UIs Enable GLSL source code editor Build the help plugin diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild index 87ff878b2085..6d0e795605f6 100644 --- a/dev-qt/qt-creator/qt-creator-9999.ebuild +++ b/dev-qt/qt-creator/qt-creator-9999.ebuild @@ -25,14 +25,15 @@ fi # TODO: unbundle sqlite and KSyntaxHighlighting -QTC_PLUGINS=(android +autotest baremetal bazaar beautifier +QTC_PLUGINS=(android +autotest baremetal bazaar beautifier boot2qt '+clang:clangcodemodel|clangformat|clangpchmanager|clangrefactoring|clangtools' clearcase - cmake:cmakeprojectmanager cppcheck cvs +designer git glsl:glsleditor +help ios lsp:languageclient - mercurial modeling:modeleditor nim perforce perfprofiler python:pythoneditor qbs:qbsprojectmanager - +qmldesigner qmlprofiler qnx remotelinux scxml:scxmleditor serialterminal silversearcher subversion - valgrind winrt) + cmake:cmakeprojectmanager cppcheck ctfvisualizer cvs +designer git glsl:glsleditor +help ios + lsp:languageclient mercurial modeling:modeleditor nim perforce perfprofiler python:pythoneditor + qbs:qbsprojectmanager +qmldesigner qmlprofiler qnx remotelinux scxml:scxmleditor serialterminal + silversearcher subversion valgrind winrt) IUSE="doc systemd test +webengine ${QTC_PLUGINS[@]%:*}" REQUIRED_USE=" + boot2qt? ( remotelinux ) clang? ( test? ( qbs ) ) qnx? ( remotelinux ) " @@ -128,7 +129,7 @@ src_prepare() { fi if ! use perfprofiler; then rm -rf src/tools/perfparser || die - if ! use qmlprofiler; then + if ! use ctfvisualizer && ! use qmlprofiler; then sed -i -e '/tracing/d' src/libs/libs.pro tests/auto/auto.pro || die fi fi