[gnome-continuous-yocto/gnomeostree-3.22-krogoth] meta-gnomeos: Add ninja-native
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.22-krogoth] meta-gnomeos: Add ninja-native
- Date: Fri, 14 Oct 2016 10:08:47 +0000 (UTC)
commit de45e4747cff88b60134628dbb5e1f37778466b3
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Oct 14 11:01:08 2016 +0100
meta-gnomeos: Add ninja-native
Various modules in GNOME are starting to use Meson[1] as their build
system, and Meson uses Ninja[2] instead of Make.
Instead of building Ninja as part of the Continuous manifest, we can add
a recipe to the Yocto base; mostly, because it's easier to deal with the
non-standard build system at the Yocto level, and also because Ninja is
less of a fast moving target.
.../recipes-core/ninja/ninja-native_1.7.1.bb | 21 ++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/meta-gnomeos/recipes-core/ninja/ninja-native_1.7.1.bb
b/meta-gnomeos/recipes-core/ninja/ninja-native_1.7.1.bb
new file mode 100644
index 0000000..62f86cb
--- /dev/null
+++ b/meta-gnomeos/recipes-core/ninja/ninja-native_1.7.1.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Ninja is a small build system with a focus on speed."
+LICENSE = "Apache-2"
+
+inherit native
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e"
+
+SRCREV="b49b0fc01bb052b6ac856b1e72be9391e962398e"
+
+SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release"
+
+S="${WORKDIR}/git"
+
+do_compile() {
+ python ${S}/configure.py --bootstrap
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 ${S}/ninja ${D}${bindir}/ninja
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]