X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=configure.ac;h=774c7c994468fda4cad57b4e2ed7c67850e94ae2;hb=9852f40308b1370e9e9a169ce8a2550babd44c58;hp=3e36f0f4fa362662b2495068f0eca09294375c99;hpb=1175ecb4127a77bd3a6c1c6190bcbac10cab14dd;p=platform%2Fupstream%2Fgstreamer-vaapi.git diff --git a/configure.ac b/configure.ac index 3e36f0f..774c7c9 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ m4_define([gst_vaapi_major_version], [0]) m4_define([gst_vaapi_minor_version], [5]) m4_define([gst_vaapi_micro_version], [9]) -m4_define([gst_vaapi_pre_version], [1]) +m4_define([gst_vaapi_pre_version], [0]) m4_define([gst_vaapi_version], [gst_vaapi_major_version.gst_vaapi_minor_version.gst_vaapi_micro_version]) m4_if(gst_vaapi_pre_version, [0], [], [ @@ -15,6 +15,7 @@ m4_define([gst0_vaapi_lt_current_bias], [0]) m4_define([gst1_vaapi_lt_current_bias], [2]) m4_define([gst2_vaapi_lt_current_bias], [4]) m4_define([gst4_vaapi_lt_current_bias], [5]) +m4_define([gst6_vaapi_lt_current_bias], [5]) m4_define([gst_vaapi_lt_revision], [0]) m4_define([gst_vaapi_lt_age], [0]) @@ -35,6 +36,9 @@ m4_define([gst12_plugins_bad_version], [1.1.0]) m4_define([gst14_version], [1.2.90]) m4_define([gst14_plugins_base_version], [1.3.0]) m4_define([gst14_plugins_bad_version], [1.3.0]) +m4_define([gst16_version], [1.5.0]) +m4_define([gst16_plugins_base_version], [1.5.0]) +m4_define([gst16_plugins_bad_version], [1.5.0]) # Wayland minimum version number m4_define([wayland_api_version], [1.0.0]) @@ -220,11 +224,16 @@ case $GST_API_VERSION in GST_PLUGINS_BASE_VERSION_REQUIRED=gst12_plugins_base_version GST_PLUGINS_BAD_VERSION_REQUIRED=gst12_plugins_bad_version ;; -1.3) +1.[[3-4]]) GST_VERSION_REQUIRED=gst14_version GST_PLUGINS_BASE_VERSION_REQUIRED=gst14_plugins_base_version GST_PLUGINS_BAD_VERSION_REQUIRED=gst14_plugins_bad_version ;; +1.5) + GST_VERSION_REQUIRED=gst16_version + GST_PLUGINS_BASE_VERSION_REQUIRED=gst16_plugins_base_version + GST_PLUGINS_BAD_VERSION_REQUIRED=gst16_plugins_bad_version + ;; *) AC_MSG_ERROR([unsupported GStreamer API version $GST_API_VERSION]) ;; @@ -256,11 +265,13 @@ AC_SUBST([GST_PKG_VERSION]) dnl Validate certain features if test "$USE_GST_API_0_10" = "yes"; then - AC_MSG_WARN([support for GStreamer 0.10 is deprecated, and will be removed]) + AC_MSG_WARN([support for GStreamer 0.10 is obsolete, and will be removed]) if test "$enable_builtin_videoparsers" = "yes"; then AC_MSG_WARN([disabled built-in videoparsers (unsupported)]) enable_builtin_videoparsers="no" fi +elif test "$USE_GST_API_1_2p" != "yes"; then + AC_MSG_WARN([support for GStreamer < 1.2 is deprecated, please upgrade]) fi dnl GStreamer Core @@ -471,7 +482,8 @@ case $GST_API_VERSION in 0.10) lt_bias=gst0_vaapi_lt_current_bias;; 1.0) lt_bias=gst1_vaapi_lt_current_bias;; 1.2) lt_bias=gst2_vaapi_lt_current_bias;; -1.3) lt_bias=gst4_vaapi_lt_current_bias;; +1.[[3-4]]) lt_bias=gst4_vaapi_lt_current_bias;; +1.5) lt_bias=gst6_vaapi_lt_current_bias;; esac GST_VAAPI_MAJOR_VERSION=`expr gst_vaapi_lt_current - "$lt_bias"` AC_SUBST(GST_VAAPI_MAJOR_VERSION) @@ -858,7 +870,7 @@ AC_CONFIG_FILES([ debian.upstream/gstreamer-vaapi-doc.install.in debian.upstream/gstreamer$GST_API_VERSION-vaapi.install:\ debian.upstream/gstreamer-vaapi.install.in - debian.upstream/libgstvaapi$GST_API_VERSION-dev.install:\ + debian.upstream/libgstvaapi$GST_PKG_VERSION-dev.install:\ debian.upstream/libgstvaapi-dev.install.in debian.upstream/libgstvaapi$GST_VAAPI_MAJOR_VERSION.install:\ debian.upstream/libgstvaapi.install.in