summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2019-02-12 23:04:12 +0100
committerJens Georg <mail@jensge.org>2019-02-12 23:04:12 +0100
commit7fb63dd95112618ac49fb63dafc9e431b0a672df (patch)
treedd61c60a78d9ece9b3a677a09015f38a1a8bdab5
parent1ebf4a7b269300f1393b19cb4770a57664cd485d (diff)
downloadrygel-7fb63dd95112618ac49fb63dafc9e431b0a672df.tar.gz
build: Add missing resource
-rw-r--r--examples/meson.build20
-rw-r--r--meson.build1
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')