meson: Fix build of padsp

- Rename "pulsedspdir" to the same "padsplibdir" that Autotools uses.

 - Add a new option "pulsedsp-location" that is only used for padsp.in,
   just like Autotools' --with-pulsedsp-location.

 - Use 'set' instead of 'set_quoted' to avoid PULSEDSP_LOCATION getting
   quoted twice.
This commit is contained in:
Jan Alexander Steffens (heftig) 2019-07-11 00:52:50 +02:00 committed by Arun Raghavan
parent 9e70d05201
commit 09231eaead
3 changed files with 19 additions and 8 deletions

View file

@ -30,9 +30,15 @@ option('running-from-build-tree',
# Paths
option('pulsedspdir',
option('padsplibdir',
type : 'string',
description : 'Specify location where OSS wrapper will be installed')
description : 'Specify location where OSS wrapper library will be installed')
# This one gets inserted into a shell double-quoted string, so needs to be escaped (\$LIB). Meson
# removes a layer of escapes when parsing the description string, so we need to double the
# backslashes for "meson configure" to display the right text.
option('pulsedsp-location',
type : 'string',
description : 'Specify location where OSS wrapper library will be loaded from; can use \\$LIB')
option('modlibexecdir',
type : 'string',
description : 'Specify location where modules will be installed')