GNOME Bugzilla – Bug 737347
linking to gstvideo does not work in uninstaled
Last modified: 2014-09-26 07:40:12 UTC
Most plugins define -lgstvideo-@GST_API_VERSION@ in Makefile.am in assumption that it's already on linker path. It's not working during uninstalled build where gstvideo is in separate directory. The only plugin that does it right is uvch264 that uses GST_VIDEO_LIBS and pkg-config to find gst-video.
Created attachment 287058 [details] [review] Proposed patch for this bug
Doesn't GST_PLUGINS_BASE_LIBS add the linker path? $ grep GST_PLUGINS_BASE_LIBS Makefile GST_PLUGINS_BASE_LIBS = ... -L/home/tpm/gst/glib-master/gst-plugins-base/gst-libs/gst/video ... I remember having problems with this though, esp. during make distcheck, but that went away. I also had a patch for the .pc files related to that, I'll see if I can find it.
contents of pkgconfig/gstreamer-plugins-base-1.0-uninstalled.pc it's -L/home/ssobik/tmp/gst-plugins-base/gst-libs/gst/video and should be -L/home/ssobik/tmp/gst-plugins-base/gst-libs/gst/video/.libs this might be connected to other -uninstalled.pc "bug" I noticed, gstreamer generates links to .la files, which is completely not what pkg-config expects (all projects except autotools based ones can't parse .la files)
The uninstalled setup is only really going to work with build systems that use libtool.
Let's close this then? gst-uninstalled is only supposed to work with libtool based build system