about summary refs log tree commit diff
path: root/pkgs/tools/misc/colord/fix-build-paths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/colord/fix-build-paths.patch')
-rw-r--r--pkgs/tools/misc/colord/fix-build-paths.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/tools/misc/colord/fix-build-paths.patch b/pkgs/tools/misc/colord/fix-build-paths.patch
index 7eb66a0b34be..d4bf0f36ad74 100644
--- a/pkgs/tools/misc/colord/fix-build-paths.patch
+++ b/pkgs/tools/misc/colord/fix-build-paths.patch
@@ -36,6 +36,13 @@
    )
  endif
  
+@@ -50,5 +50,5 @@
+   output : 'org.freedesktop.ColorManager.conf',
+   configuration : con2,
+   install: true,
+-  install_dir: join_paths(get_option('datadir'), 'dbus-1', 'system.d') ,
++  install_dir: join_paths(get_option('prefix'), 'etc', 'dbus-1', 'system.d') ,
+ )
 --- a/meson.build
 +++ b/meson.build
 @@ -258,6 +258,3 @@
@@ -54,3 +61,14 @@
 -  install_dir : join_paths(udev.get_pkgconfig_variable('udevdir'), 'rules.d')
 +  install_dir : join_paths(get_option('prefix'), 'lib', 'udev', 'rules.d')
  )
+--- a/src/plugins/meson.build
++++ b/src/plugins/meson.build
+@@ -66,7 +66,7 @@
+     install_dir: join_paths(get_option('libdir'), 'colord-plugins'),
+     c_args : [
+       cargs,
+-      '-DCOLORD_SANE_BINARY="' + join_paths(get_option('libexecdir'), 'colord-sane' + '"'),
++      '-DCOLORD_SANE_BINARY="' + join_paths(get_option('prefix'), get_option('libexecdir'), 'colord-sane' + '"'),
+     ],
+     dependencies : [
+       gio,