[gtk+/wip/meson: 13/135] gtk: Generate gresources file



commit 271d8169e97edb3af0b4e85dd783315104ff5486
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 2c77bdf..f6ba994 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -291,7 +291,6 @@ gtk_sources = [
   'gtkrenderbackground.c',
   'gtkrenderborder.c',
   'gtkrendericon.c',
-  'gtkresources.c',
   'gtkrevealer.c',
   'gtkroundedbox.c',
   'gtkscale.c',
@@ -387,6 +386,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',
@@ -420,6 +428,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]