diff options
author | Jens Georg <mail@jensge.org> | 2019-10-26 14:05:53 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2019-10-26 14:10:07 +0200 |
commit | af50a8ac988c3929cec1afc6f85458d98ce80485 (patch) | |
tree | 8410d2169a98bbd250828018c2d362ede2fcc5d9 /configure.ac | |
parent | c947eed68559152ac95bdab207b206794ee9a5c2 (diff) | |
download | gupnp-dlna-af50a8ac988c3929cec1afc6f85458d98ce80485.tar.gz |
Drop GStreamer 0.10 back-end
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/configure.ac b/configure.ac index e9f47dd..d9d2413 100644 --- a/configure.ac +++ b/configure.ac @@ -109,47 +109,6 @@ else AM_CONDITIONAL(GSTREAMER_METADATA_BACKEND_ENABLED, false) fi -AC_ARG_ENABLE([legacy-gstreamer-metadata-backend], - [AS_HELP_STRING([--enable-legacy-gstreamer-metadata-backend], - [build a GStreamer 0.10 metadata backend @<:@default=no@:>@])], - , - [enable_legacy_gstreamer_metadata_backend=no]) - -if test "x$enable_legacy_gstreamer_metadata_backend" != 'xno' -then - gstreamer_found='yes' - GST_LEGACY_MAJORMINOR=0.10 - GST_LEGACY_REQ=0.10.36 - GSTPBU_LEGACY_REQ=0.10.36 - - PKG_CHECK_MODULES([GST_LEGACY], - [gstreamer-$GST_LEGACY_MAJORMINOR >= $GST_LEGACY_REQ], - , - [gstreamer_found='no']) - PKG_CHECK_MODULES([GST_PBU_LEGACY], - [gstreamer-pbutils-$GST_LEGACY_MAJORMINOR >= $GSTPBU_LEGACY_REQ], - , - [gstreamer_found='no']) - - if test "x$gstreamer_found" = 'xyes' - then - AC_SUBST(GST_LEGACY_MAJORMINOR) - enable_legacy_gstreamer_metadata_backend='yes' - elif test "x$enable_legacy_gstreamer_metadata_backend" = 'xyes' - then - AC_MSG_ERROR([GStreamer $GST_LEGACY_MAJORMINOR not found.]) - else - enable_legacy_gstreamer_metadata_backend='no' - fi -fi - -if test "x$enable_legacy_gstreamer_metadata_backend" = 'xyes' -then - AM_CONDITIONAL(GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED, true) -else - AM_CONDITIONAL(GSTREAMER_LEGACY_METADATA_BACKEND_ENABLED, false) -fi - AC_ARG_WITH([default-metadata-backend-dir], [AS_HELP_STRING([--with-default-metadata-backend-dir=your_directory], [set a default metadata backend directory @<:@default=$libdir/$PACKAGE_NAME@:>@])]) @@ -258,7 +217,6 @@ data/Makefile gupnp-dlna-2.0.pc gupnp-dlna-metadata-2.0.pc gupnp-dlna-gst-2.0.pc -gupnp-dlna-gst-legacy-2.0.pc doc/Makefile doc/version.xml doc/gupnp-dlna/Makefile @@ -278,5 +236,4 @@ echo "VALA bindings: $have_vapigen" echo "Default metadata backend: $with_default_metadata_backend" echo "Default metadata backend directory: $with_default_metadata_backend_dir" echo "Build GStreamer metadata backend: $enable_gstreamer_metadata_backend" -echo "Build legacy GStreamer metadata backend: $enable_legacy_gstreamer_metadata_backend" echo |