# Conditional build:
# --without aa
-# --with alsa
+# --with alsa (alsa support is currently broken)
# --without arts
# --without esd
# --without oss
Summary(ko): °ø°³ µ¿¿µ»ó Ç÷¹À̾î
Name: xine-lib
Version: 0.9.1
-Release: 1
+Release: 2
License: GPL
Group: Libraries
Group(de): Libraries
Group(fr): Librairies
Group(pl): Biblioteki
Source0: http://xine.sourceforge.net/files/%{name}-%{version}.tar.gz
-Patch0: %{name}-stubs.patch
-Patch1: %{name}-am15.patch
+Patch0: %{name}-am15.patch
URL: http://xine.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake >= 1.5
%{!?_without_alsa:BuildRequires: alsa-lib-devel}
%endif
%{!?_without_esd:BuildRequires: esound-devel}
-BuildRequires: libtool
+BuildRequires: libtool >= 1.4.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: xine
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
rm -f missing
automake -a -c
autoheader
%configure \
- --with-aalib-prefix=/usr
+ --with-aalib-prefix=/usr \
+%{?_with_alsa: --enable-alsa} \
+%{!?_with_alsa: --disable-alsa}
%{__make}
%attr(755,root,root) %{_pluginsdir}/*oss.so
%endif
-%if %{!?_without_alsa:1}
+%if %{?_with_alsa:1}
%ifnarch sparc sparc64
%files alsa
%defattr(644,root,root,755)
%attr(755,root,root) %{_pluginsdir}/*esd.so
%endif
-%if %{!?_with_dxr3:0}
+%if %{?_with_dxr3:1}
%files dxr3
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/xine/plugins/xineplug_decode_dxr3.so