summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2018-08-17 10:18:41 +0200
committerWim Taymans <wtaymans@redhat.com>2018-08-17 10:19:20 +0200
commitc06d775ddc5f97ce7583bb3344a2c59b74381966 (patch)
tree25ddfe7780e1bae2f44c80cc0b92bf14d37ac478 /meson.build
parente2c2b547428765a617c30623a1245b4a523c9bb2 (diff)
man: add man page for config file
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build10
1 files changed, 6 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index 9fe6188a..becc0e62 100644
--- a/meson.build
+++ b/meson.build
@@ -29,7 +29,9 @@ pipewire_libdir = join_paths(prefix, get_option('libdir'))
pipewire_localedir = join_paths(prefix, get_option('localedir'))
pipewire_sysconfdir = join_paths(prefix, get_option('sysconfdir'))
-modules_install_dir = join_paths(get_option('libdir'), 'pipewire-@0@'.format(apiversion))
+pipewire_configdir = join_paths(pipewire_sysconfdir, 'pipewire')
+modules_install_dir = join_paths(pipewire_libdir, 'pipewire-@0@'.format(apiversion))
+spa_plugindir = join_paths(pipewire_libdir, 'spa')
gnome = import('gnome')
@@ -55,10 +57,10 @@ cdata.set('PACKAGE_STRING', '"PipeWire @0@"'.format(pipewire_version))
cdata.set('PACKAGE_TARNAME', '"pipewire"')
cdata.set('PACKAGE_URL', '"http://pipewire.org"')
cdata.set('PACKAGE_VERSION', '"@0@"'.format(pipewire_version))
-cdata.set('MODULEDIR', '"@0@/pipewire-@1@"'.format(pipewire_libdir,apiversion))
-cdata.set('PIPEWIRE_CONFIG_DIR', '"@0@/pipewire"'.format(pipewire_sysconfdir))
+cdata.set('MODULEDIR', '"@0@"'.format(modules_install_dir))
+cdata.set('PIPEWIRE_CONFIG_DIR', '"@0@"'.format(pipewire_configdir))
cdata.set('VERSION', '"@0@"'.format(pipewire_version))
-cdata.set('PLUGINDIR', '"@0@/spa"'.format(pipewire_libdir))
+cdata.set('PLUGINDIR', '"@0@"'.format(spa_plugindir))
# FIXME: --with-memory-alignment],[8,N,malloc,pagesize (default is 32)]) option
cdata.set('MEMORY_ALIGNMENT_MALLOC', 1)