Author: sls                          Date: Sun Apr  6 23:53:58 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond esound
- bconded arts plugin

---- Files affected:
SPECS:
   vlc.spec (1.131 -> 1.132) 

---- Diffs:

================================================================
Index: SPECS/vlc.spec
diff -u SPECS/vlc.spec:1.131 SPECS/vlc.spec:1.132
--- SPECS/vlc.spec:1.131        Mon Apr  7 01:31:53 2008
+++ SPECS/vlc.spec      Mon Apr  7 01:53:53 2008
@@ -16,6 +16,7 @@
 %bcond_without x264    # build without x264 support
 %bcond_without alsa    # don't build alsa plugin
 %bcond_without arts    # don't build arts plugin
+%bcond_without esound  # don't build esound plugin
 %bcond_without ggi     # don't build ggi plugin
 %bcond_without live    # build without live.com support
 %bcond_without speex   # don't build speex plugin
@@ -51,7 +52,7 @@
 %{?with_arts:BuildRequires:    artsc-devel}
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: esound-devel
+%{?with_esound:BuildRequires:  esound-devel}
 BuildRequires: faad2-devel >= 2.5
 BuildRequires: ffmpeg-devel >= 0.4.9-4.20080131.1
 BuildRequires: flac-devel >= 1.1.3
@@ -245,7 +246,7 @@
        --with-dvdcss \
        --enable-dvdnav \
        --enable-dvdread \
-       --enable-esd \
+       %{?with_esound:--enable-esd} \
        --enable-faad \
        --enable-fb \
        --enable-freetype \
@@ -385,7 +386,7 @@
 %attr(755,root,root) %{_libdir}/vlc/audio_mixer/libtrivial_mixer_plugin.so
 %dir %{_libdir}/vlc/audio_output
 %attr(755,root,root) %{_libdir}/vlc/audio_output/libaout_file_plugin.so
-%attr(755,root,root) %{_libdir}/vlc/audio_output/libarts_plugin.so
+%{?with_arts:%attr(755,root,root) 
%{_libdir}/vlc/audio_output/libarts_plugin.so}
 %attr(755,root,root) %{_libdir}/vlc/audio_output/liboss_plugin.so
 %dir %{_libdir}/vlc/codec
 %attr(755,root,root) %{_libdir}/vlc/codec/liba52_plugin.so
@@ -592,9 +593,11 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/video_output/libfb_plugin.so
 
+%if %{with esound}
 %files esd
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/audio_output/libesd_plugin.so
+%endif
 
 %if %{with alsa}
 %files alsa
@@ -608,6 +611,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.132  2008-04-06 23:53:53  sls
+- added bcond esound
+- bconded arts plugin
+
 Revision 1.131  2008-04-06 23:31:53  sls
 - bconded dv, lirc, x264 plugins
 - remove fake libdv-devel BR
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/vlc.spec?r1=1.131&r2=1.132&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to