summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qt-creator')
-rw-r--r--dev-qt/qt-creator/Manifest1
-rw-r--r--dev-qt/qt-creator/metadata.xml37
-rw-r--r--dev-qt/qt-creator/qt-creator-8.0.2.ebuild446
3 files changed, 0 insertions, 484 deletions
diff --git a/dev-qt/qt-creator/Manifest b/dev-qt/qt-creator/Manifest
index 748984c50c0c..895a5d5946de 100644
--- a/dev-qt/qt-creator/Manifest
+++ b/dev-qt/qt-creator/Manifest
@@ -1,2 +1 @@
DIST qt-creator-opensource-src-11.0.2.tar.xz 49828532 BLAKE2B 6028b71e1a7bf5ab953caa6223a2694e625449ab9e0eaa6e0dd8b34c0d64a9a5cea7b06d4aa98015d91defad04bc945db8528f87f5bddc70ba185ca32bb7ee8b SHA512 db123274e0652982f33db60b8f81610f0787357cdc7318ea2bbe105343ff905462c38e29a68f864c48bda51fee6f17859074c172f77dd2379ecc2e7028f5fcd5
-DIST qt-creator-opensource-src-8.0.2.tar.xz 48874868 BLAKE2B 53f491441ba28f9420c76cd4adfdcb7c7ef432d756fc5bf64a507c2cd1022b35700418a7b35b7119d97f9947b5dac2a8acc56b600c3e75001f80565f1619c072 SHA512 59ff62e6592fd33ff74aeab13dd33f3817ba132fb98f8a87ea818e1e52b4af0dc292e362085733665f0867d67ff867794755b2f02067897a9fb1c14023c6fb23
diff --git a/dev-qt/qt-creator/metadata.xml b/dev-qt/qt-creator/metadata.xml
index 8a364df28048..fcd44daa8386 100644
--- a/dev-qt/qt-creator/metadata.xml
+++ b/dev-qt/qt-creator/metadata.xml
@@ -10,49 +10,12 @@
<name>Gentoo Qt Project</name>
</maintainer>
<use>
- <flag name="android">Build plugin for Android devices</flag>
- <flag name="autotest">Enable integration with popular unit testing frameworks (QtTest, GoogleTest, Boost.Test, Catch2)</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 for C/C++ development (code model, formatting, static analysis)</flag>
- <flag name="clearcase">Add support for IBM ClearCase version control system (requires manual installation of ClearCase client)</flag>
- <flag name="cmake">Build plugin for CMake-based projects</flag>
- <flag name="coco">Build plugin to support Coco code coverage tool</flag>
- <flag name="conan">Build plugin to integrate with the Conan package manager</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="docker">Build plugin for Docker support</flag>
- <flag name="glsl">Build the GLSL editor plugin</flag>
<flag name="help">Enable the integrated <pkg>dev-qt/qt-docs</pkg> viewer (also needed for examples)</flag>
- <flag name="imageviewer">Build plugin to open and view image files</flag>
- <flag name="incredibuild">Enable integration with Incredibuild</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="meson">Build plugin for Meson-based projects</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">Build plugin for Qbs-based projects</flag>
- <flag name="qmake">Build plugin for qmake-based projects</flag>
- <flag name="qml">Build plugins for QML-based development (designer, editor, project manager)</flag>
- <flag name="qmlprofiler">Build the QML profiler plugin</flag>
- <flag name="qnx">Build plugin for QNX devices</flag>
- <flag name="remotelinux">Build plugin for deployment and execution on a remote Linux host</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="qmldesigner">Build QmlDesigner and related plugins (Insight, StudioWelcome)</flag>
<flag name="tracing">Build plugins requiring tracing capabilities (CtfVisualizer, PerfProfiler, QmlProfiler)</flag>
- <flag name="valgrind">Enable integration with <pkg>dev-util/valgrind</pkg></flag>
- <flag name="webassembly">Build WebAssembly plugin</flag>
<flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> with the help USE rather than bundled litehtml</flag>
</use>
<upstream>
diff --git a/dev-qt/qt-creator/qt-creator-8.0.2.ebuild b/dev-qt/qt-creator/qt-creator-8.0.2.ebuild
deleted file mode 100644
index 5c3775b33104..000000000000
--- a/dev-qt/qt-creator/qt-creator-8.0.2.ebuild
+++ /dev/null
@@ -1,446 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-LLVM_MAX_SLOT=14
-PLOCALES="cs da de fr hr ja pl ru sl uk zh-CN zh-TW"
-
-inherit cmake llvm optfeature virtualx xdg
-
-DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt"
-HOMEPAGE="https://doc.qt.io/qtcreator/"
-
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://code.qt.io/${PN}/${PN}.git"
- EGIT_SUBMODULES=(
- perfparser
- qtscript # Need the dev branch
- src/libs/qlitehtml
- src/libs/qlitehtml/src/3rdparty/litehtml
- )
-else
- MY_PV=${PV/_/-}
- MY_P=${PN}-opensource-src-${MY_PV}
- [[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development
- SRC_URI="https://download.qt.io/${MY_REL}_releases/${PN/-}/$(ver_cut 1-2)/${MY_PV}/${MY_P}.tar.xz"
- S="${WORKDIR}"/${MY_P}
- KEYWORDS="~amd64 ~arm ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-
-QTCREATOR_PLUGINS=(
- # Misc
- +autotest beautifier coco conan cppcheck ctfvisualizer +designer docker
- +help imageviewer modeling perfprofiler qmlprofiler scxml serialterminal
- silversearcher valgrind
-
- # Buildsystems
- autotools +cmake incredibuild meson qbs +qmake
-
- # Languages
- glsl +lsp nim python
-
- # Platforms
- android baremetal boot2qt mcu qnx remotelinux webassembly
-
- # VCS
- bazaar clearcase cvs +git mercurial perforce subversion
-)
-
-IUSE="+clang debug doc +qml systemd test wayland webengine
- ${QTCREATOR_PLUGINS[@]}"
-
-REQUIRED_USE="
- android? ( lsp )
- boot2qt? ( remotelinux )
- clang? ( lsp )
- coco? ( lsp )
- mcu? ( baremetal cmake )
- python? ( lsp )
- qml? ( qmake )
- qnx? ( remotelinux )
- test? ( qbs qmake )
-"
-
-# minimum Qt version required
-QT_PV="5.15.2:5"
-
-BDEPEND="
- >=dev-qt/linguist-tools-${QT_PV}
- doc? ( >=dev-qt/qdoc-${QT_PV} )
- help? ( !webengine? ( virtual/pkgconfig ) )
-"
-CDEPEND="
- clang? (
- >=dev-cpp/yaml-cpp-0.6.2:=
- sys-devel/clang:14=
- )
- >=dev-qt/qtconcurrent-${QT_PV}
- >=dev-qt/qtcore-${QT_PV}
- >=dev-qt/qtdeclarative-${QT_PV}[widgets]
- >=dev-qt/qtgui-${QT_PV}
- >=dev-qt/qtnetwork-${QT_PV}[ssl]
- >=dev-qt/qtprintsupport-${QT_PV}
- >=dev-qt/qtquickcontrols-${QT_PV}
- >=dev-qt/qtsql-${QT_PV}[sqlite]
- >=dev-qt/qtwidgets-${QT_PV}
- >=dev-qt/qtxml-${QT_PV}
- >=kde-frameworks/syntax-highlighting-5.87:5
-
- designer? ( >=dev-qt/designer-${QT_PV} )
- help? (
- >=dev-qt/qthelp-${QT_PV}
- webengine? ( >=dev-qt/qtwebengine-${QT_PV}[widgets] )
- !webengine? ( dev-libs/gumbo )
- )
- imageviewer? ( >=dev-qt/qtsvg-${QT_PV} )
- perfprofiler? (
- app-arch/zstd
- dev-libs/elfutils
- )
- serialterminal? ( >=dev-qt/qtserialport-${QT_PV} )
- systemd? ( sys-apps/systemd:= )
- test? ( mcu? ( dev-cpp/gtest:= ) )
-"
-DEPEND="
- ${CDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/eigen
- dev-cpp/gtest
- dev-libs/boost
- >=dev-qt/qttest-${QT_PV}
- )
-"
-RDEPEND="
- ${CDEPEND}
- qml? ( >=dev-qt/qtquicktimeline-${QT_PV} )
- wayland? ( >=dev-qt/qtgui-${QT_PV}[wayland] )
-"
-
-# qt translations must also be installed or qt-creator translations won't be loaded
-for x in ${PLOCALES}; do
- IUSE+=" l10n_${x}"
- RDEPEND+=" l10n_${x}? ( >=dev-qt/qttranslations-${QT_PV} )"
-done
-unset x
-
-# FUNCTION: cmake_use_remove_addsubdirectory
-# USAGE: <flag> <subdir> <files...>
-# DESCRIPTION:
-# <flag> is the name of a flag in IUSE.
-# <subdir> is the name of a directory called with add_subdirectory().
-# <files...> is a list of one or more qmake project files.
-#
-# This function patches <files> to remove add_subdirectory(<subdir>) from cmake
-# when <flag> is disabled, otherwise it does nothing. This can be useful to
-# avoid an automagic dependency when a subdirectory is added in cmake but the
-# corresponding feature USE flag is disabled. Similar to qt_use_disable_config()
-# from /qt5-build.eclass
-cmake_use_remove_addsubdirectory() {
- [[ $# -ge 3 ]] || die "${FUNCNAME}() requires at least three arguments"
- local flag=$1
- local subdir=$2
- shift 2
-
- if ! use "${flag}"; then
- echo "$@" | xargs sed -i -e "/add_subdirectory(${subdir})/d" || die
- fi
-}
-
-llvm_check_deps() {
- has_version -d "sys-devel/clang:${LLVM_SLOT}"
-}
-
-pkg_setup() {
- if use clang; then
- llvm_pkg_setup
- export CLANG_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})"
- fi
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # Remove automagic dep for qt5/qt6
- sed -e "/^find_package(Qt6/,/else()/ s|if (NOT Qt6_FOUND)|if (1)|" \
- -i cmake/FindQt5.cmake || die
-
- # PLUGIN_RECOMMENDS is treated like a hard-dependency
- sed -i -e '/PLUGIN_RECOMMENDS /d' \
- src/plugins/*/CMakeLists.txt || die
-
- cmake_use_remove_addsubdirectory glsl glsl src/libs/CMakeLists.txt
- cmake_use_remove_addsubdirectory lsp languageserverprotocol \
- src/libs/CMakeLists.txt tests/auto/CMakeLists.txt
- cmake_use_remove_addsubdirectory modeling modelinglib \
- src/libs/CMakeLists.txt
- cmake_use_remove_addsubdirectory qml advanceddockingsystem \
- src/libs/CMakeLists.txt
- cmake_use_remove_addsubdirectory clang clangtools \
- src/plugins/CMakeLists.txt
- cmake_use_remove_addsubdirectory test test \
- src/plugins/mcusupport/CMakeLists.txt
-
- # fix translations
- local languages=()
- for lang in ${PLOCALES}; do
- use l10n_${lang} && languages+=( "${lang/-/_}" )
- done
- sed -i -e "s|^set(languages.*|set(languages ${languages[*]})|" \
- share/qtcreator/translations/CMakeLists.txt || die
-
- # remove bundled yaml-cpp
- rm -r src/libs/3rdparty/yaml-cpp || die
-
- # remove bundled qbs
- rm -r src/shared/qbs || die
-
- # qt-creator hardcodes the CLANG_INCLUDE_DIR to the default.
- # However, in sys-devel/clang, the directory changes with respect to
- # -DCLANG_RESOURCE_DIR. We sed in the correct include dir.
- if use clang; then
- local res_dir="$(${CLANG_PREFIX}/bin/clang -print-resource-dir || die)"
- sed -i -e "/\w*CLANG_INCLUDE_DIR=/s|=.*|=\"${res_dir}/include\"|" \
- src/plugins/clangtools/CMakeLists.txt || die
- fi
-
- if use doc; then
- # Fix doc install path
- sed -i -e "/set(_IDE_DOC_PATH/s|qtcreator|${PF}|" \
- cmake/QtCreatorAPIInternal.cmake || die
- fi
-
- if use help && ! use webengine; then
- # unbundled gumbo doesn't use cmake
- local gumbo_dep='find_package(PkgConfig REQUIRED)\n'
- gumbo_dep+='pkg_check_modules(gumbo REQUIRED IMPORTED_TARGET gumbo)\n'
- sed -i -e '/^\s*gumbo/s|gumbo|PkgConfig::gumbo|' \
- -e "/^find_package(litehtml/s|^|${gumbo_dep}|" \
- src/libs/qlitehtml/src/CMakeLists.txt || die
- fi
-
- if use test; then
- # Find "GoogleBenchmark" as "benchmark" and change bundled "Googletest"
- # to external "GTest"
- find "${S}" -type f -name CMakeLists.txt -exec \
- xargs sed -i -e 's|TARGET GoogleBenchmark|benchmark_FOUND|g' \
- -e 's|GoogleBenchmark\( MODULE\)\?|benchmark|g' \
- -e 's|Googletest\( MODULE\)\?|GTest|g' {} \; || die
- # For mcu, also link to gmock to prevent an unknown symbol
- # error at runtime.
- sed -i -e 's|if(TARGET GTest)|if(GTest_FOUND)|' \
- -e 's|DEPENDS GTest|DEPENDS gtest gmock|' \
- src/plugins/mcusupport/test/CMakeLists.txt || die
- fi
-}
-
-src_configure() {
- mycmakeargs+=(
- -DWITH_TESTS=$(usex test)
- -DWITH_DEBUG_CMAKE=$(usex debug)
-
- # Don't use SANITIZE_FLAGS to pass extra CXXFLAGS
- -DWITH_SANITIZE=NO
-
- # Don't build bundled ksyntaxhighlighting
- -DBUILD_LIBRARY_KSYNTAXHIGHLIGHTING=NO
-
- -DWITH_DOCS=$(usex doc)
- -DBUILD_DEVELOPER_DOCS=$(usex doc)
-
- # Install failure. Disable for now
- -DWITH_ONLINE_DOCS=NO
-
- # Force enable plugins that pride basic, neccessary IDE functionality
- # and small, simple plugins
- -DBUILD_PLUGIN_BINEDITOR=YES
- -DBUILD_PLUGIN_BOOKMARKS=YES
- -DBUILD_PLUGIN_CLASSVIEW=YES
- -DBUILD_PLUGIN_CODEPASTER=YES
- -DBUILD_PLUGIN_COMPILATIONDATABASEPROJECTMANAGER=YES
- -DBUILD_PLUGIN_CORE=YES
- -DBUILD_PLUGIN_CPPEDITOR=YES
- -DBUILD_PLUGIN_DEBUGGER=YES
- -DBUILD_PLUGIN_DIFFEDITOR=YES
- -DBUILD_PLUGIN_EMACSKEYS=YES
- -DBUILD_PLUGIN_FAKEVIM=YES
- -DBUILD_PLUGIN_GENERICPROJECTMANAGER=YES
- -DBUILD_PLUGIN_MACROS=YES
- -DBUILD_PLUGIN_MARKETPLACE=YES
- -DBUILD_PLUGIN_PROJECTEXPLORER=YES
- -DBUILD_PLUGIN_QMLJSTOOLS=YES
- -DBUILD_PLUGIN_QTSUPPORT=YES
- -DBUILD_PLUGIN_RESOURCEEDITOR=YES
- -DBUILD_PLUGIN_TASKLIST=YES
- -DBUILD_PLUGIN_TEXTEDITOR=YES
- -DBUILD_PLUGIN_TODO=YES
- -DBUILD_PLUGIN_VCSBASE=YES
- -DBUILD_PLUGIN_WELCOME=YES
-
- # Misc
- -DBUILD_PLUGIN_AUTOTEST=$(usex autotest)
- -DBUILD_PLUGIN_BEAUTIFIER=$(usex beautifier)
- -DBUILD_PLUGIN_COCO=$(usex coco)
- -DBUILD_PLUGIN_CONAN=$(usex conan)
- -DBUILD_PLUGIN_CPPCHECK=$(usex cppcheck)
- -DBUILD_PLUGIN_CTFVISUALIZER=$(usex ctfvisualizer)
- -DBUILD_PLUGIN_DESIGNER=$(usex designer)
- -DBUILD_PLUGIN_DOCKER=$(usex docker)
- -DBUILD_PLUGIN_HELP=$(usex help)
- -DBUILD_PLUGIN_IMAGEVIEWER=$(usex imageviewer)
- -DBUILD_PLUGIN_MODELEDITOR=$(usex modeling)
- -DBUILD_PLUGIN_PERFPROFILER=$(usex perfprofiler)
- -DBUILD_PLUGIN_QMLPROFILER=$(usex qmlprofiler)
- -DBUILD_PLUGIN_SCXMLEDITOR=$(usex scxml)
- -DBUILD_PLUGIN_SERIALTERMINAL=$(usex serialterminal)
- -DBUILD_PLUGIN_SILVERSEARCHER=$(usex silversearcher)
- -DBUILD_PLUGIN_VALGRIND=$(usex valgrind)
-
- # Buildsystems
- -DBUILD_PLUGIN_AUTOTOOLSPROJECTMANAGER=$(usex autotools)
- -DBUILD_PLUGIN_CMAKEPROJECTMANAGER=$(usex cmake)
- -DBUILD_PLUGIN_MESONPROJECTMANAGER=$(usex meson)
- -DBUILD_PLUGIN_QBSPROJECTMANAGER=$(usex qbs)
- -DBUILD_PLUGIN_QMAKEPROJECTMANAGER=$(usex qmake)
-
- # Languages
- -DBUILD_PLUGIN_GLSLEDITOR=$(usex glsl)
- -DBUILD_PLUGIN_LANGUAGECLIENT=$(usex lsp)
- -DBUILD_PLUGIN_NIM=$(usex nim)
- -DBUILD_PLUGIN_PYTHON=$(usex python)
-
- # Platforms
- -DBUILD_PLUGIN_ANDROID=$(usex android)
- -DBUILD_PLUGIN_BAREMETAL=$(usex baremetal)
- -DBUILD_PLUGIN_BOOT2QT=$(usex boot2qt)
- -DBUILD_PLUGIN_MCUSUPPORT=$(usex mcu)
- -DBUILD_PLUGIN_QNX=$(usex qnx)
- -DBUILD_PLUGIN_REMOTELINUX=$(usex remotelinux)
- -DBUILD_PLUGIN_WEBASSEMBLY=$(usex webassembly)
-
- # VCS
- -DBUILD_PLUGIN_BAZAAR=$(usex bazaar)
- -DBUILD_PLUGIN_CLEARCASE=$(usex clearcase)
- -DBUILD_PLUGIN_CVS=$(usex cvs)
- -DBUILD_PLUGIN_GIT=$(usex git)
- -DBUILD_PLUGIN_GITLAB=$(usex git)
- -DBUILD_PLUGIN_MERCURIAL=$(usex mercurial)
- -DBUILD_PLUGIN_PERFORCE=$(usex perforce)
- -DBUILD_PLUGIN_SUBVERSION=$(usex subversion)
-
- # Executables
- -DBUILD_EXECUTABLE_BUILDOUTPUTPARSER=$(usex qmake)
- -DBUILD_EXECUTABLE_PERFPARSER=$(usex perfprofiler)
- -DBUILD_EXECUTABLE_QML2PUPPET=$(usex qml)
-
- # Clang stuff
- -DBUILD_PLUGIN_CLANGCODEMODEL=$(usex clang)
- -DBUILD_PLUGIN_CLANGFORMAT=$(usex clang)
-
- # QML stuff
- # -DBUILD_PLUGIN_QMLDESIGNER=$(usex qml) #Qt6 only
- -DBUILD_PLUGIN_QMLJSEDITOR=$(usex qml)
- -DBUILD_PLUGIN_QMLPREVIEW=$(usex qml)
- -DBUILD_PLUGIN_QMLPROJECTMANAGER=$(usex qml)
- # -DBUILD_PLUGIN_STUDIOWELCOME=$(usex qml) #Qt6 only
-
- # Don't spam "created by a different GCC executable [-Winvalid-pch]"
- -DBUILD_WITH_PCH=NO
- # An entire mode devoted to a giant "Hello World!" button that does nothing.
- -DBUILD_PLUGIN_HELLOWORLD=NO
- # Not usable in linux environment
- -DBUILD_PLUGIN_IOS=NO
- # Use portage to update
- -DBUILD_PLUGIN_UPDATEINFO=NO
- )
-
- if use clang; then
- mycmakeargs+=(
- -DClang_DIR="${CLANG_PREFIX}/$(get_libdir)/cmake/clang"
- -DLLVM_DIR="${CLANG_PREFIX}/$(get_libdir)/cmake/llvm"
- -DCLANGTOOLING_LINK_CLANG_DYLIB=YES
- -DBUILD_PLUGIN_CLANGTOOLS=YES
- )
- fi
- if use help; then
- mycmakeargs+=(
- -DBUILD_HELPVIEWERBACKEND_QTWEBENGINE=$(usex webengine)
- -DBUILD_LIBRARY_QLITEHTML=$(usex webengine NO YES)
- -DHELPVIEWER_DEFAULT_BACKEND=$(usex webengine qtwebengine litehtml)
- )
- if ! use webengine; then
- mycmakeargs+=(
- -DEXTERNAL_GUMBO=YES
- -DEXTERNAL_XXD=NO
- -DLITEHTML_UTF8=YES
- )
- fi
- fi
- if use test; then
- mycmakeargs+=(
- # Don't test pretty printing in gdb/lldb. Tests like
- # tst_debugger_dumpers fail and it's "not officially supported"
- # See share/qtcreator/debugger/README.txt
- -DWITH_DEBUGGER_DUMPERS=NO
-
- # Disable broken tests
- -DBUILD_TEST_TST_PERFDATA=NO
- -DBUILD_TEST_TST_QML_CHECK=NO
- -DBUILD_TEST_TST_QML_TESTCORE=NO
- )
- fi
- cmake_src_configure
-}
-
-src_test() {
- virtx cmake_src_test
-}
-
-src_install() {
- cmake_src_install
-
- if use doc; then
- cmake_src_install doc/{qch,html}_docs
- dodoc "${BUILD_DIR}"/share/doc/${PF}/qtcreator{,-dev}.qch
- docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
- docinto html
- dodoc -r "${BUILD_DIR}"/doc/html/.
- fi
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- optfeature_header \
- "Some enabled plugins require optional dependencies for functionality:"
- use android && optfeature "android device support" \
- dev-util/android-sdk-update-manager
- if use autotest; then
- optfeature "catch testing framework support" dev-cpp/catch
- optfeature "gtest testing framework support" dev-cpp/gtest
- optfeature "boost testing framework support" dev-libs/boost
- optfeature "qt testing framework support" dev-qt/qttest
- fi
- if use beautifier; then
- optfeature "astyle auto-formatting support" dev-util/astyle
- optfeature "uncrustify auto-formatting support" dev-util/uncrustify
- fi
- use clang && optfeature "clazy QT static code analysis" dev-util/clazy
- use conan && optfeature "conan package manager integration" dev-util/conan
- use cvs && optfeature "cvs vcs integration" dev-vcs/cvs
- use docker && optfeature "using a docker image as a device" \
- app-containers/docker
- use git && optfeature "git vcs integration" dev-vcs/git
- use mercurial && optfeature "mercurial vcs integration" dev-vcs/mercurial
- use meson && optfeature "meson buildsystem support" dev-util/meson
- use nim && optfeature "nim language support" dev-lang/nim
- use qbs && optfeature "QBS buildsystem support" dev-util/qbs
- use silversearcher && optfeature "code searching with silversearcher" \
- sys-apps/the_silver_searcher
- use subversion && optfeature "subversion vcs integration" dev-vcs/subversion
- use valgrind && optfeature "valgrind code analysis" dev-util/valgrind
-}