#
# Conditional build:
+%bcond_without imlib2 # disable imlib2 (pixmap themes) support
%bcond_with old_wheel # build with right wheel direction
#
#%define snap 20041111
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
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
--enable-gnome \
--enable-xinerama \
--enable-nls \
- --enable-imlib2
+ %{?with_imlib2:--enable-imlib2}
%{__make}