[rygel/wip/meson: 27/49] meson: Add examples



commit 2b1dfb9bce1a83f2b3e6787269194bc7543ffeb2
Author: Jens Georg <mail jensge org>
Date:   Tue May 23 16:31:17 2017 +0200

    meson: Add examples

 examples/meson.build | 30 ++++++++++++++++++++++++++++++
 meson.build          |  2 ++
 2 files changed, 32 insertions(+)
---
diff --git a/examples/meson.build b/examples/meson.build
new file mode 100644
index 00000000..ef97ace9
--- /dev/null
+++ b/examples/meson.build
@@ -0,0 +1,30 @@
+#subdir('renderer-plguins')
+#subdir('server-plugins')
+
+executable('standalone-server',
+           'standalone-server.c',
+           dependencies : [gio, rygel_core, rygel_server],
+           link_with : [core_lib, server_lib])
+
+executable('standalone-ruih',
+           'standalone-ruih.c',
+           dependencies : [gio, rygel_core, rygel_ruih],
+           link_with: [core_lib, ruih_lib])
+
+executable('standalone-renderer-gst',
+           'standalone-renderer-gst.c',
+           dependencies : [gstreamer,
+                           gstreamer_video,
+                           rygel_core,
+                           rygel_renderer,
+                           rygel_renderer_gst],
+           link_with: [core_lib, renderer_lib, renderer_gst_lib])
+
+executable('fullscreen-renderer',
+           'fullscreen-renderer.c',
+           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 7b87ae11..0f21f2cf 100644
--- a/meson.build
+++ b/meson.build
@@ -61,6 +61,7 @@ gstreamer = dependency('gstreamer-1.0', version : '>= 1.0')
 gstreamer_pbu = dependency('gstreamer-pbutils-1.0', version : '>= 1.0')
 gstreamer_base = dependency('gstreamer-base-1.0', version : '>= 1.0')
 gstreamer_audio = dependency('gstreamer-audio-1.0', version : '>= 1.0')
+gstreamer_video = dependency('gstreamer-video-1.0', version : '>= 1.0')
 gstreamer_tag = dependency('gstreamer-tag-1.0', version : '>= 1.0')
 
 gdk_pixbuf = dependency('gdk-pixbuf-2.0')
@@ -152,3 +153,4 @@ subdir('src')
 subdir('po')
 subdir('data')
 subdir('doc')
+subdir('examples')


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