hasufell-repository/packages/app-ergonomics/workrave/files/workrave-1.10.6-automagic-gstreamer.patch

26 lines
852 B
Diff

# http://issues.workrave.org/show_bug.cgi?id=1179
--- configure.ac
+++ configure.ac
@@ -884,20 +884,12 @@
if test "x$enable_gstreamer" != "xno";
then
PKG_CHECK_MODULES([GSTREAMER],
- [gstreamer-0.10],
- [config_gstreamer=yes
- AC_DEFINE(HAVE_GSTREAMER, 1, [Use GStreamer for playing sounds])], [ ])
-
- if test "x$config_gstreamer" != "xyes";
- then
- PKG_CHECK_MODULES([GSTREAMER],
[gstreamer-1.0],
[config_gstreamer=yes
AC_DEFINE(HAVE_GSTREAMER, 1, [Use GStreamer for playing sounds])],
[if test "x$enable_gstreamer" = "xyes"; then
AC_MSG_ERROR([GStreamer development headers not found.])
fi])
- fi
fi