pipewire: module-roc-{sink,source}: port to ROC v0.3.X

ROC 0.3 introduced breaking changes, so adjust the code.
Also set the minimum supported ROC version to 0.3.0.

Fixes #3667
This commit is contained in:
Barnabás Pőcze 2023-11-22 18:30:57 +01:00
parent 5d62bf5c06
commit 333fd8d2ae
6 changed files with 11 additions and 12 deletions

View file

@ -624,7 +624,7 @@ if build_module_raop
endif
summary({'raop-sink (requires OpenSSL)': build_module_raop}, bool_yn: true, section: 'Optional Modules')
roc_dep = dependency('roc', required: get_option('roc'))
roc_dep = dependency('roc', version: '>= 0.3.0', required: get_option('roc'))
summary({'ROC': roc_dep.found()}, bool_yn: true, section: 'Streaming between daemons')
pipewire_module_rtp_source = shared_library('pipewire-module-rtp-source',