meson: Use implicit builtin dirs in pkgconfig generation
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 21 Sep 2022 13:49:45 +0000 (19:19 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Wed, 21 Sep 2022 15:38:11 +0000 (21:08 +0530)
commita0e6278dba899f122d806994d47ee0e2c1741b34
tree668e92d1045aa5acb7ba634f73368a1886afff00
parenta9144f5313ce8a9af2735209db88bbd6bb096ee1
meson: Use implicit builtin dirs in pkgconfig generation

Starting with Meson 0.62, meson automatically populates the variables
list in the pkgconfig file if you reference builtin directories in the
pkgconfig file (whether via a custom pkgconfig variable or elsewhere).
We need this, because ${prefix}/libexec is a hard-coded value which is
incorrect on, for example, Debian.

Bump requirement to 0.62, and remove version compares that retained
support for older Meson versions.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1245

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3061>
16 files changed:
meson.build
subprojects/gst-devtools/meson.build
subprojects/gst-docs/meson.build
subprojects/gst-editing-services/meson.build
subprojects/gst-integration-testsuites/meson.build
subprojects/gst-libav/meson.build
subprojects/gst-omx/meson.build
subprojects/gst-plugins-bad/meson.build
subprojects/gst-plugins-base/meson.build
subprojects/gst-plugins-good/meson.build
subprojects/gst-plugins-ugly/meson.build
subprojects/gst-python/meson.build
subprojects/gst-rtsp-server/meson.build
subprojects/gstreamer-sharp/meson.build
subprojects/gstreamer-vaapi/meson.build
subprojects/gstreamer/meson.build