[gtk+/wip/baedert/meson: 72/87] gtk: Generate gresources file



commit b3c2a27f97a3614742197ed83892c793823b0af9
Author: Timm Bäder <mail baedert org>
Date:   Sun Aug 21 18:00:19 2016 +0200

    gtk: Generate gresources file

 gtk/meson.build |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/gtk/meson.build b/gtk/meson.build
index 8ba16ac..8131080 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -288,7 +288,6 @@ gtk_sources = [
   'gtkrenderbackground.c',
   'gtkrenderborder.c',
   'gtkrendericon.c',
-  'gtkresources.c',
   'gtkrevealer.c',
   'gtkroundedbox.c',
   'gtkscale.c',
@@ -383,6 +382,15 @@ gtk_unix_sources = [
   'gtksearchenginetracker.c',
 ]
 
+gtkresources = gnome.compile_resources(
+  'gtkresources',
+  'gtk.gresource.xml',
+  source_dir: '.',
+  c_name: '_gtk',
+  extra_args: '--manual-register'
+)
+
+
 gtk_x11_sources = [
   'gtkplug.c',
   'gtksocket.c',
@@ -416,6 +424,7 @@ gtk_sources = [
   dnd_sources,
   inspector_sources,
   a11y_sources,
+  gtkresources
 ]
 
 gtk_deps = [


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