[rygel] build: Add missing resource
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] build: Add missing resource
- Date: Tue, 12 Feb 2019 22:05:20 +0000 (UTC)
commit 7fb63dd95112618ac49fb63dafc9e431b0a672df
Author: Jens Georg <mail jensge org>
Date: Tue Feb 12 23:04:12 2019 +0100
build: Add missing resource
examples/meson.build | 20 ++++++++++++++------
meson.build | 1 +
2 files changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/examples/meson.build b/examples/meson.build
index 34cc1ae8..389af3d9 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -20,11 +20,19 @@ executable('standalone-renderer-gst',
rygel_renderer_gst],
link_with: [core_lib, renderer_lib, renderer_gst_lib])
+fullscreen_resource = gnome.compile_resources(
+ 'fullscreen-renderer-resources',
+ 'org.gnome.Rygel.FullscreenRenderer.gresource.xml',
+ source_dir: [join_paths(meson.source_root(), 'data/icons/scalable')]
+)
+
executable('fullscreen-renderer',
- 'fullscreen-renderer.c',
- dependencies : [gstreamer_video,
- gtk,
- rygel_core,
- rygel_renderer,
- rygel_renderer_gst],
+['fullscreen-renderer.c', fullscreen_resource],
+ dependencies : [
+ gstreamer_video,
+ gtk,
+ rygel_core,
+ rygel_renderer,
+ rygel_renderer_gst
+ ],
link_with: [core_lib, renderer_lib, renderer_gst_lib])
diff --git a/meson.build b/meson.build
index d9a09be6..18ad880a 100644
--- a/meson.build
+++ b/meson.build
@@ -10,6 +10,7 @@ if not vala_version_found.version_compare(vala_version_required)
endif
i18n = import('i18n')
+gnome = import('gnome')
rygel_libdir = join_paths(get_option('prefix'), get_option('libdir'))
rygel_includedir = join_paths(get_option('includedir'), 'rygel-2.6')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]