dev-util/edb-debugger: bump live ebuild to EAPI 7
authorPetros Siligkounas <petross404@gmail.com>
Sat, 13 Apr 2019 12:08:43 +0000 (15:08 +0300)
committerMichał Górny <mgorny@gentoo.org>
Sat, 20 Apr 2019 07:12:43 +0000 (09:12 +0200)
Add "jumbo-build" use flag too

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Πέτρος Σιλιγκούνας <petross404@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11669
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-util/edb-debugger/edb-debugger-9999.ebuild
dev-util/edb-debugger/metadata.xml

index ed907cfca5d3f6e91d781cd5ee83223684fca1d9..5c9cd77c65a4352bf1f33ad02e83a7fc6b08ac05 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit cmake-utils git-r3
 
@@ -12,7 +12,7 @@ EGIT_REPO_URI="https://github.com/eteran/edb-debugger.git"
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS=""
-IUSE="graphviz"
+IUSE="graphviz jumbo-build"
 
 RDEPEND="
        dev-libs/capstone:=
@@ -39,3 +39,10 @@ src_prepare() {
        fi
        cmake-utils_src_prepare
 }
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_JUMBO=$(usex jumbo-build)
+       )
+       cmake-utils_src_configure
+}
index a940dc098dc58ccdce36ddc3b0ff5032761c6b84..cf47b0a1cf3b4324b97898b3b6a4eb8782b9f813 100644 (file)
@@ -12,6 +12,7 @@
        <use>
        <flag name="legacy-mem-write">Probe if writes to /proc/PID/mem are broken.</flag>
        <flag name="graphviz">Add support for the Graphviz library</flag>
+       <flag name="jumbo-build">Experimental jumbo (also known as unity) build capability</flag>
        <flag name="pax_kernel">Enable building under a PaX enabled kernel</flag>
        </use>
 </pkgmetadata>