summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <ystreet00@gmail.com>2012-05-29 17:55:44 +1000
committerMatthew Waters <ystreet00@gmail.com>2014-03-15 18:36:44 +0100
commit6f2acb94c6c370474330d8c6c8c00f63b79083d3 (patch)
tree07746834e95c9ce5522751a8c98e7d668d61b251
parentfa18db91ed65e93c585d13898703862c7ef0e697 (diff)
[502/906] Update versioning for gstreamer 1.0
Renames GST_MAJORMINOR to GST_API_VERSION in build files removes -lgstinterfaces from _LDADD flags
-rw-r--r--ext/libvisual/Makefile.am2
-rw-r--r--gst-libs/gst/gl/Makefile.am30
-rw-r--r--gst/gl/Makefile.am4
-rw-r--r--pkgconfig/gstreamer-gl-uninstalled.pc.in2
-rw-r--r--pkgconfig/gstreamer-gl.pc.in8
5 files changed, 23 insertions, 23 deletions
diff --git a/ext/libvisual/Makefile.am b/ext/libvisual/Makefile.am
index 986808310..1eba9af2f 100644
--- a/ext/libvisual/Makefile.am
+++ b/ext/libvisual/Makefile.am
@@ -7,7 +7,7 @@ libgstlibvisualgl_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(LIBVISU
-I$(top_srcdir)/gst-libs/gst/gl
libgstlibvisualgl_la_LIBADD = \
- $(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_MAJORMINOR).la \
+ $(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
$(GST_PLUGINS_BASE_LIBS) $(GST_LIBS) $(LIBVISUAL_LIBS)
libgstlibvisualgl_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am
index 2ef7afcd4..64f054895 100644
--- a/gst-libs/gst/gl/Makefile.am
+++ b/gst-libs/gst/gl/Makefile.am
@@ -1,5 +1,5 @@
-lib_LTLIBRARIES = libgstgl-@GST_MAJORMINOR@.la
+lib_LTLIBRARIES = libgstgl-@GST_API_VERSION@.la
EXTRA_DIST = \
gstglwindow_x11.c \
@@ -8,7 +8,7 @@ EXTRA_DIST = \
gstglwindow_winCE.c \
gstglwindow_cocoa.m
-libgstgl_@GST_MAJORMINOR@_la_SOURCES = \
+libgstgl_@GST_API_VERSION@_la_SOURCES = \
gstgldisplay.c \
gstglbuffer.c \
gstglfilter.c \
@@ -17,20 +17,20 @@ libgstgl_@GST_MAJORMINOR@_la_SOURCES = \
gstglshadervariables.c
if GL_BACKEND_WIN32
-libgstgl_@GST_MAJORMINOR@_la_SOURCES += gstglwindow_win32.c
+libgstgl_@GST_API_VERSION@_la_SOURCES += gstglwindow_win32.c
endif
if GL_BACKEND_COCOA
-libgstgl_@GST_MAJORMINOR@_la_SOURCES += gstglwindow_cocoa.m
+libgstgl_@GST_API_VERSION@_la_SOURCES += gstglwindow_cocoa.m
endif
if GL_BACKEND_X11
-libgstgl_@GST_MAJORMINOR@_la_SOURCES += gstglwindow_x11.c
+libgstgl_@GST_API_VERSION@_la_SOURCES += gstglwindow_x11.c
endif
if GL_BACKEND_X11ES2
-libgstgl_@GST_MAJORMINOR@_la_SOURCES += gstglwindow_x11ES2.c
+libgstgl_@GST_API_VERSION@_la_SOURCES += gstglwindow_x11ES2.c
endif
-libgstgl_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/gl
-libgstgl_@GST_MAJORMINOR@include_HEADERS = \
+libgstgl_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl
+libgstgl_@GST_API_VERSION@include_HEADERS = \
gstglwindow.h \
gstgldisplay.h \
gstglbuffer.h \
@@ -41,23 +41,23 @@ libgstgl_@GST_MAJORMINOR@include_HEADERS = \
gstglshadervariables.h \
gstglshader.h
-libgstgl_@GST_MAJORMINOR@_la_LIBADD = \
- $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) -lgstcontroller-$(GST_MAJORMINOR) \
+libgstgl_@GST_API_VERSION@_la_LIBADD = \
+ $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
$(GST_BASE_LIBS) $(GST_LIBS) \
$(GL_LIBS)
-libgstgl_@GST_MAJORMINOR@_la_CFLAGS = \
+libgstgl_@GST_API_VERSION@_la_CFLAGS = \
$(GL_CFLAGS) $(X_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) \
$(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)
if GL_BACKEND_COCOA
-libgstgl_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=OBJC
+libgstgl_@GST_API_VERSION@_la_LIBTOOLFLAGS = --tag=OBJC
else
-libgstgl_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=CC
+libgstgl_@GST_API_VERSION@_la_LIBTOOLFLAGS = --tag=CC
endif
diff --git a/gst/gl/Makefile.am b/gst/gl/Makefile.am
index 76bcf372f..60f06a00e 100644
--- a/gst/gl/Makefile.am
+++ b/gst/gl/Makefile.am
@@ -87,9 +87,9 @@ libgstopengl_la_CFLAGS = $(GST_CFLAGS) $(X_CFLAGS) $(GST_BASE_CFLAGS) \
-I$(top_srcdir)/gst/gl/effects
libgstopengl_la_LIBADD = \
- $(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_MAJORMINOR).la \
+ $(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
$(GST_BASE_LIBS) \
- $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) -lgstinterfaces-$(GST_MAJORMINOR) \
+ $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
$(GL_LIBS) \
$(LIBPNG_LIBS) \
$(JPEG_LIBS) \
diff --git a/pkgconfig/gstreamer-gl-uninstalled.pc.in b/pkgconfig/gstreamer-gl-uninstalled.pc.in
index a7b1b413c..382bb3278 100644
--- a/pkgconfig/gstreamer-gl-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-gl-uninstalled.pc.in
@@ -7,7 +7,7 @@ pluginsdir=${pcfiledir}/..
Name: GStreamer OpenGL Plugins Libraries, Uninstalled
Description: Streaming media framework, OpenGL plugins libraries, uninstalled
Version: @VERSION@
-Requires: gstreamer-@GST_MAJORMINOR@
+Requires: gstreamer-@GST_API_VERSION@
Libs: -L${libdir}/gl
Cflags: -I${includedir} -I@srcdir@/..
diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig/gstreamer-gl.pc.in
index 432b73ebb..c640e7547 100644
--- a/pkgconfig/gstreamer-gl.pc.in
+++ b/pkgconfig/gstreamer-gl.pc.in
@@ -1,13 +1,13 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
-includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
-pluginsdir=@libdir@/gstreamer-@GST_MAJORMINOR@
+includedir=@includedir@/gstreamer-@GST_API_VERSION@
+pluginsdir=@libdir@/gstreamer-@GST_API_VERSION@
Name: GStreamer 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@
-Libs: -L${libdir} -lgstgl-@GST_MAJORMINOR@
+Libs: -L${libdir} -lgstgl-@GST_API_VERSION@
Cflags: -I${includedir}