shortwave 2.0.1 build error on Fedora 34
~/tmp/shortwave-2.0.1 $ cargo build
Compiling migrations_internals v1.4.1
Compiling cairo-rs v0.13.0 (https://github.com/gtk-rs/gtk-rs#1ca4fbcc)
Compiling graphene-rs v0.13.0 (https://github.com/gtk-rs/gtk-rs#1ca4fbcc)
Compiling gio v0.13.0 (https://github.com/gtk-rs/gtk-rs#1ca4fbcc)
Compiling pango v0.13.0 (https://github.com/gtk-rs/gtk-rs#1ca4fbcc)
Compiling gstreamer v0.17.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#f00c57cd)
Compiling mpris-player v0.6.1
Compiling libadwaita-sys v0.1.0 (https://gitlab.gnome.org/bilelmoussaoui/libadwaita-rs#2d09b6b5)
The following warnings were emitted during compilation:
warning: `"pkg-config" "--libs" "--cflags" "libadwaita-1" "libadwaita-1 >= 1"` did not exit successfully: exit code: 1
error: failed to run custom build command for `libadwaita-sys v0.1.0 (https://gitlab.gnome.org/bilelmoussaoui/libadwaita-rs#2d09b6b5)`
Caused by:
process didn't exit successfully: `/home/redhat/tmp/shortwave-2.0.1/target/debug/build/libadwaita-sys-b38b80d4b306e355/build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-env-changed=LIBADWAITA_1_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=LIBADWAITA_1_STATIC
cargo:rerun-if-env-changed=LIBADWAITA_1_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:warning=`"pkg-config" "--libs" "--cflags" "libadwaita-1" "libadwaita-1 >= 1"` did not exit successfully: exit code: 1
--- stderr
Package libadwaita-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libadwaita-1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libadwaita-1', required by 'virtual:world', not found
Package 'libadwaita-1', required by 'virtual:world', not found
warning: build failed, waiting for other jobs to finish...
error: build failed