summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/kdevelop/Manifest1
-rw-r--r--dev-util/kdevelop/kdevelop-5.1.1.ebuild92
2 files changed, 93 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest
index 69b4dcbf1b16..5005a20e590e 100644
--- a/dev-util/kdevelop/Manifest
+++ b/dev-util/kdevelop/Manifest
@@ -1 +1,2 @@
DIST kdevelop-5.1.0.tar.xz 4681648 SHA256 c0bc424a765a9be3ffb25acefcfa4db323b0612bae762fca1ae70225fa5c8ce8 SHA512 a4363467a3caabd1b047e17ae9f1c56a4511ae752611705326a1563e48752044a242cdd429e651b3f8bc87c1de429f508dc264888898a7715eab43b9f10a6685 WHIRLPOOL 7343997594c6edac84c49ba2b2deac9d82ecc230e8dde3bc0c09c58e0e2e19efebd80fcc4e9da6cc98fd951beae0df3eb9d375c6357e73ccfcf26af8c61325c1
+DIST kdevelop-5.1.1.tar.xz 4685416 SHA256 0a01a4ffb2f01802cf4945521a3149a8f82c21fa8a97935991f1854b7db5d754 SHA512 e2c1a4885bab9815341a53da6a98dd4939b7128eee174e79c616cc020f464362a2730508b3a8d66f00e4ea95f2098b92d6328b43b9f22bd77145bbe6ce096529 WHIRLPOOL 7e4134a89533ec510486f4b65a50cdc4b6f9f3ec3639f38077e568b54ae66d470f8028348eaab875c08ab8de4535902e2572aea99f86baba9359b581747a4366
diff --git a/dev-util/kdevelop/kdevelop-5.1.1.ebuild b/dev-util/kdevelop/kdevelop-5.1.1.ebuild
new file mode 100644
index 000000000000..acb31ee1a300
--- /dev/null
+++ b/dev-util/kdevelop/kdevelop-5.1.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_BRANCH="5.1"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional-recursive"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more"
+LICENSE="GPL-2 LGPL-2"
+IUSE="+gdbui +ninja okteta +plasma +qmake qthelp"
+[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep kcmutils)
+ $(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 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 knotifyconfig)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep ktexteditor)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_frameworks_dep threadweaver)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtdeclarative)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtwebkit)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ >=dev-util/kdevplatform-${PV}:5
+ >=sys-devel/clang-3.5.0:*
+ x11-misc/shared-mime-info
+ gdbui? ( $(add_plasma_dep libksysguard) )
+ okteta? ( $(add_kdeapps_dep okteta) )
+ plasma? (
+ $(add_frameworks_dep krunner)
+ $(add_frameworks_dep plasma)
+ )
+ qmake? ( dev-util/kdevelop-pg-qt:5 )
+ qthelp? ( $(add_qt_dep qthelp) )
+"
+DEPEND="${COMMON_DEPEND}
+ $(add_qt_dep qtconcurrent)
+"
+RDEPEND="${COMMON_DEPEND}
+ $(add_kdeapps_dep kapptemplate)
+ $(add_kdeapps_dep kio-extras)
+ >=sys-devel/gdb-7.0[python]
+ ninja? ( dev-util/ninja )
+ !dev-util/kdevelop:4
+ !dev-util/kdevelop-clang
+ !dev-util/kdevelop-cppcheck
+ !dev-util/kdevelop-qmake
+ !dev-util/kdevelop-qmljs
+ !<kde-apps/kapptemplate-16.04.0
+"
+
+RESTRICT+=" test"
+# see bug 366471
+
+PATCHES=( "${FILESDIR}/${PN}-5.0.2-ninja-optional.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package gdbui KF5SysGuard)
+ -DBUILD_executeplasmoid=$(usex plasma)
+ $(cmake-utils_use_find_package plasma KF5Plasma)
+ -DBUILD_ninjabuilder=$(usex ninja)
+ $(cmake-utils_use_find_package okteta OktetaKastenControllers)
+ $(cmake-utils_use_find_package qmake KDevelop-PG-Qt)
+ -DBUILD_qthelp=$(usex qthelp)
+ )
+
+ kde5_src_configure
+}