Author: sls                          Date: Thu Mar 27 02:42:49 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond dc1394

---- Files affected:
SPECS:
   pwlib.spec (1.144 -> 1.145) 

---- Diffs:

================================================================
Index: SPECS/pwlib.spec
diff -u SPECS/pwlib.spec:1.144 SPECS/pwlib.spec:1.145
--- SPECS/pwlib.spec:1.144      Sun Feb 24 18:17:52 2008
+++ SPECS/pwlib.spec    Thu Mar 27 03:42:43 2008
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with    dc1394          # build DC 1394 video input plugin
+#
 Summary:       Portable Windows Libary
 Summary(pl.UTF-8):     Biblioteka zapewniająca przenośność między Windows i 
Uniksami
 Summary(pt_BR.UTF-8):  Biblioteca Windows Portavel
@@ -28,7 +32,7 @@
 BuildRequires: expat-devel
 BuildRequires: flex
 BuildRequires: libavc1394-devel
-BuildRequires: libdc1394-devel
+%{?with_dc1394:BuildRequires:  libdc1394-devel < 2.0.0}
 BuildRequires: libdv-devel
 BuildRequires: libraw1394-devel
 BuildRequires: libstdc++-devel
@@ -256,9 +260,11 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/pwlib/devices/videoinput/avc_pwplugin.so
 
+%if %{with dc1394}
 %files video-dc
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/pwlib/devices/videoinput/dc_pwplugin.so
+%endif
 
 %files video-v4l
 %defattr(644,root,root,755)
@@ -274,6 +280,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.145  2008-03-27 02:42:43  sls
+- added bcond dc1394
+
 Revision 1.144  2008-02-24 17:17:52  glen
 - release 3
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pwlib.spec?r1=1.144&r2=1.145&f=u

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

Reply via email to