[orca] Add a non-failing configure check for, and statement about, gstreamer



commit 0799bed3551804fdd4c70392a1bd3007cc5778a8
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Feb 17 18:42:52 2016 -0500

    Add a non-failing configure check for, and statement about, gstreamer

 README       |    1 +
 configure.ac |    7 +++++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/README b/README
index 9ae0bbb..ea9b173 100644
--- a/README
+++ b/README
@@ -37,6 +37,7 @@ Orca also has the following dependencies:
 * BrlTTY           - BrlTTY support for braille (optional)
 * BrlAPI           - BrlAPI support for braille (optional)
 * py-setproctitle  - Python library to set the process title (optional)
+* gstreamer-1.0    - GStreamer - Streaming media framework (optional)
 
 YOU ALSO NEED THE LATEST AT-SPI2, PYATSPI2 AND ATK FOR THE GNOME 3.19.x
 RELEASES.  THEY CONTAIN VERY IMPORTANT BUG FIXES!
diff --git a/configure.ac b/configure.ac
index c80d620..ec3e942 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,7 @@ YELP_HELP_INIT
 PKG_CHECK_MODULES([PYGOBJECT], [pygobject-3.0 >= pygobject_required_version])
 PKG_CHECK_MODULES([ATSPI2], [atspi-2 >= atspi_required_version])
 PKG_CHECK_MODULES([ATKBRIDGE], [atk-bridge-2.0 >= atkbridge_required_version])
+PKG_CHECK_MODULES([GSTREAMER], [gstreamer-1.0], [gstreamer="yes"], [gstreamer="no"])
 
 dnl Needed programs
 AC_PROG_INSTALL
@@ -149,8 +150,14 @@ echo
 echo "NOTE: Speech support requires speech-dispatcher >= 0.8."
 fi
 
+if test "x$gstreamer" = "xno" ; then
+echo
+echo "NOTE: Sound support requires gstreamer-1.0."
+fi
+
 echo
 echo Use speech-dispatcher: $speechd_available
 echo Use brltty: $brlapi_available
 echo Use liblouis: $louis_available
+echo Use gstreamer: $gstreamer
 echo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]