enable caca for f10+ only
This commit is contained in:
parent
066c6c26a2
commit
695c4f1c66
@ -13,14 +13,16 @@
|
|||||||
%define have_vidix 0
|
%define have_vidix 0
|
||||||
%endif # ix86
|
%endif # ix86
|
||||||
|
|
||||||
|
%if 0%{?fedora} > 9
|
||||||
|
%define _with_caca --with-caca
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
%define with_aalib %{?_without_aalib:0}%{!?_without_aalib:1}
|
%define with_aalib %{?_without_aalib:0}%{!?_without_aalib:1}
|
||||||
%define with_caca %{?_without_caca:0}%{!?_without_caca:1}
|
|
||||||
%define with_pa %{?_without_pulseaudio:0}%{!?_without_pulseaudio:1}
|
%define with_pa %{?_without_pulseaudio:0}%{!?_without_pulseaudio:1}
|
||||||
%define with_xcb %{?_without_xcb:0}%{!?_without_xcb:1}
|
%define with_xcb %{?_without_xcb:0}%{!?_without_xcb:1}
|
||||||
%else
|
%else
|
||||||
%define with_aalib %{?_with_aalib:1}%{!?_with_aalib:0}
|
%define with_aalib %{?_with_aalib:1}%{!?_with_aalib:0}
|
||||||
%define with_caca %{?_with_caca:1}%{!?_with_caca:0}
|
|
||||||
%define with_pa %{?_with_pulseaudio:1}%{!?_with_pulseaudio:0}
|
%define with_pa %{?_with_pulseaudio:1}%{!?_with_pulseaudio:0}
|
||||||
%define with_xcb %{?_with_xcb:1}%{!?_with_xcb:0}
|
%define with_xcb %{?_with_xcb:1}%{!?_with_xcb:0}
|
||||||
%endif # Fedora
|
%endif # Fedora
|
||||||
@ -67,7 +69,7 @@ BuildRequires: libmng-devel
|
|||||||
%if %{with_aalib}
|
%if %{with_aalib}
|
||||||
BuildRequires: aalib-devel >= 1.4
|
BuildRequires: aalib-devel >= 1.4
|
||||||
%endif # aalib
|
%endif # aalib
|
||||||
%if %{with_caca}
|
%if 0%{?_with_caca:1}
|
||||||
BuildRequires: libcaca-devel >= 0.99-0.5.beta16
|
BuildRequires: libcaca-devel >= 0.99-0.5.beta16
|
||||||
%endif # caca
|
%endif # caca
|
||||||
%if 0%{!?_without_directfb:1}
|
%if 0%{!?_without_directfb:1}
|
||||||
@ -168,7 +170,7 @@ This package contains extra plugins for xine-lib:
|
|||||||
%if %{with_aalib}
|
%if %{with_aalib}
|
||||||
- AA-lib
|
- AA-lib
|
||||||
%endif # aalib
|
%endif # aalib
|
||||||
%if %{with_caca}
|
%if 0%{?with_caca:1}
|
||||||
- Libcaca
|
- Libcaca
|
||||||
%endif # caca
|
%endif # caca
|
||||||
%if 0%{!?_without_imagemagick:1}
|
%if 0%{!?_without_imagemagick:1}
|
||||||
@ -225,6 +227,7 @@ export SDL_CFLAGS="$(sdl-config --cflags)" SDL_LIBS="$(sdl-config --libs)"
|
|||||||
%if 0%{?_without_imagemagick:1}
|
%if 0%{?_without_imagemagick:1}
|
||||||
--without-imagemagick \
|
--without-imagemagick \
|
||||||
%endif # imagemagick
|
%endif # imagemagick
|
||||||
|
%{?_with_caca} %{!?_with_caca:--without-caca} \
|
||||||
%{!?_without_arts:--with-arts} %{?_without_arts} \
|
%{!?_without_arts:--with-arts} %{?_without_arts} \
|
||||||
--with-wavpack \
|
--with-wavpack \
|
||||||
--with-real-codecs-path=%{codecdir} \
|
--with-real-codecs-path=%{codecdir} \
|
||||||
@ -398,7 +401,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%if %{with_aalib}
|
%if %{with_aalib}
|
||||||
%{_libdir}/xine/plugins/%{abiver}/xineplug_vo_out_aa.so
|
%{_libdir}/xine/plugins/%{abiver}/xineplug_vo_out_aa.so
|
||||||
%endif # aalib
|
%endif # aalib
|
||||||
%if %{with_caca}
|
%if 0%{?_with_caca}
|
||||||
%{_libdir}/xine/plugins/%{abiver}/xineplug_vo_out_caca.so
|
%{_libdir}/xine/plugins/%{abiver}/xineplug_vo_out_caca.so
|
||||||
%endif # caca
|
%endif # caca
|
||||||
%if 0%{!?_without_directfb:1}
|
%if 0%{!?_without_directfb:1}
|
||||||
|
Loading…
Reference in New Issue
Block a user