summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2019-01-18 01:27:23 +0100
committerMaciej Mrozowski <reavertm@gentoo.org>2019-01-18 01:27:48 +0100
commit7d125afeff2d6b6b17ba9abf572ab6bd24cc5dba (patch)
tree2a0ef42897300f2504e1fe00244b497eab3d7f51 /dev-util
parentdev-util/bless: Depend on gtk-sharp slot 2 specifically. (diff)
downloadgentoo-7d125afeff2d6b6b17ba9abf572ab6bd24cc5dba.tar.gz
gentoo-7d125afeff2d6b6b17ba9abf572ab6bd24cc5dba.tar.bz2
gentoo-7d125afeff2d6b6b17ba9abf572ab6bd24cc5dba.zip
dev-util/kdevelop: Fix typo in QtCreator shortcuts theme (5.3.1)
Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/kdevelop/files/kdevelop-5.3.1-typo-in-QtCreator-theme.patch26
-rw-r--r--dev-util/kdevelop/kdevelop-5.3.1-r1.ebuild135
2 files changed, 161 insertions, 0 deletions
diff --git a/dev-util/kdevelop/files/kdevelop-5.3.1-typo-in-QtCreator-theme.patch b/dev-util/kdevelop/files/kdevelop-5.3.1-typo-in-QtCreator-theme.patch
new file mode 100644
index 000000000000..97a0b660760c
--- /dev/null
+++ b/dev-util/kdevelop/files/kdevelop-5.3.1-typo-in-QtCreator-theme.patch
@@ -0,0 +1,26 @@
+From 8ceab1ea06ea846acf1d75955b0e0e725fc8b2fa Mon Sep 17 00:00:00 2001
+From: Maciej Mrozowski <reavertm@gmail.com>
+Date: Fri, 18 Jan 2019 00:59:28 +0100
+Subject: [PATCH] Fix typo in move cursor left action in QtCreator shortcuts
+ theme
+
+---
+ shortcuts/QtCreator | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/shortcuts/QtCreator b/shortcuts/QtCreator
+index bd1334742e..b74aba9b54 100644
+--- a/shortcuts/QtCreator
++++ b/shortcuts/QtCreator
+@@ -38,7 +38,7 @@
+ <Action shortcut="Down" name="move_line_down"/>
+ <Action shortcut="Up" name="move_line_up"/>
+ <Action shortcut="Right" name="move_cursor_right"/>
+- <Action shortcut="Left" name="move_cusor_left"/>
++ <Action shortcut="Left" name="move_cursor_left"/>
+ <Action shortcut="Shift+Down" name="select_line_down"/>
+ <Action shortcut="PgUp" name="scroll_page_up"/>
+ <Action shortcut="Shift+PgUp" name="select_page_up"/>
+--
+2.19.2
+
diff --git a/dev-util/kdevelop/kdevelop-5.3.1-r1.ebuild b/dev-util/kdevelop/kdevelop-5.3.1-r1.ebuild
new file mode 100644
index 000000000000..ca7b83fd34ac
--- /dev/null
+++ b/dev-util/kdevelop/kdevelop-5.3.1-r1.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_BRANCH="5.3"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="true"
+VIRTUALDBUS_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more"
+LICENSE="GPL-2 LGPL-2"
+IUSE="+gdbui hex +plasma +qmake reviewboard subversion webkit"
+[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep karchive)
+ $(add_frameworks_dep kbookmarks)
+ $(add_frameworks_dep kcmutils)
+ $(add_frameworks_dep kcodecs)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdeclarative)
+ $(add_frameworks_dep kguiaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kitemmodels)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep kjobwidgets)
+ $(add_frameworks_dep knewstuff)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep knotifyconfig)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep ktexteditor)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_frameworks_dep sonnet)
+ $(add_frameworks_dep threadweaver)
+ $(add_kdeapps_dep libkomparediff2)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtdeclarative 'widgets')
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qthelp)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qttest)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ dev-libs/grantlee:5
+ >=sys-devel/clang-3.8.0:=
+ x11-misc/shared-mime-info
+ gdbui? ( $(add_plasma_dep libksysguard) )
+ hex? ( app-editors/okteta:5 )
+ plasma? (
+ $(add_frameworks_dep krunner)
+ $(add_frameworks_dep plasma)
+ )
+ qmake? ( dev-util/kdevelop-pg-qt:5 )
+ reviewboard? ( $(add_frameworks_dep purpose) )
+ subversion? (
+ dev-libs/apr:1
+ dev-libs/apr-util:1
+ dev-vcs/subversion
+ )
+ webkit? ( $(add_qt_dep qtwebkit) )
+ !webkit? ( $(add_qt_dep qtwebengine 'widgets') )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/boost
+ $(add_qt_dep qtconcurrent)
+"
+RDEPEND="${COMMON_DEPEND}
+ $(add_kdeapps_dep kapptemplate)
+ $(add_kdeapps_dep kio-extras)
+ dev-util/ninja
+ >=sys-devel/gdb-7.0[python]
+ reviewboard? ( $(add_kdeapps_dep ktp-accounts-kcm) )
+ !dev-util/kdevelop-clang
+ !dev-util/kdevelop-cppcheck
+ !dev-util/kdevelop-qmake
+ !dev-util/kdevelop-qmljs
+ !dev-util/kdevplatform
+"
+
+RESTRICT+=" test"
+# see bug 366471
+
+PATCHES=(
+ "${FILESDIR}/${P}-typo-in-QtCreator-theme.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package gdbui KF5SysGuard)
+ -DBUILD_executeplasmoid=$(usex plasma)
+ $(cmake-utils_use_find_package plasma KF5Plasma)
+ $(cmake-utils_use_find_package hex OktetaKastenControllers)
+ $(cmake-utils_use_find_package qmake KDevelop-PG-Qt)
+ $(cmake-utils_use_find_package reviewboard KF5Purpose)
+ $(cmake-utils_use_find_package subversion SubversionLibrary)
+ $(cmake-utils_use_find_package !webkit Qt5WebEngineWidgets)
+ )
+
+ use reviewboard || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON )
+
+ kde5_src_configure
+}
+
+pkg_postinst() {
+ kde5_pkg_postinst
+
+ if ! has_version "kde-apps/konsole" ; then
+ elog "For konsole view, please install kde-apps/konsole"
+ fi
+
+ if ! has_version "dev-util/cppcheck" ; then
+ elog "For static C/C++ code analysis support, please install dev-util/cppcheck"
+ fi
+
+ if ! has_version "dev-util/heaptrack[qt5]" ; then
+ elog "For heap memory profiling support, please install dev-util/heaptrack"
+ fi
+
+ if ! has_version "dev-util/clazy" ; then
+ elog "For static C++ Qt code analysis support, please install dev-util/clazy"
+ fi
+}