From c5833625ebe360c37b8c273a92bbd91fae4b6fd3 Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Sun, 23 Mar 2014 21:55:34 +0000 Subject: [PATCH] pkgconfig: add gstreamer-gl https://bugzilla.gnome.org/show_bug.cgi?id=703343 --- configure.ac | 2 ++ pkgconfig/Makefile.am | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index cae35d4adb..3a9418b1ba 100644 --- a/configure.ac +++ b/configure.ac @@ -1175,6 +1175,8 @@ AM_CONDITIONAL(USE_WGL, test "x$USE_WGL" = "xyes") AM_CONDITIONAL(USE_COCOA, test "x$USE_COCOA" = "xyes") AM_CONDITIONAL(USE_EGL_RPI, test "x$USE_EGL_RPI" = "xyes") +AM_CONDITIONAL(HAVE_GST_GL, test "x$USE_OPENGL" = "xyes" -o "x$USE_GLES2" = "xyes") + dnl Check for some types that are not always present GL_INCLUDES="" if test "x$USE_GLES2" = "xyes"; then diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am index 430e1235f3..0015069e4e 100644 --- a/pkgconfig/Makefile.am +++ b/pkgconfig/Makefile.am @@ -17,6 +17,11 @@ pcverfiles += gstreamer-egl-@GST_API_VERSION@.pc pcverfiles_uninstalled += gstreamer-egl-@GST_API_VERSION@-uninstalled.pc endif +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)) @@ -36,6 +41,7 @@ CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled) pcinfiles = \ gstreamer-plugins-bad.pc.in gstreamer-plugins-bad-uninstalled.pc.in \ gstreamer-codecparsers.pc.in gstreamer-codecparsers-uninstalled.pc.in \ + gstreamer-gl.pc.in gstreamer-gl-uninstalled.pc.in \ gstreamer-insertbin.pc.in gstreamer-insertbin-uninstalled.pc.in \ gstreamer-egl.pc.in gstreamer-egl-uninstalled.pc.in \ gstreamer-mpegts.pc.in gstreamer-mpegts-uninstalled.pc.in