Package gstreamer-codecs-1.0 was not found in the pkg-config search path

Trying to build gst-plugins-bad on conda-forge. I finally got the build to succeed, but I noticed that I got this message for all of the linux/osx builds:

Package gstreamer-codecs-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-codecs-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-codecs-1.0' found

I don’t get this with the Windows build. I tried to modify the PKG_CONFIG_PATH in my build.sh script, but that didn’t seem to help.

build.sh:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$BUILD_PREFIX/lib/pkgconfig:$BUILD_PREFIX/share/pkgconfig

build.bat:

set "PKG_CONFIG_PATH=%LIBRARY_LIB%\pkgconfig;%LIBRARY_PREFIX%\share\pkgconfig;%BUILD_PREFIX%\Library\lib\pkgconfig"

In the log I see

[183/877] Generating gst-libs/gst/codecs/GstCodecs-1.0.gir with a custom command (wrapped by meson to set env)
...
Installing gst-libs/gst/codecs/GstCodecs-1.0.gir to $PREFIX/share/gir-1.0
...
  ?rw-rw-r-- 0/0     388026 2026-03-20 17:49:42 share/gir-1.0/GstCodecs-1.0.gir 

Maybe I need to have share/gir-1.0 in my PKG_CONFIG_PATH ?

That didn’t work. :pensive_face: