commit: 0d7e91592147df8c63c0a0e587c8e49b5a4817f3 Author: Matt Whitlock <gentoo <AT> mattwhitlock <DOT> name> AuthorDate: Sat Apr 16 04:21:18 2016 +0000 Commit: Johannes Huber <johu <AT> gentoo <DOT> org> CommitDate: Thu May 5 10:25:35 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=0d7e9159
dev-util: add KDevelop 5.0 Beta 2 release https://www.kdevelop.org/news/kdevelop-50-beta2-release Signed-off-by: Johannes Huber <johu <AT> gentoo.org> .../kdevelop-pg-qt/kdevelop-pg-qt-1.90.92.ebuild | 22 ++++++ dev-util/kdevelop-php/kdevelop-php-4.90.91.ebuild | 45 +++++++++++ .../kdevelop-python/kdevelop-python-4.90.91.ebuild | 51 +++++++++++++ dev-util/kdevelop/kdevelop-4.90.91.ebuild | 81 ++++++++++++++++++++ dev-util/kdevplatform/kdevplatform-4.90.91.ebuild | 87 ++++++++++++++++++++++ 5 files changed, 286 insertions(+) diff --git a/dev-util/kdevelop-pg-qt/kdevelop-pg-qt-1.90.92.ebuild b/dev-util/kdevelop-pg-qt/kdevelop-pg-qt-1.90.92.ebuild new file mode 100644 index 0000000..43121a0 --- /dev/null +++ b/dev-util/kdevelop-pg-qt/kdevelop-pg-qt-1.90.92.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDEBASE="kdevelop" +inherit kde5 + +DESCRIPTION="LL(1) parser generator used mainly by KDevelop language plugins" +SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.xz" +LICENSE="LGPL-2" +IUSE="" +KEYWORDS="~amd64" + +DEPEND=" + sys-devel/bison + sys-devel/flex +" +RDEPEND=" + !dev-util/kdevelop-pg-qt:4 +" diff --git a/dev-util/kdevelop-php/kdevelop-php-4.90.91.ebuild b/dev-util/kdevelop-php/kdevelop-php-4.90.91.ebuild new file mode 100644 index 0000000..f3588c9 --- /dev/null +++ b/dev-util/kdevelop-php/kdevelop-php-4.90.91.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDEBASE="kdevelop" +KDE_DOXYGEN="true" +KMNAME="kdev-php" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="PHP plugin for KDevelop" +LICENSE="GPL-2 LGPL-2" +IUSE="" +KEYWORDS="~amd64" + +DEPEND=" + $(add_frameworks_dep kapidox) + $(add_frameworks_dep kcmutils) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdelibs4support) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep ktexteditor) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep threadweaver) + $(add_qt_dep qtgui) + $(add_qt_dep qtwebkit) + $(add_qt_dep qtwidgets) + dev-util/kdevelop-pg-qt:5 + >=dev-util/kdevplatform-${PV}:${SLOT} +" +RDEPEND="${DEPEND} + !dev-util/kdevelop-php-docs + dev-util/kdevelop:${SLOT} +" + +src_prepare() { + use doc || cmake_comment_add_subdirectory docs + kde5_src_prepare +} diff --git a/dev-util/kdevelop-python/kdevelop-python-4.90.91.ebuild b/dev-util/kdevelop-python/kdevelop-python-4.90.91.ebuild new file mode 100644 index 0000000..ac7b5ed --- /dev/null +++ b/dev-util/kdevelop-python/kdevelop-python-4.90.91.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDEBASE="kdevelop" +KMNAME="kdev-python" +PYTHON_COMPAT=( python3_5 ) +inherit kde5 python-any-r1 + +DESCRIPTION="Python plugin for KDevelop" +IUSE="" +KEYWORDS="~amd64" + +DEPEND=" + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemmodels) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep kparts) + $(add_frameworks_dep ktexteditor) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep threadweaver) + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) + dev-util/kdevplatform:5 + ${PYTHON_DEPS} +" +RDEPEND="${DEPEND} + dev-util/kdevelop:5 +" + +RESTRICT+=" test" + +pkg_setup() { + python-any-r1_pkg_setup + kde5_pkg_setup +} + +src_compile() { + pushd "${WORKDIR}"/${P}_build > /dev/null || die + emake parser + popd > /dev/null || die + + kde5_src_compile +} diff --git a/dev-util/kdevelop/kdevelop-4.90.91.ebuild b/dev-util/kdevelop/kdevelop-4.90.91.ebuild new file mode 100644 index 0000000..636ada9 --- /dev/null +++ b/dev-util/kdevelop/kdevelop-4.90.91.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Integrated Development Environment, supporting KDE/Qt, C/C++ and much more" +LICENSE="GPL-2 LGPL-2" +IUSE="+clang +cmake +cxx debug +ninja +plasma +qmake qthelp" +KEYWORDS="~amd64" + +# TODO: disabled upstream +# okteta? ( $(add_kdeapps_dep okteta) ) +DEPEND=" + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdeclarative) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kservice) + $(add_frameworks_dep ktexteditor) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep threadweaver) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtscript) + $(add_qt_dep qtwebkit) + $(add_qt_dep qtwidgets) + >=dev-util/kdevplatform-${PV}:5 + cxx? ( clang? ( >=sys-devel/clang-3.5.0 ) ) + plasma? ( + $(add_frameworks_dep krunner) + $(add_frameworks_dep plasma) + ) + qmake? ( dev-util/kdevelop-pg-qt:5 ) + qthelp? ( $(add_qt_dep qthelp) ) +" +RDEPEND="${DEPEND} + $(add_kdeapps_dep kapptemplate) + $(add_kdeapps_dep kio-extras) + cxx? ( >=sys-devel/gdb-7.0[python] ) + ninja? ( dev-util/ninja ) + !dev-util/kdevelop:4 + !dev-util/kdevelop-qmake + !dev-util/kdevelop-qmljs + !<kde-apps/kapptemplate-16.04.0 + cxx? ( clang? ( !dev-util/kdevelop-clang ) ) +" + +RESTRICT+=" test" +# see bug 366471 + +PATCHES=( "${FILESDIR}/${PN}-ninja-optional.patch" ) + +src_configure() { + local mycmakeargs=( + -DLEGACY_CPP_SUPPORT=$(usex !clang) + -DBUILD_cmake=$(usex cmake) + -DBUILD_cmakebuilder=$(usex cmake) + -DBUILD_clang=$(usex cxx) + -DBUILD_cpp=$(usex cxx) + -DBUILD_ninjabuilder=$(usex ninja) + $(cmake-utils_use_find_package plasma KF5Plasma) + $(cmake-utils_use_find_package qmake KDevelop-PG-Qt) + -DBUILD_qthelp=$(usex qthelp) + ) + + kde5_src_configure +} diff --git a/dev-util/kdevplatform/kdevplatform-4.90.91.ebuild b/dev-util/kdevplatform/kdevplatform-4.90.91.ebuild new file mode 100644 index 0000000..100eba1 --- /dev/null +++ b/dev-util/kdevplatform/kdevplatform-4.90.91.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# TODO tests hang + fail +# KDE_TEST="true" +# VIRTUALDBUS_TEST="true" +# VIRTUALX_REQUIRED="test" +RESTRICT="test" +KDE_DOXYGEN="true" +KDEBASE="kdevelop" +inherit kde5 + +DESCRIPTION="KDE development support libraries and apps" +IUSE="classbrowser cvs konsole reviewboard subversion +templates" +KEYWORDS="~amd64" + +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 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 qtnetwork) + $(add_qt_dep qtwebkit) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + subversion? ( + dev-libs/apr:1 + dev-libs/apr-util:1 + dev-vcs/subversion + ) + templates? ( dev-libs/grantlee:5 ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost + $(add_qt_dep qtconcurrent) + $(add_qt_dep qttest) +" +RDEPEND="${COMMON_DEPEND} + cvs? ( dev-vcs/cvs ) + konsole? ( $(add_kdeapps_dep konsole) ) + !dev-util/kdevelop:4 + !dev-util/kdevplatform:4 +" + +src_configure() { + local mycmakeargs=( + -DBUILD_classbrowser=$(usex classbrowser) + -DBUILD_cvs=$(usex cvs) + -DBUILD_konsole=$(usex konsole) + -DBUILD_reviewboard=$(usex reviewboard) + $(cmake-utils_use_find_package subversion SubversionLibrary) + $(cmake-utils_use_find_package templates Grantlee5) + ) + + kde5_src_configure +}