Changeset 106340 in webkit


Ignore:
Timestamp:
Jan 31, 2012 12:02:56 AM (12 years ago)
Author:
Philippe Normand
Message:

[GStreamer] 0.11 build support
https://bugs.webkit.org/show_bug.cgi?id=77085

Reviewed by Martin Robinson.

  • configure.ac: New --with-gstreamer option, defaulting to 0.10.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r106334 r106340  
     12012-01-25  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GStreamer] 0.11 build support
     4        https://bugs.webkit.org/show_bug.cgi?id=77085
     5
     6        Reviewed by Martin Robinson.
     7
     8        * configure.ac: New --with-gstreamer option, defaulting to 0.10.
     9
    1102012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
    211
  • trunk/configure.ac

    r106102 r106340  
    270270fi
    271271
     272AC_MSG_CHECKING([the GStreamer version to use])
     273AC_ARG_WITH([gstreamer],
     274        [AS_HELP_STRING([--with-gstreamer=0.10|0.11], [the GStreamer version to use (default: 0.10)])],
     275        [case "$with_gstreamer" in
     276        0.10|0.11) ;;
     277        *) AC_MSG_ERROR([invalid GStreamer version specified]) ;;
     278        esac],
     279        [with_gstreamer=0.10])
     280AC_MSG_RESULT([$with_gstreamer])
     281
     282GSTREAMER_0_10_REQUIRED_VERSION=0.10
     283GSTREAMER_0_10_PLUGINS_BASE_REQUIRED_VERSION=0.10.30
     284GSTREAMER_0_11_REQUIRED_VERSION=0.11
     285GSTREAMER_0_11_PLUGINS_BASE_REQUIRED_VERSION=0.11.0.2
     286
     287case "$with_gstreamer" in
     288     0.10) GSTREAMER_REQUIRED_VERSION=GSTREAMER_0_10_REQUIRED_VERSION
     289           GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=GSTREAMER_0_10_PLUGINS_BASE_REQUIRED_VERSION
     290           GST_API_VERSION=0.10
     291           ;;
     292     0.11) GSTREAMER_REQUIRED_VERSION=GSTREAMER_0_11_REQUIRED_VERSION
     293           GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=GSTREAMER_0_11_PLUGINS_BASE_REQUIRED_VERSION
     294           GST_API_VERSION=0.11
     295           ;;
     296esac
     297
     298AC_SUBST([GST_API_VERSION])
     299if test "$GST_API_VERSION" = "0.11"; then
     300AC_DEFINE([GST_USE_UNSTABLE_API], [1], [Using unstable GStreamer API])
     301AC_DEFINE([GST_API_VERSION_1],[1], [Using GStreamer 0.11])
     302fi
     303
    272304# minimum base dependencies
    273305LIBSOUP_REQUIRED_VERSION=2.37.2.1
     
    283315LIBXSLT_REQUIRED_VERSION=1.1.7
    284316SQLITE_REQUIRED_VERSION=3.0
    285 GSTREAMER_REQUIRED_VERSION=0.10
    286 GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=0.10.30
    287317ENCHANT_REQUIRED_VERSION=0.22
    288318LIBFFTW_REQUIRED_VERSION=3.2.2
     
    10331063if test "$enable_video" = "yes" || test "$enable_web_audio" = "yes"; then
    10341064   PKG_CHECK_MODULES([GSTREAMER],
    1035                      [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION
    1036                      gstreamer-app-0.10
    1037                      gstreamer-audio-0.10
    1038                      gstreamer-base-0.10
    1039                      gstreamer-interfaces-0.10
    1040                      gstreamer-pbutils-0.10
    1041                      gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION
    1042                      gstreamer-video-0.10],
     1065                     [gstreamer-$GST_API_VERSION >= $GSTREAMER_REQUIRED_VERSION
     1066                     gstreamer-app-$GST_API_VERSION
     1067                     gstreamer-audio-$GST_API_VERSION
     1068                     gstreamer-base-$GST_API_VERSION
     1069                     gstreamer-interfaces-$GST_API_VERSION
     1070                     gstreamer-pbutils-$GST_API_VERSION
     1071                     gstreamer-plugins-base-$GST_API_VERSION >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION
     1072                     gstreamer-video-$GST_API_VERSION],
    10431073                     [have_gstreamer=yes])
    10441074
     
    13381368 GDK target                                               : $with_target
    13391369 Hildon UI extensions                                     : $with_hildon
     1370 GStreamer version                                        : $with_gstreamer
    13401371 Introspection support                                    : $enable_introspection
    13411372 Generate documentation                                   : $enable_gtk_doc
Note: See TracChangeset for help on using the changeset viewer.