[gnome-continuous-yocto/gnomeostree-3.22-krogoth] meta-gnomeos: Update ninja recipe from meta-oe/devtools



commit 8815f7d72c92ed14ed76401fddc132ad2c3850be
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Oct 14 11:48:54 2016 +0100

    meta-gnomeos: Update ninja recipe from meta-oe/devtools
    
    We use the copy in master, but with the updated URLs for the Git repo
    and homepage.

 meta-gnomeos/recipes-core/ninja/ninja_1.7.1.bb |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/meta-gnomeos/recipes-core/ninja/ninja_1.7.1.bb b/meta-gnomeos/recipes-core/ninja/ninja_1.7.1.bb
index d527f30..d545342 100644
--- a/meta-gnomeos/recipes-core/ninja/ninja_1.7.1.bb
+++ b/meta-gnomeos/recipes-core/ninja/ninja_1.7.1.bb
@@ -1,18 +1,24 @@
 DESCRIPTION = "Ninja is a small build system with a focus on speed."
+HOMEPAGE = "http://ninja-build.com";
 LICENSE = "Apache-2"
-
-inherit native
-
 LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e"
 
-SRCREV="b49b0fc01bb052b6ac856b1e72be9391e962398e"
+DEPENDS = "re2c-native ninja-native"
 
+SRCREV="b49b0fc01bb052b6ac856b1e72be9391e962398e"
 SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release"
 
 S="${WORKDIR}/git"
 
+do_configure[noexec] = "1"
+
+do_compile_class-native() {
+    ./configure.py --bootstrap
+}
+
 do_compile() {
-    python ${S}/configure.py --bootstrap
+    ./configure.py
+    ninja
 }
 
 do_install() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]