From: Tim-Philipp Müller Date: Thu, 1 Feb 2018 11:21:19 +0000 (+0000) Subject: pkgconfig: only install gstreamer-gl-1.0.pc if OpenGL support was built X-Git-Tag: 1.19.3~511^2~1928 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4d1ae95d1de9149b44ed8428c0aa03110d627ed;p=platform%2Fupstream%2Fgstreamer.git pkgconfig: only install gstreamer-gl-1.0.pc if OpenGL support was built https://bugzilla.gnome.org/show_bug.cgi?id=793039 --- diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am index 804a8fd..5be7145 100644 --- a/pkgconfig/Makefile.am +++ b/pkgconfig/Makefile.am @@ -11,7 +11,6 @@ pcverfiles = \ gstreamer-sdp-@GST_API_VERSION@.pc \ gstreamer-tag-@GST_API_VERSION@.pc \ gstreamer-video-@GST_API_VERSION@.pc \ - gstreamer-gl-@GST_API_VERSION@.pc \ gstreamer-plugins-base-@GST_API_VERSION@.pc pcverfiles_uninstalled = \ gstreamer-allocators-@GST_API_VERSION@-uninstalled.pc \ @@ -25,9 +24,13 @@ pcverfiles_uninstalled = \ gstreamer-sdp-@GST_API_VERSION@-uninstalled.pc \ gstreamer-tag-@GST_API_VERSION@-uninstalled.pc \ gstreamer-video-@GST_API_VERSION@-uninstalled.pc \ - gstreamer-gl-@GST_API_VERSION@-uninstalled.pc \ gstreamer-plugins-base-@GST_API_VERSION@-uninstalled.pc +if HAVE_GST_GL +pcverfiles += gstreamer-gl-@GST_API_VERSION@.pc +pcverfiles_uninstalled += gstreamer-gl-@GST_API_VERSION@-uninstalled.pc +endif + all-local: $(pcverfiles) $(pcverfiles_uninstalled) cp_verbose = $(cp_verbose_$(V))