[pulseaudio-commits] [Git][pulseaudio/webrtc-audio-processing][master] 4 commits: doc: Fix up release process

Arun Raghavan gitlab at gitlab.freedesktop.org
Fri Dec 11 03:22:17 UTC 2020



Arun Raghavan pushed to branch master at PulseAudio / webrtc-audio-processing


Commits:
00ae7eb2 by Arun Raghavan at 2020-11-27T16:47:09-05:00
doc: Fix up release process

Missed a trailing '/' while generating the archive with disastrous
results.

- - - - -
8ce8bebb by Arun Raghavan at 2020-12-10T18:24:05-05:00
build: Bump project version to 1.1

- - - - -
ce1a7888 by Arun Raghavan at 2020-12-10T18:24:05-05:00
build: Revert top-level project name to not have a prefix

Should make meson dist easier to work with.

- - - - -
3f9907f9 by Arun Raghavan at 2020-12-10T19:20:09-05:00
build: Use cmake to look up abseil dependency

This should be much more robust than looking up the library directly.

Fixes: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/4

- - - - -


3 changed files:

- .gitlab-ci.yml
- RELEASING.md
- meson.build


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -19,7 +19,7 @@ variables:
   # CI runs, for example when adding new packages to FDO_DISTRIBUTION_PACKAGES.
   # The tag is an arbitrary string that identifies the exact container
   # contents.
-  BASE_TAG: '2020-11-27.1'
+  BASE_TAG: '2020-12-10.1'
   FDO_DISTRIBUTION_VERSION: '20.10'
   FDO_UPSTREAM_REPO: 'pulseaudio/webrtc-audio-processing'
 
@@ -43,6 +43,7 @@ include:
     FDO_DISTRIBUTION_PACKAGES: >-
       g++
       gcc
+      cmake
       libabsl-dev
       meson
       ninja-build


=====================================
RELEASING.md
=====================================
@@ -26,10 +26,21 @@ git tag -s -m 'WebRTC AudioProcessing v<X.y>' v<X.y>
 
 ```sh
 git archive --format 'tar.gz' \
-  --prefix webrtc-audio-processing-X.y -9 vX.y \
+  --prefix 'webrtc-audio-processing-X.y/' -9 vX.y \
   > webrtc-audio-processing-X.y.tar.gz
 ```
 
+## Do a test build
+
+```sh
+tar xvf webrtc-audio-processing-X.y.tar.gz
+cd webrtc-audio-processing-X.y
+meson . build -Dprefix=$PWD/install
+ninja -C build
+ninja -C build install
+cd ..
+```
+
 ## Checksum the tarball
 
 ```sh


=====================================
meson.build
=====================================
@@ -1,5 +1,5 @@
-project('webrtc-audio-processing-1', 'c', 'cpp',
-  version : '1.0',
+project('webrtc-audio-processing', 'c', 'cpp',
+  version : '1.1',
   meson_version : '>= 0.54',
   default_options : [ 'warning_level=1',
                       'buildtype=debugoptimized',
@@ -27,7 +27,7 @@ ac_minor_version = minor_version
 ac_version = ac_major_version + '.' + ac_minor_version
 ac_project_name = 'webrtc-audio-coding-' + ac_major_version
 
-include_subdir = meson.project_name()
+include_subdir = apm_project_name
 
 cc = meson.get_compiler('c')
 cpp = meson.get_compiler('cpp')
@@ -40,19 +40,14 @@ os_deps = []
 have_posix = false
 have_win = false
 
-absl_dep = [
-  cpp.find_library('absl_base'),
-  cpp.find_library('absl_bad_optional_access'),
-  cpp.find_library('absl_flags_internal'),
-  cpp.find_library('absl_flags_marshalling'),
-  cpp.find_library('absl_flags_parse'),
-  cpp.find_library('absl_flags_registry'),
-  cpp.find_library('absl_flags_usage_internal'),
-  cpp.find_library('absl_raw_logging_internal'),
-  cpp.find_library('absl_strings'),
-  cpp.find_library('absl_synchronization'),
-  cpp.find_library('absl_throw_delegate'),
-]
+absl_dep = dependency('absl', method : 'cmake',
+  modules : [
+    'absl::base',
+    'absl::flags_parse',
+    'absl::strings',
+    'absl::synchronization',
+  ]
+)
 
 if ['darwin', 'ios'].contains(host_system)
   os_cflags = ['-DWEBRTC_MAC']



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/compare/d353e9242598c8f53285068f0498290b53a6fd32...3f9907f93d3983033e176e95f5134a57900a7f6e

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/compare/d353e9242598c8f53285068f0498290b53a6fd32...3f9907f93d3983033e176e95f5134a57900a7f6e
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20201211/1670cce9/attachment-0001.htm>


More information about the pulseaudio-commits mailing list