diff options
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r-- | dev-util/kdevelop/Manifest | 8 | ||||
-rw-r--r-- | dev-util/kdevelop/files/kdevelop-5.0.2-ninja-optional.patch | 11 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-5.1.1.ebuild | 92 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-5.1.2.ebuild | 97 | ||||
-rw-r--r-- | dev-util/kdevelop/metadata.xml | 15 |
5 files changed, 223 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest new file mode 100644 index 000000000000..dc52cd8664cc --- /dev/null +++ b/dev-util/kdevelop/Manifest @@ -0,0 +1,8 @@ +AUX kdevelop-5.0.2-ninja-optional.patch 426 SHA256 de410283856feaf6e13f5edf88d659cee65dd677bdc244285864bd4839af4a2e SHA512 7c54ca466ac8afae7ced2798182104977f1a41de884afb8e52b6b23ba60f87a184b7898cc991de1211e8a194343396851d50c25fa60ff69205731725074bf19c WHIRLPOOL c4969d7081e710058c055fdb863b4cfbf5240ae8fecd71fc165cbba4414eade65a2d21b6dd0526e50611d8c14adaeee0dfa1fcdcd141b53a14c8c22bfd82c442 +DIST kdevelop-5.1.1.tar.xz 4685416 SHA256 0a01a4ffb2f01802cf4945521a3149a8f82c21fa8a97935991f1854b7db5d754 SHA512 e2c1a4885bab9815341a53da6a98dd4939b7128eee174e79c616cc020f464362a2730508b3a8d66f00e4ea95f2098b92d6328b43b9f22bd77145bbe6ce096529 WHIRLPOOL 7e4134a89533ec510486f4b65a50cdc4b6f9f3ec3639f38077e568b54ae66d470f8028348eaab875c08ab8de4535902e2572aea99f86baba9359b581747a4366 +DIST kdevelop-5.1.2.tar.xz 4688696 SHA256 af54e807847d145fe5f3eb55962ed0d22e6363c2bc6c32167e51ca4823c00ac7 SHA512 3f359587c7dca3ad4d0db4940cc9557bb61647672432f21c21d6f493e5e5c96e026c7dc155b66a7be4d20b06972fe961d8a3dda28e8aa273d0a4044a6242e39b WHIRLPOOL 0e3229a9b209cc3dd0afed13fdf72053dafaff3ca3d75172ef575590e6a5eb8374a4c0ded6e10adabb305a91f725a26877f91d417bd05d647fec2bb8f169f1fb +EBUILD kdevelop-5.1.1.ebuild 2562 SHA256 5bed63ece3d27fd5b4aedc2a2d2b0220b6e6e5e8d365367a6c2f04902f23ba20 SHA512 f7d3ad87391cc509ffaefc5d9308ad7cabbd4faabef68acf1ab0e00259526014bcc100a686879e796cbed99090bbf354a7bb5493a8dba356a4b31581c6942e26 WHIRLPOOL 5c45c5dc2f5a5bf16780e50f47c04359956052843c3221a7776c93478d659e2664fc2b34c832d57b2cfbb5b03bf94702b5cdfbe81ef01963bbaa64302987d21d +EBUILD kdevelop-5.1.2.ebuild 2570 SHA256 06ceabc2d1e8fa8601df41d8f243078e3ea42a413e97ff479a900002a5c4dccf SHA512 413a4b79c2edb489816f18cbeabf3099b64ee2318b6b32a4dc242be8ad287c9557223af151c186d508cfdee873ae7414c114e10685558750dfd0b50f2731c383 WHIRLPOOL 6c4de213735e838da17da608c1316bcc88035ee9e5083cff795cc7991462656e4d595b2cef16ce1b77278eabca99259e99b191bdb9738ba48fc6e8c97d2b2ecb +MISC ChangeLog 7546 SHA256 62a5c648dd50a1c831960579da88ff3aad5f5f198c04afa2e8dca66e2a41b43d SHA512 f7ccdeb52b318a7ac700538508ddc119b3833349705715e41b57aec8707ffc69cbf948abbae08dd6d44971d46b693ac0e55b54344094048cb7c0ae24099433ba WHIRLPOOL bbbc218f69de23736553946b14fe8ff508437526af62dea7d680b76dbc182a3dd4307fae9261de47ba2b8a9003944c2cbdc1938804cd025672bf616df2db59ef +MISC ChangeLog-2015 39119 SHA256 6ce8c61c7acd1546a9d894cfc7754e7363ab7f0799b82747ffa0615e489366dd SHA512 b78ac3c39b5fa535956066568d56bcd57a54b42614abc5cc28015909b1824878d89cfe81172782d6ee85f24a572304ca9565c88c5c51d191349373a0ba2a9e20 WHIRLPOOL d1d433c52184613a9c6bd1fa17334fb6c67c311a4ddfe2e70e3d5693dbc268d63ff3c416d720167cc59e2d99c50b7baaad41dcca696ba9c2ac95d6d117c17f3d +MISC metadata.xml 606 SHA256 ae2ded29876f28bf22af2a6ec83ab5f1c73f645b05f95a24e535d945fccc5d39 SHA512 029fc300951af3f0887192a7c51efb51b4107b05433d7b47af2a1346603443c2da4c7849bcc4b06d08445c12893a6abddf89fbe126694aa1809a43579cbe9600 WHIRLPOOL 3368c317e6a8ea906a395eba09a0828d911d02816c59bf4968e5c02f0a88be3b564f4d606c6ef3ebcdeed38fe3a07021979369bfb4cf38720f6c8be050b6e835 diff --git a/dev-util/kdevelop/files/kdevelop-5.0.2-ninja-optional.patch b/dev-util/kdevelop/files/kdevelop-5.0.2-ninja-optional.patch new file mode 100644 index 000000000000..a60da91df6dc --- /dev/null +++ b/dev-util/kdevelop/files/kdevelop-5.0.2-ninja-optional.patch @@ -0,0 +1,11 @@ +diff --git a/projectbuilders/CMakeLists.txt b/projectbuilders/CMakeLists.txt +index 80d7866..825ca8b 100644 +--- a/projectbuilders/CMakeLists.txt ++++ b/projectbuilders/CMakeLists.txt +@@ -1,5 +1,5 @@ + add_subdirectory(makebuilder) +-add_subdirectory(ninjabuilder) ++ecm_optional_add_subdirectory(ninjabuilder) + ecm_optional_add_subdirectory(cmakebuilder) + if (KDevelop-PG-Qt_FOUND) + ecm_optional_add_subdirectory(qmakebuilder) 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..681bc3245037 --- /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 +} diff --git a/dev-util/kdevelop/kdevelop-5.1.2.ebuild b/dev-util/kdevelop/kdevelop-5.1.2.ebuild new file mode 100644 index 000000000000..ffbbca5b1bc6 --- /dev/null +++ b/dev-util/kdevelop/kdevelop-5.1.2.ebuild @@ -0,0 +1,97 @@ +# 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="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 okteta +plasma +qmake" +[[ ${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 qthelp) + $(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 ) +" +DEPEND="${COMMON_DEPEND} + $(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] + !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 + +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 okteta OktetaKastenControllers) + $(cmake-utils_use_find_package qmake KDevelop-PG-Qt) + -DBUILD_qthelp=ON + ) + + kde5_src_configure +} + +pkg_postinst() { + kde5_pkg_postinst + + if ! has_version "dev-util/cppcheck" ; then + elog "For static C/C++ code analysis support, please install dev-util/cppcheck" + fi +} diff --git a/dev-util/kdevelop/metadata.xml b/dev-util/kdevelop/metadata.xml new file mode 100644 index 000000000000..f7ada62fc4f0 --- /dev/null +++ b/dev-util/kdevelop/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <use> + <flag name="gdbui">Enable GUI for attaching GDB to a running process</flag> + <flag name="ninja">Enable support for Ninja build system</flag> + <flag name="okteta">Enable hex editor plugin</flag> + <flag name="qmake">Enable support for QMake build system</flag> + <flag name="qthelp">Enable support for QtHelp documentation browsing</flag> + </use> +</pkgmetadata> |