]> git.pld-linux.org Git - packages/totem.git/blame - totem-configure.patch
Updated to 3.6.0 (iplayer and publish plugins have been removed upstream)
[packages/totem.git] / totem-configure.patch
CommitLineData
65c38ba8
MB
1--- totem-3.6.0/configure.in.new 2012-10-01 21:55:07.497259771 +0200
2+++ totem-3.6.0/configure.in 2012-10-01 21:56:07.836932884 +0200
3@@ -121,82 +121,11 @@ fi
4 # Backend requirements
5 # ================================================================
6
7-BACKEND_MODULES="gstreamer-1.0 >= $GST_REQS gstreamer-base-1.0 >= $GST_REQS gstreamer-plugins-base-1.0 >= $GST_PLUG_BASE_REQS $MISSING_PLUGINS_MODULES gstreamer-tag-1.0 >= $GSTPLUG_REQS gstreamer-audio-1.0 gstreamer-video-1.0 clutter-1.0 >= $CLUTTER_REQS clutter-gst-2.0 >= $CLUTTER_GST_REQS clutter-gtk-1.0 cairo gnome-icon-theme >= $GNOMEICON_REQS gsettings-desktop-schemas"
8+BACKEND_MODULES="gstreamer-1.0 >= $GST_REQS gstreamer-base-1.0 >= $GST_REQS gstreamer-plugins-base-1.0 >= $GST_PLUG_BASE_REQS $MISSING_PLUGINS_MODULES gstreamer-tag-1.0 >= $GSTPLUG_REQS gstreamer-audio-1.0 gstreamer-video-1.0 clutter-1.0 >= $CLUTTER_REQS clutter-gst-2.0 >= $CLUTTER_GST_REQS clutter-gtk-1.0 cairo gsettings-desktop-schemas"
9
10 PKG_CHECK_MODULES(BACKEND, $BACKEND_MODULES)
11 PKG_CHECK_MODULES(BACKEND_TEST, $BACKEND_MODULES gtk+-3.0 >= $GTK_REQS)
2a1cdc8f
PZ
12
13-dnl Check for required plugins
65c38ba8
MB
14-gst10_toolsdir=`$PKG_CONFIG --variable=toolsdir gstreamer-1.0`
15-gst10_inspect="$gst10_toolsdir/gst-inspect-1.0"
e3951f3f 16-
2a1cdc8f 17-dnl Give error and exit if we don't have the gst_inspect tool
65c38ba8
MB
18-AC_MSG_CHECKING([GStreamer 1.0 inspection tool])
19-if test -r "$gst10_inspect"; then
2a1cdc8f
PZ
20- AC_MSG_RESULT([yes])
21-else
22- AC_MSG_RESULT([no])
23- AC_MSG_ERROR([
65c38ba8
MB
24- Cannot find required GStreamer-1.0 tool 'gst-inspect-1.0'.
25- It should be part of gstreamer-1_0-utils. Please install it.
2a1cdc8f
PZ
26- ])
27-fi
e3951f3f 28-
2a1cdc8f 29-dnl Check for elements from gst-plugins-base
65c38ba8
MB
30-dnl Set plugins which contain below elements
31-set -- playback videoscale
32-for base_element in playbin videoscale
2a1cdc8f 33-do
65c38ba8
MB
34- AC_MSG_CHECKING([GStreamer 1.0 $base_element element])
35- if $gst10_inspect $base_element >/dev/null 2>/dev/null; then
e3951f3f
PZ
36- AC_MSG_RESULT([yes])
37- else
38- AC_MSG_RESULT([no])
39- AC_MSG_ERROR([
65c38ba8 40- Cannot find required GStreamer-1.0 plugin '$1'.
2a1cdc8f 41- It should be part of gst-plugins-base. Please install it.
e3951f3f 42- ])
65c38ba8 43-
e3951f3f 44- fi
65c38ba8 45- shift;
2a1cdc8f 46-done
70cb7b8b 47-
2a1cdc8f 48-dnl Check for elements from gst-plugins-good
65c38ba8
MB
49-dnl Set plugins which contain below elements
50-set -- autodetect goom
0b8e744e 51-for good_element in autoaudiosink goom
2a1cdc8f 52-do
65c38ba8
MB
53- AC_MSG_CHECKING([GStreamer 1.0 $good_element element])
54- if $gst10_inspect $good_element >/dev/null 2>/dev/null; then
2a1cdc8f
PZ
55- AC_MSG_RESULT([yes])
56- else
57- AC_MSG_RESULT([no])
58- AC_MSG_ERROR([
65c38ba8 59- Cannot find required GStreamer-1.0 plugin '$1'.
2a1cdc8f
PZ
60- It should be part of gst-plugins-good. Please install it.
61- ])
62- fi
65c38ba8
MB
63- shift;
64-done
65-
66-dnl Check for elements from gst-plugins-bad
67-dnl Set plugins which contain below elements
68-set -- soundtouch
69-for bad_element in pitch
70-do
71- AC_MSG_CHECKING([GStreamer 1.0 $bad_element element])
72- if $gst10_inspect $bad_element >/dev/null 2>/dev/null; then
73- AC_MSG_RESULT([yes])
74- else
75- AC_MSG_RESULT([no])
76- AC_MSG_ERROR([
77- Cannot find required GStreamer-1.0 plugin '$1'.
78- It should be part of gst-plugins-bad. Please install it.
79- ])
80- fi
81- shift;
2a1cdc8f 82-done
89948db4 83-
aa35b7d6 84 dnl Check the smclient backend
0b8e744e
ŁK
85 AC_MSG_CHECKING([which smclient backend to use])
86 AC_ARG_WITH([smclient],
This page took 0.11655 seconds and 4 git commands to generate.