]> git.pld-linux.org Git - packages/fluxbox.git/commitdiff
- added imlib2 bcond
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 7 Dec 2005 11:13:57 +0000 (11:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fluxbox.spec -> 1.91

fluxbox.spec

index 18fd3d05f1bf9493390f7523416bc0ddd230ea52..dee0de4739744e0730ff311038fbbf28ac069110 100644 (file)
@@ -1,5 +1,6 @@
 #
 # Conditional build:
+%bcond_without imlib2          # disable imlib2 (pixmap themes) support
 %bcond_with    old_wheel       # build with right wheel direction
 #
 #%define               snap 20041111
@@ -29,7 +30,7 @@ BuildRequires:        XFree86-devel
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
 BuildRequires: gettext-devel
-BuildRequires: imlib2-devel
+%{?with_imlib:BuildRequires:   imlib2-devel >= 1.0.0}
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 BuildRequires: xft-devel
@@ -38,8 +39,8 @@ Requires(post):       vfmg >= 0.9.16-3
 Requires:      vfmg >= 0.9.16-3
 Requires:      xinitrc-ng
 Provides:      blackbox
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     blackbox
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define         _sysconfdir     /etc/X11/%{name}
 %define                _wmpropsdir     /usr/share/wm-properties
@@ -91,7 +92,7 @@ echo "session.screen0.antialias: true" >> data/init.in
        --enable-gnome \
        --enable-xinerama \
        --enable-nls \
-       --enable-imlib2
+       %{?with_imlib2:--enable-imlib2}
 
 %{__make}
 
This page took 0.09674 seconds and 4 git commands to generate.