#
# Conditional build:
%bcond_without cups # CUPS support
-%bcond_with openjpeg # JPEG2000 support (unfinished in sources)
+%bcond_without openjpeg # JPEG2000 support
%bcond_without static_libs # don't build static libraries
#
Summary: The FOX C++ GUI Toolkit
Summary(pl.UTF-8): FOX - toolkit graficzny w C++
Name: fox
# NOTE: after switching to 1.8.x keep stable (1.8.x) on HEAD and devel (1.9.x) on DEVEL
-Version: 1.7.36
+Version: 1.7.38
Release: 1
License: LGPL v3+ with relinking exemption
Group: X11/Libraries
Source0: http://ftp.fox-toolkit.org/pub/%{name}-%{version}.tar.gz
-# Source0-md5: 381e1aed480907e1db4b9ea0a5d22e20
+# Source0-md5: 11bf212e5e995ca19a0e82d86b5349b3
Patch0: %{name}-opt.patch
Patch1: %{name}-link.patch
Patch2: %{name}-Makefile.patch
%{?debug:--enable-debug}%{!?debug:--enable-release} \
%{?with_openjpeg:--enable-jp2} \
--enable-static%{!?with_static_libs:=no} \
+ --enable-webp \
--with-opengl \
- --with-xft \
--with-shape \
- --with-xshm \
--with-xcursor \
+ --with-xft \
+ --with-xim \
--with-xrandr \
- --with-xim
+ --with-xshm
%{__make}