Source0: http://downloads.sourceforge.net/darktable/%{name}-%{version}.tar.xz
# Source0-md5: f86554329c2c809ffb009244a6f1d643
Patch0: cmake-glib.patch
+Patch1: x32.patch
URL: http://darktable.sourceforge.net/
BuildRequires: GraphicsMagick-devel
%{?with_opencl:BuildRequires: OpenCL-devel}
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
install -d build