ffmpeg: Update versioning
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 4 Apr 2012 12:48:25 +0000 (14:48 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 4 Apr 2012 12:53:51 +0000 (14:53 +0200)
configure.ac
docs/plugins/Makefile.am
docs/plugins/gst-ffmpeg-plugins-docs.sgml
docs/version.entities.in
ext/ffmpeg/Makefile.am
ext/libpostproc/Makefile.am
ext/libswscale/Makefile.am
gst-ffmpeg.spec.in

index 528dfe6e41273f665cf6149120c64c186a8f3cd2..536f90ee80171b00865f19055bef764b57a68743 100644 (file)
@@ -36,10 +36,10 @@ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],
    AC_SUBST(AM_DEFAULT_VERBOSITY)])
 
 dnl our libraries and install dirs use major.minor as a version
-GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
+GST_API_VERSION=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
 dnl we override it here if we need to for the release candidate of new series
-GST_MAJORMINOR=0.11
-AC_SUBST(GST_MAJORMINOR)
+GST_API_VERSION=1.0
+AC_SUBST(GST_API_VERSION)
 
 AG_GST_LIBTOOL_PREPARE
 
@@ -116,10 +116,10 @@ dnl *** checks for dependancy libraries ***
 
 dnl checks for gstreamer
 dnl uninstalled is selected preferentially -- see pkg-config(1)
-AG_GST_CHECK_GST($GST_MAJORMINOR, [$GST_REQ])
-AG_GST_CHECK_GST_BASE($GST_MAJORMINOR, [$GST_REQ])
-AG_GST_CHECK_GST_PLUGINS_BASE($GST_MAJORMINOR, [$GST_REQ])
-AG_GST_CHECK_GST_CHECK($GST_MAJORMINOR, [$GST_REQ], no)
+AG_GST_CHECK_GST($GST_API_VERSION, [$GST_REQ])
+AG_GST_CHECK_GST_BASE($GST_API_VERSION, [$GST_REQ])
+AG_GST_CHECK_GST_PLUGINS_BASE($GST_API_VERSION, [$GST_REQ])
+AG_GST_CHECK_GST_CHECK($GST_API_VERSION, [$GST_REQ], no)
 AM_CONDITIONAL(HAVE_GST_CHECK, test "x$HAVE_GST_CHECK" = "xyes")
 
 AC_MSG_NOTICE(Using GStreamer Core Plugins in $GST_PLUGINS_DIR)
index b0ba1d8156a958bd39cee82ab8602f4d62cd13f6..547844d8c91e98b5b91199cc5491a9478a31ea64 100644 (file)
@@ -3,7 +3,7 @@ GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj
 ## Process this file with automake to produce Makefile.in
 
 # The name of the module, e.g. 'glib'.
-#DOC_MODULE=gst-plugins-libs-@GST_MAJORMINOR@
+#DOC_MODULE=gst-plugins-libs-@GST_API_VERSION@
 MODULE=gst-ffmpeg
 DOC_MODULE=$(MODULE)-plugins
 
index 610417bd20a3f3f991d1999686d601ed8ac244d2..dc906d1d31e5744653d859657b8afc2a008ad9ec 100644 (file)
@@ -7,9 +7,9 @@
 
 <book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
   <bookinfo>
-    <title>GStreamer FFMPeg &GST_MAJORMINOR; Plugins Reference Manual</title>
+    <title>GStreamer FFMPeg &GST_API_VERSION; Plugins Reference Manual</title>
     <releaseinfo>
-      for GStreamer FFMPeg Plugins &GST_MAJORMINOR; (&GST_VERSION;)
+      for GStreamer FFMPeg Plugins &GST_API_VERSION; (&GST_VERSION;)
       The latest version of this documentation can be found on-line at
       <ulink role="online-location" url="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-ffmpeg-plugins/html/">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-ffmpeg-plugins/html/</ulink>.
     </releaseinfo>
index 79a68981d5103feb4348f47e32e5638d37c5c37f..286989f56e602e5e96a095d55c2f8d81ea90abcd 100644 (file)
@@ -1,2 +1,2 @@
-<!ENTITY GST_MAJORMINOR "@GST_MAJORMINOR@">
+<!ENTITY GST_API_VERSION "@GST_API_VERSION@">
 <!ENTITY GST_VERSION "@VERSION@">
index 7fbebdf40b61e3649fee577507807e94f16c85eb..8ed6e8ddcb1a3413fca204ad37685dbcd6339211 100644 (file)
@@ -23,8 +23,8 @@ libgstffmpeg_la_SOURCES = gstffmpeg.c \
 
 libgstffmpeg_la_CFLAGS = $(FFMPEG_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
 libgstffmpeg_la_LIBADD = $(FFMPEG_LIBS) $(GST_PLUGINS_BASE_LIBS) \
-       -lgstaudio-$(GST_MAJORMINOR) -lgstvideo-$(GST_MAJORMINOR) \
-       -lgstpbutils-$(GST_MAJORMINOR) $(GST_BASE_LIBS) \
+       -lgstaudio-$(GST_API_VERSION) -lgstvideo-$(GST_API_VERSION) \
+       -lgstpbutils-$(GST_API_VERSION) $(GST_BASE_LIBS) \
        $(LIBM) $(WIN32_LIBS) -lz $(BZ2_LIBS)
 libgstffmpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DARWIN_LDFLAGS)
 libgstffmpeg_la_LIBTOOLFLAGS = --tag=disable-static
index e77dd0081c88cd6f9856384125e40108996f594a..0385e4468b394fa9f76d1e8c6ea9c060fa0155e7 100644 (file)
@@ -3,7 +3,7 @@ plugin_LTLIBRARIES = libgstpostproc.la
 libgstpostproc_la_SOURCES = gstpostproc.c
 
 libgstpostproc_la_CFLAGS = $(POSTPROC_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(ORC_CFLAGS)
-libgstpostproc_la_LIBADD = -lgstvideo-@GST_MAJORMINOR@ \
+libgstpostproc_la_LIBADD = -lgstvideo-@GST_API_VERSION@ \
        $(POSTPROC_LIBS) \
        $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(ORC_LIBS)
 
index 8bc2e35b24bdcdfd4c65519c0c94c37557b41af1..3b0dbbd39091826e57061f2dd78abf2f136b544e 100644 (file)
@@ -5,7 +5,7 @@ libgstffmpegscale_la_SOURCES = gstffmpegscale.c
 libgstffmpegscale_la_CFLAGS = $(SWSCALE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
        $(ORC_CFLAGS)
 libgstffmpegscale_la_LIBADD = $(SWSCALE_LIBS) \
-       $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
+       $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
        $(GST_BASE_LIBS) $(ORC_LIBS) $(LIBM) -lz
 libgstffmpegscale_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DARWIN_LDFLAGS)
 libgstffmpegscale_la_LIBTOOLFLAGS = --tag=disable-static
index 0e512d352049c7da452944d16d458ce7c3464a13..9dca0f7f6001b44af1b4363647eadfee77b61b47 100644 (file)
@@ -1,4 +1,4 @@
-%define majorminor  @GST_MAJORMINOR@
+%define majorminor  @GST_API_VERSION@
 %define gstreamer   gstreamer
 %define gst_minver  0.10.0
 %define gst_majorminor  0.10