pkgconfig: add pluginscannerdir variable
authorTim-Philipp Müller <tim@centricular.com>
Sat, 2 May 2020 11:01:49 +0000 (12:01 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 6 May 2020 13:32:56 +0000 (13:32 +0000)
So we can get this in a unified way from installed
and uninstalled GStreamer when using pkg-config to
set up test environments in other modules.

See https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/582

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/456>

pkgconfig/gstreamer-uninstalled.pc.in
pkgconfig/gstreamer.pc.in

index 30c703d..e97ca07 100644 (file)
@@ -10,6 +10,7 @@ girdir=@abs_top_builddir@/gst
 bashhelpersdir=@abs_top_builddir@/data/bash-completion/helpers
 helpersdir=@abs_top_builddir@/libs/gst/helpers
 typelibdir=@abs_top_builddir@/gst
+pluginscannerdir=${helpersdir}
 
 Name: GStreamer Uninstalled
 Description: Streaming media framework, Not Installed
index 99bbe2d..4c7c641 100644 (file)
@@ -9,6 +9,7 @@ datarootdir=${prefix}/share
 datadir=${datarootdir}
 girdir=${datadir}/gir-1.0
 typelibdir=${libdir}/girepository-1.0
+pluginscannerdir=${libexecdir}/gstreamer-1.0
 
 Name: GStreamer
 Description: Streaming media framework