Commit 1a034ba1 authored by Matthew Waters's avatar Matthew Waters Committed by Tim-Philipp Müller

[502/906] Update versioning for gstreamer 1.0

Renames GST_MAJORMINOR to GST_API_VERSION in build files
removes -lgstinterfaces from _LDADD flags
parent 563f0f2e
lib_LTLIBRARIES = libgstgl-@GST_MAJORMINOR@.la lib_LTLIBRARIES = libgstgl-@GST_API_VERSION@.la
EXTRA_DIST = \ EXTRA_DIST = \
gstglwindow_x11.c \ gstglwindow_x11.c \
...@@ -8,7 +8,7 @@ EXTRA_DIST = \ ...@@ -8,7 +8,7 @@ EXTRA_DIST = \
gstglwindow_winCE.c \ gstglwindow_winCE.c \
gstglwindow_cocoa.m gstglwindow_cocoa.m
libgstgl_@GST_MAJORMINOR@_la_SOURCES = \ libgstgl_@GST_API_VERSION@_la_SOURCES = \
gstgldisplay.c \ gstgldisplay.c \
gstglbuffer.c \ gstglbuffer.c \
gstglfilter.c \ gstglfilter.c \
...@@ -17,20 +17,20 @@ libgstgl_@GST_MAJORMINOR@_la_SOURCES = \ ...@@ -17,20 +17,20 @@ libgstgl_@GST_MAJORMINOR@_la_SOURCES = \
gstglshadervariables.c gstglshadervariables.c
if GL_BACKEND_WIN32 if GL_BACKEND_WIN32
libgstgl_@GST_MAJORMINOR@_la_SOURCES += gstglwindow_win32.c libgstgl_@GST_API_VERSION@_la_SOURCES += gstglwindow_win32.c
endif endif
if GL_BACKEND_COCOA if GL_BACKEND_COCOA
libgstgl_@GST_MAJORMINOR@_la_SOURCES += gstglwindow_cocoa.m libgstgl_@GST_API_VERSION@_la_SOURCES += gstglwindow_cocoa.m
endif endif
if GL_BACKEND_X11 if GL_BACKEND_X11
libgstgl_@GST_MAJORMINOR@_la_SOURCES += gstglwindow_x11.c libgstgl_@GST_API_VERSION@_la_SOURCES += gstglwindow_x11.c
endif endif
if GL_BACKEND_X11ES2 if GL_BACKEND_X11ES2
libgstgl_@GST_MAJORMINOR@_la_SOURCES += gstglwindow_x11ES2.c libgstgl_@GST_API_VERSION@_la_SOURCES += gstglwindow_x11ES2.c
endif endif
libgstgl_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/gl libgstgl_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl
libgstgl_@GST_MAJORMINOR@include_HEADERS = \ libgstgl_@GST_API_VERSION@include_HEADERS = \
gstglwindow.h \ gstglwindow.h \
gstgldisplay.h \ gstgldisplay.h \
gstglbuffer.h \ gstglbuffer.h \
...@@ -41,23 +41,23 @@ libgstgl_@GST_MAJORMINOR@include_HEADERS = \ ...@@ -41,23 +41,23 @@ libgstgl_@GST_MAJORMINOR@include_HEADERS = \
gstglshadervariables.h \ gstglshadervariables.h \
gstglshader.h gstglshader.h
libgstgl_@GST_MAJORMINOR@_la_LIBADD = \ libgstgl_@GST_API_VERSION@_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) -lgstcontroller-$(GST_MAJORMINOR) \ $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
$(GST_BASE_LIBS) $(GST_LIBS) \ $(GST_BASE_LIBS) $(GST_LIBS) \
$(GL_LIBS) $(GL_LIBS)
libgstgl_@GST_MAJORMINOR@_la_CFLAGS = \ libgstgl_@GST_API_VERSION@_la_CFLAGS = \
$(GL_CFLAGS) $(X_CFLAGS) \ $(GL_CFLAGS) $(X_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
libgstgl_@GST_MAJORMINOR@_la_OBJCFLAGS = \ libgstgl_@GST_API_VERSION@_la_OBJCFLAGS = \
$(GL_CFLAGS) $(X_CFLAGS) \ $(GL_CFLAGS) $(X_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
libgstgl_@GST_MAJORMINOR@_la_LDFLAGS = \ libgstgl_@GST_API_VERSION@_la_LDFLAGS = \
$(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
if GL_BACKEND_COCOA if GL_BACKEND_COCOA
libgstgl_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=OBJC libgstgl_@GST_API_VERSION@_la_LIBTOOLFLAGS = --tag=OBJC
else else
libgstgl_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=CC libgstgl_@GST_API_VERSION@_la_LIBTOOLFLAGS = --tag=CC
endif endif
...@@ -7,7 +7,7 @@ pluginsdir=${pcfiledir}/.. ...@@ -7,7 +7,7 @@ pluginsdir=${pcfiledir}/..
Name: GStreamer OpenGL Plugins Libraries, Uninstalled Name: GStreamer OpenGL Plugins Libraries, Uninstalled
Description: Streaming media framework, OpenGL plugins libraries, uninstalled Description: Streaming media framework, OpenGL plugins libraries, uninstalled
Version: @VERSION@ Version: @VERSION@
Requires: gstreamer-@GST_MAJORMINOR@ Requires: gstreamer-@GST_API_VERSION@
Libs: -L${libdir}/gl Libs: -L${libdir}/gl
Cflags: -I${includedir} -I@srcdir@/.. Cflags: -I${includedir} -I@srcdir@/..
......
prefix=@prefix@ prefix=@prefix@
exec_prefix=@exec_prefix@ exec_prefix=@exec_prefix@
libdir=@libdir@ libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@ includedir=@includedir@/gstreamer-@GST_API_VERSION@
pluginsdir=@libdir@/gstreamer-@GST_MAJORMINOR@ pluginsdir=@libdir@/gstreamer-@GST_API_VERSION@
Name: GStreamer OpenGL Plugins Libraries Name: GStreamer OpenGL Plugins Libraries
Description: Streaming media framework, OpenGL plugins libraries Description: Streaming media framework, OpenGL plugins libraries
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@ Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@
Version: @VERSION@ Version: @VERSION@
Libs: -L${libdir} -lgstgl-@GST_MAJORMINOR@ Libs: -L${libdir} -lgstgl-@GST_API_VERSION@
Cflags: -I${includedir} Cflags: -I${includedir}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment