[gtk+/wip/baedert/meson: 4/5] gtk: Generate gresources file



commit b06206273e9f9da8232af18a8eb4ed9f2a4ac481
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]