The meson build fails because it can't find libpipewire-0.3
I am not sure this a problem with obs-xdg-portal but I can't find anything that helps me on the web. Sorry in advance if that is out of place.
Although pipewire
is installed, the meson build can't find it:
❯ meson . _build --prefix /usr
The Meson build system
Version: 0.55.3
Source dir: /home/didier/Code/External/obs-xdg-portal
Build dir: /home/didier/Code/External/obs-xdg-portal/_build
Build type: native build
Project name: obs-xdg-portal
Project version: undefined
C compiler for the host machine: cc (gcc 10.2.1 "cc (GCC) 10.2.1 20201125 (Red Hat 10.2.1-9)")
C linker for the host machine: cc ld.bfd 2.35-18
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency libobs found: YES 26.1.2-219-geb98505a2
Run-time dependency gio-2.0 found: YES 2.66.7
Run-time dependency gio-unix-2.0 found: YES 2.66.7
Found CMake: /usr/bin/cmake (3.18.4)
Run-time dependency libpipewire-0.3 found: NO (tried pkgconfig and cmake)
meson.build:13:0: ERROR: Dependency "libpipewire-0.3" not found, tried pkgconfig and cmake
A full log can be found at /home/didier/Code/External/obs-xdg-portal/_build/meson-logs/meson-log.txt
My configuration:
❯ dnf repoquery --installed '*pipewire*'
pipewire-0:0.3.23-1.fc33.x86_64
pipewire-alsa-0:0.3.23-1.fc33.x86_64
pipewire-gstreamer-0:0.3.23-1.fc33.x86_64
pipewire-jack-audio-connection-kit-0:0.3.23-1.fc33.x86_64
pipewire-libs-0:0.3.23-1.fc33.x86_64
pipewire-pulseaudio-0:0.3.23-1.fc33.x86_64
pipewire-utils-0:0.3.23-1.fc33.x86_64
pipewire0.2-libs-0:0.2.7-4.fc33.x86_64
❯ dnf repoquery -l pipewire-libs-0:0.3.23-1.fc33.x86_64
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/ac6fc147eeba24a52f40f8487bfe0d1398b7e1
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/d05a9a1b9cb8fa4d01c1f67a2d21d9a8bcacc3
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/4445d65071e7462317bbebcc22b003626662d1
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/f4e4cf852a7c2a4db15742161586baa1cfa45b
/usr/lib/.build-id/35
/usr/lib/.build-id/35/5231d162164bf72367e2b54da31d77506f2d3a
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/a59dc5ba7b9aab3fdacbfd9ef12e241e2045e9
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/9e7d9886fcc948fe65e6d6a24b896ead7e243f
/usr/lib/.build-id/41
/usr/lib/.build-id/41/eccc722b524dfd94c432c9132e8355015875f2
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/4f9723edf8decffb00cdeffa01d203fc036b0c
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/258e02da6083905c32d4cf2ed39f117525186e
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/208e1310aa0f3614e6fdd8852b92f264bab766
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/f054bdaf7c7bf6979b002bbf0b3d08c4153dc3
/usr/lib/.build-id/62
/usr/lib/.build-id/62/48273f3d7a837483882f33005b84f420e5dffe
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/2c04b62193021b3eb873ca056d955bea3d1cd0
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/c26200ae30e1deaf2b3ba9709c0846b003223d
/usr/lib/.build-id/83
/usr/lib/.build-id/83/7acde4b144f8c9299caa11119e77d66e422dcf
/usr/lib/.build-id/89
/usr/lib/.build-id/89/85144f469b0ff2fbd031ba75d30f1f97df4706
/usr/lib/.build-id/93
/usr/lib/.build-id/93/23b1984722104fc63afb4063881f6b295a4ba3
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/24a16b0a75824eda1e40c353d02b54f39529ea
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/f33a2900d2f4ff26a33b5e917eafc4df3ab368
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/c2d9e6b4ae8cd83c1c1a5961b2bb70bd711669
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/6a883b6bfcdf9f24e5a17035c82688c6b31277
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/cbceba557dc5ff86dffa8eb42cbe39beabf052
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/b82f69318b3bd7acd04292eb250f728b7f70c0
/usr/lib/.build-id/db
/usr/lib/.build-id/db/0a4ab0980f224aa99cf15310fa5c24cce84fa1
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/10511f5bbbe398638b2b485409a7a33d202baf
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/1e7db98d161ddbcee15c5242e4962192447b24
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/178f06ccc8c0e845a0275fd532feb65bcdf464
/usr/lib/udev/rules.d/90-pipewire-alsa.rules
/usr/lib64/libpipewire-0.3.so.0
/usr/lib64/libpipewire-0.3.so.0.323.0
/usr/lib64/pipewire-0.3/libpipewire-module-access.so
/usr/lib64/pipewire-0.3/libpipewire-module-adapter.so
/usr/lib64/pipewire-0.3/libpipewire-module-client-device.so
/usr/lib64/pipewire-0.3/libpipewire-module-client-node.so
/usr/lib64/pipewire-0.3/libpipewire-module-link-factory.so
/usr/lib64/pipewire-0.3/libpipewire-module-metadata.so
/usr/lib64/pipewire-0.3/libpipewire-module-portal.so
/usr/lib64/pipewire-0.3/libpipewire-module-profiler.so
/usr/lib64/pipewire-0.3/libpipewire-module-protocol-native.so
/usr/lib64/pipewire-0.3/libpipewire-module-protocol-pulse.so
/usr/lib64/pipewire-0.3/libpipewire-module-rtkit.so
/usr/lib64/pipewire-0.3/libpipewire-module-session-manager.so
/usr/lib64/pipewire-0.3/libpipewire-module-spa-device-factory.so
/usr/lib64/pipewire-0.3/libpipewire-module-spa-device.so
/usr/lib64/pipewire-0.3/libpipewire-module-spa-node-factory.so
/usr/lib64/pipewire-0.3/libpipewire-module-spa-node.so
/usr/lib64/spa-0.2
/usr/lib64/spa-0.2/alsa
/usr/lib64/spa-0.2/alsa/libspa-alsa.so
/usr/lib64/spa-0.2/audioconvert
/usr/lib64/spa-0.2/audioconvert/libspa-audioconvert.so
/usr/lib64/spa-0.2/audiomixer
/usr/lib64/spa-0.2/audiomixer/libspa-audiomixer.so
/usr/lib64/spa-0.2/bluez5
/usr/lib64/spa-0.2/bluez5/libspa-bluez5.so
/usr/lib64/spa-0.2/control
/usr/lib64/spa-0.2/control/libspa-control.so
/usr/lib64/spa-0.2/support
/usr/lib64/spa-0.2/support/libspa-dbus.so
/usr/lib64/spa-0.2/support/libspa-journal.so
/usr/lib64/spa-0.2/support/libspa-support.so
/usr/lib64/spa-0.2/v4l2
/usr/lib64/spa-0.2/v4l2/libspa-v4l2.so
/usr/lib64/spa-0.2/videoconvert
/usr/lib64/spa-0.2/videoconvert/libspa-videoconvert.so
/usr/lib64/spa-0.2/vulkan
/usr/lib64/spa-0.2/vulkan/libspa-vulkan.so
/usr/share/alsa-card-profile
/usr/share/alsa-card-profile/mixer
/usr/share/alsa-card-profile/mixer/paths
/usr/share/alsa-card-profile/mixer/paths/analog-input-aux.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-dock-mic.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-fm.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-front-mic.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-headphone-mic.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-headset-mic.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-internal-mic-always.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-internal-mic.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-linein.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-mic-line.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-mic.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-mic.conf.common
/usr/share/alsa-card-profile/mixer/paths/analog-input-rear-mic.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-tvtuner.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input-video.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input.conf
/usr/share/alsa-card-profile/mixer/paths/analog-input.conf.common
/usr/share/alsa-card-profile/mixer/paths/analog-output-chat.conf
/usr/share/alsa-card-profile/mixer/paths/analog-output-headphones-2.conf
/usr/share/alsa-card-profile/mixer/paths/analog-output-headphones.conf
/usr/share/alsa-card-profile/mixer/paths/analog-output-lineout.conf
/usr/share/alsa-card-profile/mixer/paths/analog-output-mono.conf
/usr/share/alsa-card-profile/mixer/paths/analog-output-speaker-always.conf
/usr/share/alsa-card-profile/mixer/paths/analog-output-speaker.conf
/usr/share/alsa-card-profile/mixer/paths/analog-output.conf
/usr/share/alsa-card-profile/mixer/paths/analog-output.conf.common
/usr/share/alsa-card-profile/mixer/paths/hdmi-output-0.conf
/usr/share/alsa-card-profile/mixer/paths/hdmi-output-1.conf
/usr/share/alsa-card-profile/mixer/paths/hdmi-output-10.conf
/usr/share/alsa-card-profile/mixer/paths/hdmi-output-2.conf
/usr/share/alsa-card-profile/mixer/paths/hdmi-output-3.conf
/usr/share/alsa-card-profile/mixer/paths/hdmi-output-4.conf
/usr/share/alsa-card-profile/mixer/paths/hdmi-output-5.conf
/usr/share/alsa-card-profile/mixer/paths/hdmi-output-6.conf
/usr/share/alsa-card-profile/mixer/paths/hdmi-output-7.conf
/usr/share/alsa-card-profile/mixer/paths/hdmi-output-8.conf
/usr/share/alsa-card-profile/mixer/paths/hdmi-output-9.conf
/usr/share/alsa-card-profile/mixer/paths/iec958-stereo-input.conf
/usr/share/alsa-card-profile/mixer/paths/iec958-stereo-output.conf
/usr/share/alsa-card-profile/mixer/paths/steelseries-arctis-output-chat-common.conf
/usr/share/alsa-card-profile/mixer/paths/steelseries-arctis-output-game-common.conf
/usr/share/alsa-card-profile/mixer/paths/usb-gaming-headset-input.conf
/usr/share/alsa-card-profile/mixer/paths/usb-gaming-headset-output-mono.conf
/usr/share/alsa-card-profile/mixer/paths/usb-gaming-headset-output-stereo.conf
/usr/share/alsa-card-profile/mixer/paths/virtual-surround-7.1.conf
/usr/share/alsa-card-profile/mixer/profile-sets
/usr/share/alsa-card-profile/mixer/profile-sets/audigy.conf
/usr/share/alsa-card-profile/mixer/profile-sets/behringer-umc22.conf
/usr/share/alsa-card-profile/mixer/profile-sets/cmedia-high-speed-true-hdaudio.conf
/usr/share/alsa-card-profile/mixer/profile-sets/default.conf
/usr/share/alsa-card-profile/mixer/profile-sets/dell-dock-tb16-usb-audio.conf
/usr/share/alsa-card-profile/mixer/profile-sets/force-speaker-and-int-mic.conf
/usr/share/alsa-card-profile/mixer/profile-sets/force-speaker.conf
/usr/share/alsa-card-profile/mixer/profile-sets/hp-tbt-dock-120w-g2.conf
/usr/share/alsa-card-profile/mixer/profile-sets/hp-tbt-dock-audio-module.conf
/usr/share/alsa-card-profile/mixer/profile-sets/kinect-audio.conf
/usr/share/alsa-card-profile/mixer/profile-sets/maudio-fasttrack-pro.conf
/usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-audio4dj.conf
/usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-audio8dj.conf
/usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-korecontroller.conf
/usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-traktor-audio10.conf
/usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-traktor-audio2.conf
/usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-traktor-audio6.conf
/usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-traktorkontrol-s4.conf
/usr/share/alsa-card-profile/mixer/profile-sets/sb-omni-surround-5.1.conf
/usr/share/alsa-card-profile/mixer/profile-sets/sennheiser-gsx.conf
/usr/share/alsa-card-profile/mixer/profile-sets/simple-headphones-mic.conf
/usr/share/alsa-card-profile/mixer/profile-sets/steelseries-arctis-common-usb-audio.conf
/usr/share/alsa-card-profile/mixer/profile-sets/usb-gaming-headset.conf
/usr/share/doc/pipewire-libs
/usr/share/doc/pipewire-libs/README.md
/usr/share/licenses/pipewire-libs
/usr/share/licenses/pipewire-libs/COPYING
/usr/share/licenses/pipewire-libs/LICENSE
/usr/share/locale/cs/LC_MESSAGES/pipewire.mo
/usr/share/locale/gl/LC_MESSAGES/pipewire.mo
Thanks in advance for the help you can give me.
Edited by ptitjes