fix pipewire error
This commit is contained in:
1 file changed
+92
@@ -379,6 +379,98 @@ jobs:
|
||||
-name 'libfido2*' \
|
||||
-print
|
||||
|
||||
- name: Install modern PipeWire
|
||||
shell: bash
|
||||
run: |
|
||||
set -euxo pipefail
|
||||
|
||||
PIPEWIRE_VERSION="1.0.5"
|
||||
|
||||
rm -rf /tmp/pipewire
|
||||
|
||||
git clone \
|
||||
--depth 1 \
|
||||
--branch "${PIPEWIRE_VERSION}" \
|
||||
https://github.com/PipeWire/pipewire.git \
|
||||
/tmp/pipewire
|
||||
|
||||
meson setup \
|
||||
/tmp/pipewire/build \
|
||||
/tmp/pipewire \
|
||||
--prefix=/usr/local \
|
||||
--libdir=lib/x86_64-linux-gnu \
|
||||
--buildtype=release \
|
||||
-Ddocs=disabled \
|
||||
-Dman=disabled \
|
||||
-Dexamples=disabled \
|
||||
-Dtests=disabled \
|
||||
-Dinstalled_tests=disabled \
|
||||
-Dsession-managers=[] \
|
||||
-Dgstreamer=disabled \
|
||||
-Dsystemd=disabled \
|
||||
-Dselinux=disabled \
|
||||
-Dpipewire-jack=disabled \
|
||||
-Dpipewire-v4l2=disabled \
|
||||
-Dbluez5=disabled \
|
||||
-Djack=disabled \
|
||||
-Dv4l2=disabled \
|
||||
-Dlibcamera=disabled \
|
||||
-Dvulkan=disabled \
|
||||
-Dsdl2=disabled \
|
||||
-Dlibmysofa=disabled \
|
||||
-Droc=disabled \
|
||||
-Davahi=disabled \
|
||||
-Decho-cancel-webrtc=disabled \
|
||||
-Dlibusb=disabled \
|
||||
-Draop=disabled \
|
||||
-Dlv2=disabled \
|
||||
-Dlibcanberra=disabled \
|
||||
-Dlibffado=disabled
|
||||
|
||||
meson compile \
|
||||
-C /tmp/pipewire/build \
|
||||
-j "$(nproc)"
|
||||
|
||||
meson install \
|
||||
-C /tmp/pipewire/build
|
||||
|
||||
ldconfig
|
||||
|
||||
export PKG_CONFIG_PATH="/usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig"
|
||||
|
||||
echo "=== PipeWire ==="
|
||||
|
||||
pkg-config \
|
||||
--modversion \
|
||||
libpipewire-0.3
|
||||
|
||||
pkg-config \
|
||||
--modversion \
|
||||
libspa-0.2
|
||||
|
||||
echo "=== PipeWire CFLAGS ==="
|
||||
|
||||
pkg-config \
|
||||
--cflags \
|
||||
libpipewire-0.3
|
||||
|
||||
pkg-config \
|
||||
--cflags \
|
||||
libspa-0.2
|
||||
|
||||
echo "=== Checking headers ==="
|
||||
|
||||
grep -R \
|
||||
"spa_meta_region_is_valid" \
|
||||
/usr/local/include/spa-0.2/spa \
|
||||
| head
|
||||
|
||||
echo "=== PipeWire libraries ==="
|
||||
|
||||
find /usr/local/lib \
|
||||
\( -name 'libpipewire-0.3.so*' -o -name 'libspa*.so*' \) \
|
||||
-print
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user