From 90022c451cabbae9a1ae71f82c14c5153c57a3c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 7 Nov 2014 11:41:01 +0100 Subject: [PATCH] gstglconfig: Put gstglconfig.h into $(libdir)/gstreamer-1.0/include It's architecture dependent and should not be placed into the include directory as the assumption is that all those headers are architecture independent. https://bugzilla.gnome.org/show_bug.cgi?id=739767 --- gst-libs/gst/gl/Makefile.am | 10 ++++------ pkgconfig/gstreamer-gl.pc.in | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am index 1d5ee58..8b41b5a 100644 --- a/gst-libs/gst/gl/Makefile.am +++ b/gst-libs/gst/gl/Makefile.am @@ -6,7 +6,7 @@ DIST_SUBDIRS = glprototypes android x11 win32 cocoa wayland dispmanx egl eagl noinst_HEADERS = -built_header_configure = gstglconfig.h +built_sys_header_configure = gstglconfig.h libgstgl_@GST_API_VERSION@_la_SOURCES = \ gstgldisplay.c \ @@ -95,8 +95,8 @@ SUBDIRS += egl libgstgl_@GST_API_VERSION@_la_LIBADD += egl/libgstgl-egl.la endif -nodist_libgstgl_@GST_API_VERSION@include_HEADERS = \ - $(built_header_configure) +configexecincludedir = $(libdir)/gstreamer-@GST_API_VERSION@/include/gst/gl +nodist_configexecinclude_HEADERS = $(built_sys_header_configure) libgstgl_@GST_API_VERSION@_la_CFLAGS = \ -I$(top_srcdir)/gst-libs \ @@ -113,15 +113,13 @@ libgstgl_@GST_API_VERSION@_la_LDFLAGS = \ $(GST_LT_LDFLAGS) # DISTCLEANFILES is for files generated by configure -DISTCLEANFILES = $(built_header_configure) +DISTCLEANFILES = $(built_sys_header_configure) if HAVE_INTROSPECTION BUILT_GIRSOURCES = GstGL-@GST_API_VERSION@.gir gir_headers=$(patsubst %,$(srcdir)/%, $(libgstgl_@GST_API_VERSION@include_HEADERS)) -gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers)) gir_sources=$(patsubst %,$(srcdir)/%, $(libgstgl_@GST_API_VERSION@_la_SOURCES)) -gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources)) GstGL-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstgl-@GST_API_VERSION@.la $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig/gstreamer-gl.pc.in index f6ebf36..1b98762 100644 --- a/pkgconfig/gstreamer-gl.pc.in +++ b/pkgconfig/gstreamer-gl.pc.in @@ -9,5 +9,5 @@ Description: Streaming media framework, OpenGL plugins libraries Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ Version: @VERSION@ Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ @GL_LIBS@ -Cflags: -I${includedir} @GL_CFLAGS@ +Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include @GL_CFLAGS@ -- 2.7.4