treewide: meson.build: use feature.allowed()

Since meson 0.59.0, a feature object has an `allowed()`
method which returns true when the feature is set to
'enabled' or 'auto'.

Utilize that instead of the previously used

  not feature.disabled()
This commit is contained in:
Barnabás Pőcze 2022-02-03 19:14:34 +01:00
parent 15e7a61aa7
commit cc73053512
10 changed files with 35 additions and 35 deletions

View file

@ -19,7 +19,7 @@ manpages = [
'pw-profiler.1.rst.in',
]
if not get_option('pipewire-jack').disabled()
if get_option('pipewire-jack').allowed()
manpages += 'pw-jack.1.rst.in'
endif