summaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2016-12-11 19:48:22 +0100
committerJuan A. Suarez Romero <jasuarez@igalia.com>2017-02-06 09:58:53 +0100
commitea047c4fb63e90268eb795ed91a09a2be5068a4c (patch)
treeef5e8c4ee1aa0846bb34d5986fbf6f7536e68f3c /help
parentf5e77c5850b4af698fb518155d1f335a7f2c92f8 (diff)
downloadgrilo-plugins-ea047c4fb63e90268eb795ed91a09a2be5068a4c.tar.gz
build: add Meson build support
https://bugzilla.gnome.org/show_bug.cgi?id=775957
Diffstat (limited to 'help')
-rw-r--r--help/examples/meson.build18
-rw-r--r--help/meson.build15
2 files changed, 33 insertions, 0 deletions
diff --git a/help/examples/meson.build b/help/examples/meson.build
new file mode 100644
index 0000000..d1cbcd2
--- /dev/null
+++ b/help/examples/meson.build
@@ -0,0 +1,18 @@
+#
+# meson.build
+#
+# Author: Juan A. Suarez Romero <jasuarez@igalia.com>
+#
+# Copyright (C) 2016 Igalia S.L. All rights reserved.
+
+examples = [
+ 'example-tmdb'
+]
+
+foreach e: examples
+ source = e + '.c'
+ executable(e,
+ source,
+ install: false,
+ dependencies: must_deps)
+endforeach
diff --git a/help/meson.build b/help/meson.build
new file mode 100644
index 0000000..c9f877e
--- /dev/null
+++ b/help/meson.build
@@ -0,0 +1,15 @@
+#
+# meson.build
+#
+# Author: Juan A. Suarez Romero <jasuarez@igalia.com>
+#
+# Copyright (C) 2016 Igalia S.L. All rights reserved.
+
+gnome.yelp(meson.project_name(),
+ sources: [
+ 'grilo-plugins.xml',
+ 'legal.xml',
+ ],
+ media: ['../examples/example-tmdb.c'])
+
+subdir('examples')