Author: duddits                      Date: Mon Mar 23 11:02:23 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond for cairo support added (see not in BR)

---- Files affected:
SPECS:
   fltk2.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/fltk2.spec
diff -u SPECS/fltk2.spec:1.4 SPECS/fltk2.spec:1.5
--- SPECS/fltk2.spec:1.4        Mon Mar 23 11:47:19 2009
+++ SPECS/fltk2.spec    Mon Mar 23 12:02:18 2009
@@ -2,6 +2,9 @@
 %define                _name           fltk
 %define                _snap           r6671
 %define                _version        2.0
+# Conditional build:
+%bcond_with    cairo   # without cairo support
+#
 Summary:       Fast Light Tool Kit 2.x
 Summary(pl.UTF-8):     FLTK - "lekki" X11 toolkit wersja 2.x
 Summary(pt_BR.UTF-8):  Interface gráfica em C++ para X, OpenGL e Windows
@@ -14,7 +17,9 @@
 # Source0-md5: 6bcef5fd51eb3bc4dd0702f3ae6da6ba
 URL:           http://www.fltk.org/
 BuildRequires: autoconf
-BuildRequires: cairo-devel
+# don't build with cairo support if you're planning to use fltk2 with
+# dillo 2.x
+%{?with_cairo:BuildRequires:   cairo-devel}
 BuildRequires: libstdc++-devel
 BuildRequires: rpmbuild(macros) >= 1.315
 BuildRequires: xorg-lib-libX11-devel
@@ -87,7 +92,7 @@
 %{__sed} -i -e '/fltk2-config/s/^\t/\t$(DESTDIR)/' fluid/Makefile
 %{__autoconf}
 %configure \
-       --enable-cairo \
+       --%{?with_cairo:en}%{!?with_cairo:dis}able-cairo \
        --enable-shared \
        --enable-threads \
        --enable-xinerama \
@@ -156,6 +161,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2009/03/23 11:02:18  duddits
+- bcond for cairo support added (see not in BR)
+
 Revision 1.4  2009/03/23 10:47:19  duddits
 - bad formatting
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/fltk2.spec?r1=1.4&r2=1.5&f=u

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

Reply via email to