[meld] Build gresources with Meson



commit 8c488b5175e160a9c31d7aaddf383d3ed4247d22
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Sep 21 10:43:59 2019 +1000

    Build gresources with Meson

 meld/meson.build           | 2 ++
 meld/resources/meson.build | 9 +++++++++
 2 files changed, 11 insertions(+)
---
diff --git a/meld/meson.build b/meld/meson.build
index 6b4fef72..955fed37 100644
--- a/meld/meson.build
+++ b/meld/meson.build
@@ -82,3 +82,5 @@ foreach folder_name, sources : folders
   pkgdir = join_paths(meson.project_name(), folder_name)
   python3.install_sources(sources, pure: true, subdir: pkgdir)
 endforeach
+
+subdir('resources')
diff --git a/meld/resources/meson.build b/meld/resources/meson.build
new file mode 100644
index 00000000..edf0af58
--- /dev/null
+++ b/meld/resources/meson.build
@@ -0,0 +1,9 @@
+
+gnome.compile_resources(
+  application_id,
+  meson.project_name() + '.gresource.xml',
+  gresource_bundle: true,
+  source_dir: meson.current_build_dir(),
+  install_dir: pkgdatadir,
+  install: true,
+)


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