[gnome-continuous] Add Meson to the build
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] Add Meson to the build
- Date: Fri, 14 Oct 2016 12:08:35 +0000 (UTC)
commit 47403d2b614feafd9d34368a0f0842912a9f72cd
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Oct 14 13:06:05 2016 +0100
Add Meson to the build
Some modules in GNOME are starting to depend on Meson, and it would be
nice to have Continuous build them.
We're still dependent on having the projects themselves adhere to the
build-api — either from their own Git repositories or via patches — just
like we do for CMake projects.
manifest.json | 5 ++++
patches/python-meson-buildsys.patch | 41 +++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/manifest.json b/manifest.json
index ce886b3..2b56746 100644
--- a/manifest.json
+++ b/manifest.json
@@ -65,6 +65,11 @@
"component": "devel",
"noarch": true},
+ {"src": "git:git://github.com/mesonbuild/meson.git",
+ "tag": "0.35.0",
+ "component": "devel",
+ "patches": ["python-meson-buildsys.patch"]},
+
{"src": "gnome:glib",
"component": "minimal",
"requires": {"pkgconfig": ["libffi >= 3.0.10"]},
diff --git a/patches/python-meson-buildsys.patch b/patches/python-meson-buildsys.patch
new file mode 100644
index 0000000..de66ce9
--- /dev/null
+++ b/patches/python-meson-buildsys.patch
@@ -0,0 +1,41 @@
+From 0c2a4c9bd845777acd4793fb1c4b87d5c85ae350 Mon Sep 17 00:00:00 2001
+From: Emmanuele Bassi <ebassi gnome org>
+Date: Fri, 14 Oct 2016 13:01:56 +0100
+Subject: [PATCH] build: Implement build-api
+
+Implement the Build API for GNOME Continuous.
+
+See: https://github.com/cgwalters/build-api
+---
+ Makefile | 7 +++++++
+ configure | 4 ++++
+ 2 files changed, 11 insertions(+)
+ create mode 100644 Makefile
+ create mode 100755 configure
+
+diff --git a/Makefile b/Makefile
+new file mode 100644
+index 0000000..7dae43b
+--- /dev/null
++++ b/Makefile
+@@ -0,0 +1,7 @@
++# meson *development* Makefile
++all:
++ python3 setup.py build
++
++install:
++ python3 setup.py install --root=$(DESTDIR)
++
+diff --git a/configure b/configure
+new file mode 100755
+index 0000000..1c8e45f
+--- /dev/null
++++ b/configure
+@@ -0,0 +1,4 @@
++#!/bin/bash
++# http://people.gnome.org/~walters/docs/build-api.txt
++#buildapi-variable-no-builddir
++exec python3 setup.py build
+--
+2.9.3
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]