File project.diff of Package xine-lib

--- xine-lib.changes.orig
+++ xine-lib.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Thu Jun 21 07:58:03 UTC 2012 - adrian@suse.de
+
+- fix build for non-x86 architectures (disable deinterlace plugin)
+
+-------------------------------------------------------------------
 Mon Jun 18 11:20:29 UTC 2012 - lnussel@suse.de
 
 - don't include .la files in libxine-devel to avoid bogus libtool errors
--- xine-lib.spec.orig
+++ xine-lib.spec
@@ -16,7 +16,6 @@
 #
 
 
-
 Name:           xine-lib
 # %bcond_with = default off
 # %bcond_without = default on
@@ -128,6 +127,7 @@ Source99:       precheckin_cripple_tarba
 Patch0:         xine-lib-libdvdread_udf.diff
 Patch1:         xine-lib-v4l-2.6.38.patch
 Patch2:         xine-lib-without-ffmpeg.patch
+Patch3:         fix-non-x86-build.diff
 
 %description
 <p>Great video and multimediaplayer, supports DVD, MPEG, AVI, DivX, VCD, Quicktime ...</p><p>You need a frontend for xine-lib like <a href=http://packman.links2linux.de/package/xine-ui>xine-ui</a>, <a href=http://packman.links2linux.de/package/gxine>gxine</a>, <a href=http://packman.links2linux.de/package/kaffeine>kaffeine</a> or <a href=http://packman.links2linux.de/package/totem>totem</a>.</p><p>Since 1-rc6 the package number is reduced, all you may miss, is in the base package</p><p>If you want to play css encrypted Video-DVD's, you need to install <a href=http://packman.links2linux.de/package/libdvdcss2>libdvdcss</a>.</p>
@@ -502,6 +502,9 @@ EOF
 %if %{with distributable}
 %patch2 -p1
 %endif
+%ifnarch %ix86 x86_64
+%patch3
+%endif
 rm -f m4/libtool15.m4
 sed -i -e 's|/tmp/vdr-xine|/var/lib/vdr-xine|g' src/vdr/input_vdr.c
 
@@ -665,7 +668,9 @@ post/xineplug_post_audio_filters
 post/xineplug_post_goom
 post/xineplug_post_mosaico
 post/xineplug_post_switch
+%ifarch %ix86 x86_64
 post/xineplug_post_tvtime
+%endif
 post/xineplug_post_visualizations
 #
 .pulse
openSUSE Build Service is sponsored by