summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2019-09-25 15:23:30 +0300
committerDavide Pesavento <pesa@gentoo.org>2019-10-26 21:28:34 +0200
commit2007682cfdcafcfcdb151d8defb39a226048b6e2 (patch)
tree9d36aa7bfbf5aee5912fdd78c300f7f9e16f3188 /dev-qt
parentmedia-video/mpv: Sync live ebuild (diff)
downloadgentoo-2007682cfdcafcfcdb151d8defb39a226048b6e2.tar.gz
gentoo-2007682cfdcafcfcdb151d8defb39a226048b6e2.tar.bz2
gentoo-2007682cfdcafcfcdb151d8defb39a226048b6e2.zip
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 <sputnick@quassel-irc.org> Closes: https://github.com/gentoo/gentoo/pull/13036 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Davide Pesavento <pesa@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qt-creator/metadata.xml2
-rw-r--r--dev-qt/qt-creator/qt-creator-9999.ebuild13
2 files changed, 9 insertions, 6 deletions
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 @@
<flag name="baremetal">Build plugin for bare metal devices</flag>
<flag name="bazaar">Add support for <pkg>dev-vcs/bzr</pkg> version control system</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="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 source code editor</flag>
<flag name="help">Build the help plugin</flag>
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