File gstreamer010-plugins-bad-real.patch of Package gstreamer-0_10-plugins-bad
--- configure.ac
+++ configure.ac
@@ -270,7 +270,7 @@ if test "x$HAVE_CXX" != "xyes"; then
fi
dnl real plugin only works on i386 and x86_64 for the time being.
-if test "x$HAVE_CPU_I386" != "xyes" && test "x$HAVE_CPU_X86_64" != "xyes"; then
+if test "x$HAVE_CPU_I386" != "xyes" && test "x$HAVE_CPU_X86_64" != "xyes" && test "$HAVE_CPU_PPC" != yes; then
AC_MSG_WARN([Not building real plugin, only works on 32bit and 64bit x86 platforms])
GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | sed 's/real//g'`
fi
--- gst/real/gstreal.h
+++ gst/real/gstreal.h
@@ -31,5 +31,9 @@
"/usr/lib64/win32:/usr/lib64/codecs:" \
"/usr/local/lib64/win32:/usr/local/lib64/codecs"
#endif
+#ifdef HAVE_CPU_PPC
+#define DEFAULT_REAL_CODECS_PATH \
+ "/usr/lib/codecs:/usr/lib/RealPlayer10/codecs:/usr/local/lib/codecs"
+#endif
#endif /* __GST_REAL_H__ */