From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: dev-util/kdevelop/files/, dev-util/kdevelop/
Date: Thu, 16 Jul 2015 18:38:31 +0000 (UTC) [thread overview]
Message-ID: <1437071858.3f9eafb6a6447654aa7112f1715d901c43b3c6be.johu@gentoo> (raw)
commit: 3f9eafb6a6447654aa7112f1715d901c43b3c6be
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Mon Jul 6 21:19:25 2015 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Thu Jul 16 18:37:38 2015 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=3f9eafb6
[dev-util/kdevelop] Add USE flag ninja and add optional RDEPEND
Ninja reported missing in terminal output without dev-util/ninja,
small patch makes it optional
Package-Manager: portage-2.2.18
dev-util/kdevelop/files/kdevelop-ninja-optional.patch | 9 +++++++++
dev-util/kdevelop/kdevelop-9999.ebuild | 6 +++++-
dev-util/kdevelop/metadata.xml | 1 +
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/dev-util/kdevelop/files/kdevelop-ninja-optional.patch b/dev-util/kdevelop/files/kdevelop-ninja-optional.patch
new file mode 100644
index 0000000..a84279b
--- /dev/null
+++ b/dev-util/kdevelop/files/kdevelop-ninja-optional.patch
@@ -0,0 +1,9 @@
+--- a/projectbuilders/CMakeLists.txt 2015-02-02 15:19:46.000000000 +0100
++++ b/projectbuilders/CMakeLists.txt 2015-07-06 22:51:22.083293634 +0200
+@@ -1,5 +1,5 @@
+
+ add_subdirectory(makebuilder)
+-add_subdirectory(ninjabuilder)
++ecm_optional_add_subdirectory(ninjabuilder)
+ ecm_optional_add_subdirectory(cmakebuilder)
+
diff --git a/dev-util/kdevelop/kdevelop-9999.ebuild b/dev-util/kdevelop/kdevelop-9999.ebuild
index e655b38..1b74024 100644
--- a/dev-util/kdevelop/kdevelop-9999.ebuild
+++ b/dev-util/kdevelop/kdevelop-9999.ebuild
@@ -9,7 +9,7 @@ inherit kde5
DESCRIPTION="Integrated Development Environment for Unix, supporting KDE/Qt, C/C++ and many other languages"
LICENSE="GPL-2 LGPL-2"
-IUSE="+cmake +cxx debug +plasma qthelp"
+IUSE="+cmake +cxx debug +ninja +plasma qthelp"
KEYWORDS=""
# TODO: disabled upstream
@@ -48,16 +48,20 @@ RDEPEND="${DEPEND}
$(add_kdeapps_dep kapptemplate)
$(add_plasma_dep kio-extras)
cxx? ( >=sys-devel/gdb-7.0[python] )
+ ninja? ( dev-util/ninja )
!dev-util/kdevelop:4
"
RESTRICT="test"
# see bug 366471
+PATCHES=( "${FILESDIR}/${PN}-ninja-optional.patch" )
+
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_build cmake)
$(cmake-utils_use_build cmake cmakebuilder)
+ $(cmake-utils_use_build ninja ninjabuilder)
$(cmake-utils_use_build cxx cpp)
$(cmake-utils_use_build qthelp)
$(cmake-utils_use_find_package plasma KF5Plasma)
diff --git a/dev-util/kdevelop/metadata.xml b/dev-util/kdevelop/metadata.xml
index d6717c3..2354710 100644
--- a/dev-util/kdevelop/metadata.xml
+++ b/dev-util/kdevelop/metadata.xml
@@ -4,6 +4,7 @@
<herd>kde</herd>
<use>
<flag name="cmake">Enable support for CMake build system</flag>
+ <flag name="ninja">Enable support for Ninja build system</flag>
<flag name="gdbui">Enable GUI for attaching GDB to a running process</flag>
<flag name="okteta">Enable hex editor plugin</flag>
<flag name="qthelp">Enable support for QtHelp documentation browsing</flag>
next reply other threads:[~2015-07-16 18:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-16 18:38 Johannes Huber [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-29 13:32 [gentoo-commits] proj/kde:master commit in: dev-util/kdevelop/files/, dev-util/kdevelop/ Sam James
2016-10-30 18:03 Johannes Huber
2016-08-31 14:30 Michael Palimaka
2014-03-12 13:06 Johannes Huber
2013-12-27 16:19 Chris Reffett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1437071858.3f9eafb6a6447654aa7112f1715d901c43b3c6be.johu@gentoo \
--to=johu@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox