packages (PTLIB_2_8): ptlib/ptlib.spec - disable v4l plugin - it won't buil...

jajcus jajcus at pld-linux.org
Fri Apr 29 08:55:35 CEST 2011


Author: jajcus                       Date: Fri Apr 29 06:55:35 2011 GMT
Module: packages                      Tag: PTLIB_2_8
---- Log message:
- disable v4l plugin - it won't build with current linux-libc-headers and is probably obsolete anyway

---- Files affected:
packages/ptlib:
   ptlib.spec (1.25.2.6 -> 1.25.2.7) 

---- Diffs:

================================================================
Index: packages/ptlib/ptlib.spec
diff -u packages/ptlib/ptlib.spec:1.25.2.6 packages/ptlib/ptlib.spec:1.25.2.7
--- packages/ptlib/ptlib.spec:1.25.2.6	Fri Apr 29 08:26:11 2011
+++ packages/ptlib/ptlib.spec	Fri Apr 29 08:55:30 2011
@@ -18,6 +18,8 @@
 %bcond_without	resolver	# Disable resolver support
 %bcond_without	openssl		# Disable openssl support
 %bcond_without	video		# Disable video support
+%bcond_with	v4l		# Enable v4l (not v4l2) support.
+                                # won't build with recent linux-libc-headers 
 #
 Summary:	Portable Tools Library
 Summary(pl.UTF-8):	Przenośna biblioteka narzędziowa
@@ -188,7 +190,7 @@
 		--disable-alsa \
 		--disable-oss \
 		--disable-v4l2 \
-		--disable-v4l \
+		--%{?with_v4l:en}%{!?with_v4l:dis}able-v4l \
 %endif
 		--disable-esd \
 %if %{with http}
@@ -283,9 +285,11 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}-%{version}/devices/sound/oss_pwplugin.so
 
+%if %{with v4l}
 %files video-v4l
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}-%{version}/devices/videoinput/v4l_pwplugin.so
+%endif
 
 %files video-v4l2
 %defattr(644,root,root,755)
@@ -304,6 +308,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25.2.7  2011/04/29 06:55:30  jajcus
+- disable v4l plugin - it won't build with current linux-libc-headers and is probably obsolete anyway
+
 Revision 1.25.2.6  2011/04/29 06:26:11  jajcus
 - Release: 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ptlib/ptlib.spec?r1=1.25.2.6&r2=1.25.2.7&f=u



More information about the pld-cvs-commit mailing list