wireplumber/reduce-meson-required-version.patch
Antonio Larrosa f5cfdfb8e7 Accepting request 929023 from home:alarrosa:branches:multimedia:libs
- Add patch from upstream to fix a problem saving the default
  route:
  * 0001-add-missing-break-in-best-route-selection-logic.patch
- Add patch to let wireplumber build in Leap 15.3/SLE-15-SP3
  which only have meson 0.54:
  * reduce-meson-required-version.patch

- Add %post/%pre/... sections to enable the user service
  automatically

OBS-URL: https://build.opensuse.org/request/show/929023
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=7
2021-11-03 13:04:02 +00:00

25 lines
833 B
Diff

Index: wireplumber/meson.build
===================================================================
--- wireplumber.orig/meson.build
+++ wireplumber/meson.build
@@ -1,7 +1,7 @@
project('wireplumber', ['c'],
version : '0.4.4',
license : 'MIT',
- meson_version : '>= 0.56.0',
+ meson_version : '>= 0.54.0',
default_options : [
'warning_level=1',
'buildtype=debugoptimized',
@@ -123,8 +123,8 @@ endif
conf_uninstalled = configuration_data()
conf_uninstalled.set('MESON', '')
-conf_uninstalled.set('MESON_SOURCE_ROOT', meson.project_source_root())
-conf_uninstalled.set('MESON_BUILD_ROOT', meson.project_build_root())
+conf_uninstalled.set('MESON_SOURCE_ROOT', meson.source_root())
+conf_uninstalled.set('MESON_BUILD_ROOT', meson.build_root())
wp_uninstalled = configure_file(
input : 'wp-uninstalled.sh',