[rygel/wip/meson: 68/85] meson: Add preferences ui



commit 0bcdac29df96b2b69e5d8653df594815b5c46699
Author: Jens Georg <mail jensge org>
Date:   Sun May 21 21:00:47 2017 +0200

    meson: Add preferences ui

 meson.build        |  3 +++
 src/meson.build    |  1 +
 src/ui/meson.build | 11 +++++++++++
 3 files changed, 15 insertions(+)
---
diff --git a/meson.build b/meson.build
index 3e14d579..ec807b21 100644
--- a/meson.build
+++ b/meson.build
@@ -27,6 +27,7 @@ conf.set('SMALL_ICON_DIR', '"@0@"'.format(rygel_smallicondir))
 conf.set('SYS_CONFIG_DIR', '"@0@"'.format(rygel_sysconfdir))
 conf.set('LOCALEDIR', '"@0@"'.format(join_paths(get_option('prefix'), get_option('localedir'))))
 conf.set('MX_EXTRACT_PATH', '"@0@"'.format(join_paths(rygel_libexecdir, 'mx-extract')))
+conf.set('DESKTOP_DIR', '"@0@"'.format(join_paths(rygel_datadir, 'applications')))
 config_include = include_directories('.')
 
 add_global_arguments(['-include','config.h'], language : 'c')
@@ -54,6 +55,7 @@ gstreamer_audio = dependency('gstreamer-audio-1.0', version : '>= 1.0')
 gstreamer_tag = dependency('gstreamer-tag-1.0', version : '>= 1.0')
 
 gdk_pixbuf = dependency('gdk-pixbuf-2.0')
+gtk = dependency('gtk+-3.0', version : '>= 3.0')
 
 tracker_sparql = dependency('tracker-sparql-1.0')
 
@@ -93,6 +95,7 @@ mx_export_deps = common_deps + [gio, gio_unix, gstreamer, gstreamer_pbu,
                                 soup]
 mx_plugin_deps = common_deps + [gstreamer, gstreamer_pbu, gio_unix, gupnp_dlna]
 tracker_plugin_deps = common_deps + [tracker_sparql]
+ui_deps = common_deps + [gtk]
 
 configure_file(output: 'config.h', configuration: conf)
 
diff --git a/src/meson.build b/src/meson.build
index 740860ee..990929a6 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -6,5 +6,6 @@ subdir('librygel-ruih')
 subdir('librygel-server')
 subdir('media-engines')
 subdir('rygel')
+subdir('ui')
 
 subdir('plugins')
diff --git a/src/ui/meson.build b/src/ui/meson.build
new file mode 100644
index 00000000..73fc9c11
--- /dev/null
+++ b/src/ui/meson.build
@@ -0,0 +1,11 @@
+rygel_preferences_sources = [
+    'rygel-preferences-dialog.vala',
+    'rygel-preferences-section.vala',
+    'rygel-media-pref-section.vala',
+    'rygel-writable-user-config.vala',
+    'rygel-network-pref-section.vala']
+
+executable('rygel-preferences',
+           rygel_preferences_sources,
+           dependencies : ui_deps + [build_config, rygel_core],
+           install: true)


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