|
@@ -0,0 +1,1870 @@
+#
+# spec file for package xine-lib (Version 1.1.19)
+#
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+# norootforbuild
+
+
+Name: xine-lib
+# %bcond_with = default off
+# %bcond_without = default on
+#
+# --with distributable -> don't build libxine1-codecs
+# --without distributable -> build libxine1-codecs
+#
+# default for buildservice is no patented codecs
+%bcond_without distributable
+%bcond_with onlynondistributable
+%if 0%{suse_version} >= 1100
+%bcond_without pulseaudio
+%else
+%bcond_with pulseaudio
+%endif
+%bcond_with sdl
+%bcond_with aalib
+%bcond_with arts
+%bcond_with esd
+%bcond_with jack
+%bcond_without gnome_vfs
+%bcond_with directfb
+%if 0%{suse_version} > 1110
+%bcond_without modplug
+%else
+%bcond_with modplug
+%endif
+#
+%bcond_without external_ffmpeg
+#
+BuildRequires: ImageMagick-devel alsa-devel flac-devel giflib-devel
+BuildRequires: glib2-devel gnutls-devel gtk2-devel imlib2-devel krb5-devel
+BuildRequires: libcdio-devel libdrm-devel libmng-devel libsmbclient
+BuildRequires: Mesa-devel libsmbclient-devel libtheora-devel libvorbis-devel
+BuildRequires: readline-devel update-desktop-files vcdimager-devel
+BuildRequires: speex-devel
+%if 0%{suse_version} >= 1110
+BuildRequires: libv4l-devel
+%endif
+%if 0%{suse_version} >= 1030
+BuildRequires: lirc-devel
+%else
+BuildRequires: lirc
+%endif
+%if !%{with distributable}
+# those requiremens are optional but internal copies are likely old
+%if %{with external_ffmpeg}
+BuildRequires: libfaad-devel libffmpeg-devel
+%endif
+%endif
+%if %{with pulseaudio}
+BuildRequires: libpulse-devel
+%endif
+%if %{with sdl}
+BuildRequires: SDL-devel
+%endif
+%if %{with aalib}
+BuildRequires: aalib-devel
+BuildRequires: libcaca-devel
+%endif
+%if %{with arts}
+BuildRequires: arts-devel
+%endif
+%if %{with esd}
+BuildRequires: esound-devel
+%endif
+%if %{with gnome_vfs}
+BuildRequires: gnome-vfs2-devel
+%endif
+%if %{with jack}
+BuildRequires: libjack-devel
+%endif
+%if %{with directfb}
+%if 0%{suse_version} >= 1020
+BuildRequires: DirectFB-devel
+%else
+BuildRequires: DirectFB
+%endif
+%endif
+%if %{with modplug}
+BuildRequires: libmodplug-devel
+%endif
+Version: 1.1.19
+Release: 45
+# bug437293
+%ifarch ppc64
+Obsoletes: xine-lib-64bit
+%endif
+%define abiversion 1.29
+Summary: Video Player with Plug-Ins
+Group: Productivity/Multimedia/Video/Players
+License: GPLv2+
+Url: http://www.xine-project.org/home
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%if %{with distributable}
+Source: xine-lib-%{version}-crippled.tar.bz2
+%else
+Source: http://downloads.sourceforge.net/project/xine/xine-lib/%{version}/xine-lib-%{version}.tar.bz2
+%endif
+Source2: baselibs.conf
+Source10: README.SuSE
+Source99: precheckin_cripple_tarball.sh
+# *** xine-lib: Bugfixes
+Patch26: xine-lib-doc-fix-X11R6.diff
+Patch28: xine-lib-%{version}-ia64-is-not-alpha.diff
+Patch31: xine-lib-%{version}-glitch-free-pulseaudio.patch
+Patch32: http://repos.archlinux.org/wsvn/packages/xine-lib/trunk/xine-lib-1.1.19-xvmc.patch
+# *** Addons
+Patch50: vdr-xine-0.9.3.diff.bz2
+Patch51: vdr-xine-SUSE.diff
+Patch61: xine-lib-%{version}-mjpegplugin.diff
+Patch62: xine-lib-libdvdread_udf.diff
+# *** SUSE only changes
+Patch70: xine-lib-crippled-LOCAL.diff
+Patch71: xine-lib-%{version}-demuxcheckfor_mad_ffmpeg.patch
+Patch72: xine-lib-%{version}-install-plugins-helper.diff
+Patch73: xine-lib-%{version}-assert.patch
+Patch74: xine-configure.diff
+# *** Only working for noncrippled source
+Patch80: xine-lib-various-noncrippled.diff
+
+%description
+xine is a free multimedia player. It plays back CDs, DVDs, and VCDs. It
+also decodes multimedia files like AVI, MOV, WMV, and MP3 from local
+disk drives, and displays multimedia streamed over the Internet. It
+interprets many of the most common multimedia formats available - and
+some of the most uncommon formats, too.
+
+%description -l de
+xine ist ein freies Multimedia Wiedergabeprogramm. Es spielt Musik-CDs,
+Video-DVDs und VCDs. Es gibt auch Multimeda Dateien wie AVI, MOV, WMV
+und MP3 von der lokalen Platte sowie über das Internet wieder. Es gibt
+die meisten übliche Multimedia Formate wieder, sowie einige weniger
+verbreitete.
+
+%package -n libxine1
+Summary: Video Player with Plug-Ins
+Group: Productivity/Multimedia/Video/Players
+License: GPLv2+
+Provides: xine-lib = %{version}-%{release}
+Obsoletes: xine-lib < %{version}-%{release}
+Provides: xine-extra = %{version}-%{release}
+Obsoletes: xine-extra < %{version}-%{release}
+Provides: libxine1-syncfb = %{version}-%{release}
+Obsoletes: libxine1-syncfb < %{version}-%{release}
+Provides: libxine1-xvmc = %{version}-%{release}
+Obsoletes: libxine1-xvmc < %{version}-%{release}
+Provides: libxine1-dvb = %{version}-%{release}
+Obsoletes: libxine1-dvb < %{version}-%{release}
+# bug437293
+%ifarch ppc64
+Obsoletes: xine-lib-64bit
+%endif
+#
+Recommends: libxine1-codecs = %{version}
+Recommends: opensuse-codecs-installer
+
+%description -n libxine1
+xine is a video player with a graphical front-end that supports a large
+number of file formats (VCD and MPEG2, for example) using plug-ins.
+Several plug-ins are included. Others can be installed after xine
+installation. xine supports stereo sound using OSS and AC5.1 using
+Alsa.
+
+xine ist ein Videoplayer mit grafischem Frontend und unterstützt
+eine vielzahl an Dateiformaten (z.B. VCD und MPEG2) mit hilfe von
+Plugins. Einige Plugins sind enthalten, andere können nach der
+Installation von xine nachinstalliert werden. xine untersützt
+Stereosound via OSS und AC5.1 per Alsa.
+
+xine is a video player with a graphical front-end that supports a large
+number of file formats (VCD and MPEG2, for example) using plug-ins.
+Several plug-ins are included. Others can be installed after xine
+installation. xine supports stereo sound using OSS and AC5.1 using
+Alsa.
+
+xine ist ein Videoplayer mit grafischem Frontend und unterstützt
+eine vielzahl an Dateiformaten (z.B. VCD und MPEG2) mit hilfe von
+Plugins. Einige Plugins sind enthalten, andere können nach der
|