public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde:master commit in: dev-util/kdevelop/, dev-util/kdevelop-php/, dev-util/kdevplatform/, ...
@ 2017-01-01 10:01 Andreas Sturmlechner
  0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2017-01-01 10:01 UTC (permalink / raw
  To: gentoo-commits

commit:     89d1fd2633f0ad3fbc2c1e6c5a7c61bd7f2936f2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  1 02:33:27 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  1 02:40:24 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=89d1fd26

dev-util: Add kdevelop 5.1 stable branch

Package-Manager: portage-2.3.0

 dev-util/kdevelop-php/kdevelop-php-5.1.9999.ebuild | 43 ++++++++++
 .../kdevelop-python-5.1.9999.ebuild                | 51 ++++++++++++
 dev-util/kdevelop/kdevelop-5.1.9999.ebuild         | 93 ++++++++++++++++++++++
 ...rm-9999.ebuild => kdevplatform-5.1.9999.ebuild} |  3 +
 dev-util/kdevplatform/kdevplatform-9999.ebuild     |  2 +
 5 files changed, 192 insertions(+)

diff --git a/dev-util/kdevelop-php/kdevelop-php-5.1.9999.ebuild b/dev-util/kdevelop-php/kdevelop-php-5.1.9999.ebuild
new file mode 100644
index 0000000..33ebd8f
--- /dev/null
+++ b/dev-util/kdevelop-php/kdevelop-php-5.1.9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+EGIT_BRANCH="5.1"
+KDEBASE="kdevelop"
+KDE_DOC_DIR="docs"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional-recursive"
+KMNAME="kdev-php"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="PHP plugin for KDevelop"
+LICENSE="GPL-2 LGPL-2"
+IUSE=""
+[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcmutils)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemmodels)
+	$(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:5
+"

diff --git a/dev-util/kdevelop-python/kdevelop-python-5.1.9999.ebuild b/dev-util/kdevelop-python/kdevelop-python-5.1.9999.ebuild
new file mode 100644
index 0000000..6112fd5
--- /dev/null
+++ b/dev-util/kdevelop-python/kdevelop-python-5.1.9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+EGIT_BRANCH="5.1"
+KDEBASE="kdevelop"
+KMNAME="kdev-python"
+PYTHON_COMPAT=( python3_5 )
+inherit kde5 python-single-r1
+
+DESCRIPTION="Python plugin for KDevelop"
+IUSE=""
+[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86"
+
+DEPEND="${PYTHON_DEPS}
+	$(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
+"
+RDEPEND="${DEPEND}
+	dev-util/kdevelop:5
+"
+
+RESTRICT+=" test"
+
+pkg_setup() {
+	python-single-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-5.1.9999.ebuild b/dev-util/kdevelop/kdevelop-5.1.9999.ebuild
new file mode 100644
index 0000000..a943379
--- /dev/null
+++ b/dev-util/kdevelop/kdevelop-5.1.9999.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}

diff --git a/dev-util/kdevplatform/kdevplatform-9999.ebuild b/dev-util/kdevplatform/kdevplatform-5.1.9999.ebuild
similarity index 98%
copy from dev-util/kdevplatform/kdevplatform-9999.ebuild
copy to dev-util/kdevplatform/kdevplatform-5.1.9999.ebuild
index 8373f67..a2a70c5 100644
--- a/dev-util/kdevplatform/kdevplatform-9999.ebuild
+++ b/dev-util/kdevplatform/kdevplatform-5.1.9999.ebuild
@@ -4,6 +4,7 @@
 
 EAPI=6
 
+EGIT_BRANCH="5.1"
 KDEBASE="kdevelop"
 KDE_TEST="forceoptional-recursive"
 VIRTUALDBUS_TEST="true"
@@ -69,6 +70,8 @@ RDEPEND="${COMMON_DEPEND}
 	!dev-util/kdevplatform:4
 "
 
+REQUIRED_USE="test? ( welcomepage )"
+
 RESTRICT+=" test"
 
 src_prepare() {

diff --git a/dev-util/kdevplatform/kdevplatform-9999.ebuild b/dev-util/kdevplatform/kdevplatform-9999.ebuild
index 8373f67..1b76744 100644
--- a/dev-util/kdevplatform/kdevplatform-9999.ebuild
+++ b/dev-util/kdevplatform/kdevplatform-9999.ebuild
@@ -69,6 +69,8 @@ RDEPEND="${COMMON_DEPEND}
 	!dev-util/kdevplatform:4
 "
 
+REQUIRED_USE="test? ( welcomepage )"
+
 RESTRICT+=" test"
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-01 10:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-01 10:01 [gentoo-commits] proj/kde:master commit in: dev-util/kdevelop/, dev-util/kdevelop-php/, dev-util/kdevplatform/, Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox