[rhythmbox/wip/sam/meson: 38/39] Add build instructions for rhythmbox-client



commit ea0e4e5b5a8b945ad88cccf6ca03776105ed3982
Author: Sam Thursfield <sam afuera me uk>
Date:   Wed Nov 9 20:37:59 2016 +0000

    Add build instructions for rhythmbox-client

 meson.build             |    1 +
 remote/dbus/meson.build |   16 ++++++++++++++++
 remote/meson.build      |    1 +
 3 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/meson.build b/meson.build
index 34918ff..cad66be 100644
--- a/meson.build
+++ b/meson.build
@@ -465,6 +465,7 @@ subdir('sources')
 subdir('widgets')
 subdir('shell')
 subdir('plugins')
+subdir('remote')
 
 subdir('tests')
 
diff --git a/remote/dbus/meson.build b/remote/dbus/meson.build
new file mode 100644
index 0000000..252d16f
--- /dev/null
+++ b/remote/dbus/meson.build
@@ -0,0 +1,16 @@
+client_c_args = [
+  '-DGNOMELOCALEDIR="' + get_option('datadir') + '/locale"',
+  '-DG_LOG_DOMAIN="Rhythmbox"',
+  '-DPIXMAP_DIR="' + get_option('datadir') + '/pixmaps"',
+  '-DSHARE_DIR="' + get_option('datadir') + '"',
+  '-DDATADIR="' + get_option('datadir') + '"',
+  '-D__EXTENSIONS__',
+]
+
+executable('rhythmbox-client',
+    'rb-client.c',
+    c_args: client_c_args,
+    dependencies: lib_dep,
+    install: true,
+    install_rpath: rpath
+)
diff --git a/remote/meson.build b/remote/meson.build
new file mode 100644
index 0000000..654a101
--- /dev/null
+++ b/remote/meson.build
@@ -0,0 +1 @@
+subdir('dbus')


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