subdir('renderer-plugins')
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])

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', fullscreen_resource],
           dependencies : [
               gstreamer_video,
               gtk,
               rygel_core,
               rygel_renderer,
               rygel_renderer_gst
           ],
           link_with: [core_lib, renderer_lib, renderer_gst_lib])
