UPDATING: update with meson instructions

This commit is contained in:
Guillaume Desmottes 2020-03-24 14:31:57 +01:00
parent f2003f80d1
commit f13529b5b8

View File

@ -29,7 +29,7 @@ project source code.
system upstreama. system upstreama.
* Arch-specific files usually have special handling in the corresponding * Arch-specific files usually have special handling in the corresponding
Makefile.am. meson.build.
4. Once everything has been copied and updated, everything needs to be built. 4. Once everything has been copied and updated, everything needs to be built.
Missing dependencies (files that were not copied, or new modules that are Missing dependencies (files that were not copied, or new modules that are
@ -43,20 +43,19 @@ project source code.
* The current policy is that we mirror upstream API as-is. * The current policy is that we mirror upstream API as-is.
* Update configure.ac with the appropriate version info based on how the * Update soversion in meson.build with the appropriate version info based on how the
code has changed. Details on how to do this are included in the code has changed. Details on how to do this are included in the
[libtool documentation][libtool-version-info]. [libtool documentation][libtool-version-info].
5. Build PulseAudio (and/or any other dependent projects) against the new code. 5. Build PulseAudio (and/or any other dependent projects) against the new code.
The easy way to do this is via a prefixed install. The easy way to do this is via a prefixed install.
* Run ```configure``` webrtc-audio-processing with * Configure webrtc-audio-processing with
```--prefix=/some/local/path```, then do a ```make``` and ```meson build -D prefix=$(pwd)/install```, then do a ```ninja -C build/ install```
```make install```.
* Run ```configure``` on PulseAudio with * Configure PulseAudio with
```PKG_CONFIG_PATH=/some/local/path/lib/pkgconfig```, which will cause the ```meson build -D pkg_config_path=/path/to/webrtc-audio-processing/install/lib64/pkgconfig/```, which will cause the
build to pick up the prefixed install. Then do a ```make```, run the built build to pick up the prefixed install. Then do a ```ninja -C build```, run the built
PulseAudio, and load ```module-echo-cancel``` to make sure it loads fine. PulseAudio, and load ```module-echo-cancel``` to make sure it loads fine.
* Run some test streams through the canceller to make sure it is working * Run some test streams through the canceller to make sure it is working