# Conditional build:
%bcond_without introspection # disable introspection
#
-Summary: Port of WebKit embeddable web component to GTK+
-Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+
+Summary: Port of WebKit embeddable web component to GTK+ 2
+Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+ 2
Name: gtk-webkit
-Version: 2.4.8
+# note: 2.4.x is the last series with webkitgtk-1 API and GTK+ 2.x support
+Version: 2.4.11
Release: 1
License: BSD-like
Group: X11/Libraries
Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
-# Source0-md5: bcdcef8e1ba28dbd5bb05f86c79f76b8
+# Source0-md5: 24a25ccc30a7914ae50922aedf24b7bc
+Patch0: x32.patch
URL: http://webkitgtk.org/
BuildRequires: /usr/bin/ld.gold
BuildRequires: EGL-devel
%define skip_post_check_so lib.*gtk-1.0.*
%description
-gtk-webkit is a port of the WebKit embeddable web component to GTK+.
+gtk-webkit is a port of the WebKit embeddable web component to GTK+ 2.
%description -l pl.UTF-8
-gtk-webkit to port osadzalnego komponentu WWW WebKit do GTK+.
+gtk-webkit to port osadzalnego komponentu WWW WebKit do GTK+ 2.
%package devel
Summary: Development files for WebKit for GTK+ 2
%prep
%setup -q -n webkitgtk-%{version}
+%patch0 -p1
%build
%{__libtoolize}
%{__autoheader}
%{__automake}
%configure \
+%ifarch %{x8664}
LDFLAGS="%{rpmldflags} -fuse-ld=gold" \
+%else
+ LDFLAGS="%{rpmldflags} -fuse-ld=bfd -Wl,--no-keep-memory" \
+%endif
--disable-gtk-doc \
--disable-silent-rules \
--disable-webkit2 \