2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-03-06 19:28:48 +01:00
|
|
|
#
|
|
|
|
# webkit
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-03-06 19:28:48 +01:00
|
|
|
|
2013-06-07 15:18:50 +02:00
|
|
|
WEBKIT_VERSION = 1.9.6
|
2013-05-06 08:19:39 +02:00
|
|
|
WEBKIT_SITE = http://www.webkitgtk.org/releases
|
2013-06-07 15:18:50 +02:00
|
|
|
WEBKIT_SOURCE = webkit-$(WEBKIT_VERSION).tar.xz
|
2008-03-06 19:28:48 +01:00
|
|
|
WEBKIT_INSTALL_STAGING = YES
|
2012-12-15 08:29:42 +01:00
|
|
|
WEBKIT_DEPENDENCIES = host-flex host-bison host-gperf icu libcurl libxml2 \
|
|
|
|
libxslt libgtk2 sqlite enchant libsoup jpeg libgail
|
2012-12-15 08:29:41 +01:00
|
|
|
|
2013-06-07 15:18:50 +02:00
|
|
|
# webkit-disable-tests.patch changes configure.ac therefore autoreconf required
|
|
|
|
WEBKIT_AUTORECONF = YES
|
|
|
|
WEBKIT_AUTORECONF_OPT = -I $(@D)/Source/autotools
|
|
|
|
|
2012-12-15 08:29:41 +01:00
|
|
|
# Give explicit path to icu-config, and silence gazillions of warnings
|
|
|
|
# with recent gcc versions.
|
|
|
|
WEBKIT_CONF_ENV = ac_cv_path_icu_config=$(STAGING_DIR)/usr/bin/icu-config \
|
2013-06-07 15:18:50 +02:00
|
|
|
CFLAGS="$(TARGET_CFLAGS) -Wno-cast-align -Wno-sign-compare" \
|
|
|
|
CXXFLAGS="$(TARGET_CXXFLAGS) -Wno-cast-align -Wno-sign-compare"
|
2010-05-25 23:25:37 +02:00
|
|
|
|
2013-06-07 15:18:50 +02:00
|
|
|
WEBKIT_CONF_OPT += \
|
|
|
|
--with-gtk=2.0 \
|
|
|
|
--disable-geolocation \
|
|
|
|
--disable-webkit2 \
|
|
|
|
--disable-glibtest \
|
|
|
|
--disable-video \
|
|
|
|
--disable-gtk-doc-html \
|
|
|
|
--disable-tests
|
2009-06-29 12:54:06 +02:00
|
|
|
|
2013-06-07 15:18:50 +02:00
|
|
|
# Xorg Dependencies
|
|
|
|
WEBKIT_CONF_OPT += --with-target=x11
|
|
|
|
WEBKIT_DEPENDENCIES += xlib_libXt
|
2008-03-06 19:28:48 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|