Commit ec3a7a20 authored by Tomáš Bžatek's avatar Tomáš Bžatek

Fix build against gstreamer-plugins-base-1.0

This makes Preview working again.
parent 0b3775a9
......@@ -145,6 +145,7 @@ GMODULE_EXPORT_REQUIRED=2.6.0
GIO_REQUIRED=2.28.0
GSTREAMER_REQUIRED=0.11.92
GSTREAMER_BASE_REQUIRED=0.11.92
GSTREAMER_MODULE_REQUIRED=0.11.92
LIBXML2_REQUIRED=2.6.0
dnl ** used by brasero and one plugin
......@@ -430,14 +431,13 @@ AC_SUBST(BRASERO_PL_PARSER_LIBS)
AM_CONDITIONAL(BUILD_PLAYLIST, test x"$build_totem" = "xyes")
dnl ****************check for preview (optional)**************
GSTREAMER_MODULE_REQUIRED=0.10.0
AC_ARG_ENABLE(preview,
AS_HELP_STRING([--enable-preview],[Build preview pane [[default=yes]]]),
[enable_preview=$enableval],
[enable_preview="yes"])
if test x"$enable_preview" = "xyes"; then
PKG_CHECK_MODULES(BRASERO_GSTREAMER_BASE, gstreamer-plugins-base-0.10 >= $GSTREAMER_MODULE_REQUIRED, build_preview=yes, build_preview=no)
PKG_CHECK_MODULES(BRASERO_GSTREAMER_BASE, gstreamer-plugins-base-1.0 >= $GSTREAMER_MODULE_REQUIRED, build_preview=yes, build_preview=no)
else
build_preview="no"
fi
......@@ -617,7 +617,7 @@ echo "Version: $BRASERO_VERSION
Build inotify: ${enable_inotify}
Build search pane : ${build_search}
Build playlist pane : ${build_totem}
Build Preview pane : ${enable_preview}
Build Preview pane : ${build_preview}
Plugins installed in : ${BRASERO_PLUGIN_DIRECTORY}
Build cdrdao plugins : ${build_cdrdao}
Build cdrtools plugins : ${build_cdrtools}
......
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