diff options
author | David Robillard <d@drobilla.net> | 2023-09-23 16:08:07 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-09-23 17:09:41 -0400 |
commit | 31a8dbcca82a394f0dd236776692a8a53a031777 (patch) | |
tree | 6e6e09921441c8ba33de9b88ae2db7ba3f402f49 /plugins | |
parent | 7e8c1c7f96ea94869040fadd4550852b5ad67911 (diff) | |
download | lv2-31a8dbcca82a394f0dd236776692a8a53a031777.tar.xz |
Format meson.build files with muon
The less time wasted with manual code formatting, the better.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/eg-amp.lv2/meson.build | 2 | ||||
-rw-r--r-- | plugins/eg-fifths.lv2/meson.build | 2 | ||||
-rw-r--r-- | plugins/eg-metro.lv2/meson.build | 2 | ||||
-rw-r--r-- | plugins/eg-midigate.lv2/meson.build | 2 | ||||
-rw-r--r-- | plugins/eg-params.lv2/meson.build | 2 | ||||
-rw-r--r-- | plugins/eg-sampler.lv2/meson.build | 28 | ||||
-rw-r--r-- | plugins/eg-scope.lv2/meson.build | 12 | ||||
-rw-r--r-- | plugins/meson.build | 4 |
8 files changed, 31 insertions, 23 deletions
diff --git a/plugins/eg-amp.lv2/meson.build b/plugins/eg-amp.lv2/meson.build index bc222d2..726038e 100644 --- a/plugins/eg-amp.lv2/meson.build +++ b/plugins/eg-amp.lv2/meson.build @@ -19,7 +19,7 @@ module = shared_library( config = configuration_data( { 'LIB_EXT': '.' + module.full_path().split('.')[-1], - } + }, ) foreach filename : data_filenames diff --git a/plugins/eg-fifths.lv2/meson.build b/plugins/eg-fifths.lv2/meson.build index 0fa8525..bba21ce 100644 --- a/plugins/eg-fifths.lv2/meson.build +++ b/plugins/eg-fifths.lv2/meson.build @@ -19,7 +19,7 @@ module = shared_library( config = configuration_data( { 'LIB_EXT': '.' + module.full_path().split('.')[-1], - } + }, ) foreach filename : data_filenames diff --git a/plugins/eg-metro.lv2/meson.build b/plugins/eg-metro.lv2/meson.build index def9e0b..5d83c9e 100644 --- a/plugins/eg-metro.lv2/meson.build +++ b/plugins/eg-metro.lv2/meson.build @@ -19,7 +19,7 @@ module = shared_library( config = configuration_data( { 'LIB_EXT': '.' + module.full_path().split('.')[-1], - } + }, ) foreach filename : data_filenames diff --git a/plugins/eg-midigate.lv2/meson.build b/plugins/eg-midigate.lv2/meson.build index 609ee3a..9f0a5ac 100644 --- a/plugins/eg-midigate.lv2/meson.build +++ b/plugins/eg-midigate.lv2/meson.build @@ -19,7 +19,7 @@ module = shared_library( config = configuration_data( { 'LIB_EXT': '.' + module.full_path().split('.')[-1], - } + }, ) foreach filename : data_filenames diff --git a/plugins/eg-params.lv2/meson.build b/plugins/eg-params.lv2/meson.build index 5b06709..00602bc 100644 --- a/plugins/eg-params.lv2/meson.build +++ b/plugins/eg-params.lv2/meson.build @@ -19,7 +19,7 @@ module = shared_library( config = configuration_data( { 'LIB_EXT': '.' + module.full_path().split('.')[-1], - } + }, ) foreach filename : data_filenames diff --git a/plugins/eg-sampler.lv2/meson.build b/plugins/eg-sampler.lv2/meson.build index 0916ff6..9700df2 100644 --- a/plugins/eg-sampler.lv2/meson.build +++ b/plugins/eg-sampler.lv2/meson.build @@ -6,18 +6,24 @@ ui_sources = files('sampler_ui.c') bundle_name = 'eg-sampler.lv2' data_filenames = ['manifest.ttl.in', 'sampler.ttl', 'click.wav'] -samplerate_dep = dependency('samplerate', - version: '>= 0.1.0', - required: get_option('plugins')) +samplerate_dep = dependency( + 'samplerate', + required: get_option('plugins'), + version: '>= 0.1.0', +) -sndfile_dep = dependency('sndfile', - version: '>= 1.0.0', - required: get_option('plugins')) +sndfile_dep = dependency( + 'sndfile', + required: get_option('plugins'), + version: '>= 1.0.0', +) -gtk2_dep = dependency('gtk+-2.0', - include_type: 'system', - required: get_option('plugins'), - version: '>= 2.18.0') +gtk2_dep = dependency( + 'gtk+-2.0', + include_type: 'system', + required: get_option('plugins'), + version: '>= 2.18.0', +) if samplerate_dep.found() and sndfile_dep.found() module = shared_library( @@ -57,7 +63,7 @@ if samplerate_dep.found() and sndfile_dep.found() if cc.get_id() == 'gcc' ui_suppressions += ['-Wno-strict-overflow'] endif - + shared_library( 'sampler_ui', ui_sources, diff --git a/plugins/eg-scope.lv2/meson.build b/plugins/eg-scope.lv2/meson.build index 773a3d0..d776ee7 100644 --- a/plugins/eg-scope.lv2/meson.build +++ b/plugins/eg-scope.lv2/meson.build @@ -6,10 +6,12 @@ ui_sources = files('examploscope_ui.c') bundle_name = 'eg-scope.lv2' data_filenames = ['manifest.ttl.in', 'examploscope.ttl.in'] -gtk2_dep = dependency('gtk+-2.0', - include_type: 'system', - required: get_option('plugins'), - version: '>= 2.18.0') +gtk2_dep = dependency( + 'gtk+-2.0', + include_type: 'system', + required: get_option('plugins'), + version: '>= 2.18.0', +) module = shared_library( 'examploscope', @@ -25,7 +27,7 @@ module = shared_library( config = configuration_data( { 'LIB_EXT': '.' + module.full_path().split('.')[-1], - } + }, ) foreach filename : data_filenames diff --git a/plugins/meson.build b/plugins/meson.build index 098f585..ff70af1 100644 --- a/plugins/meson.build +++ b/plugins/meson.build @@ -18,8 +18,8 @@ if not get_option('docs').disabled() asciidoc = find_program('asciidoc', required: get_option('docs')) if asciidoc.found() - book_inputs = files( - 'README.txt', + book_inputs = files('README.txt') + book_inputs += files( 'eg-amp.lv2/README.txt', 'eg-amp.lv2/amp.c', 'eg-amp.lv2/amp.ttl', |