2008-03-06 19:28:48 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# webkit
|
|
|
|
#
|
|
|
|
#############################################################
|
2009-06-29 12:54:06 +02:00
|
|
|
WEBKIT_VERSION = r44552
|
2008-03-06 19:28:48 +01:00
|
|
|
WEBKIT_SOURCE = WebKit-$(WEBKIT_VERSION).tar.bz2
|
|
|
|
WEBKIT_SITE = http://nightly.webkit.org/files/trunk/src/
|
|
|
|
|
|
|
|
WEBKIT_INSTALL_STAGING = YES
|
|
|
|
WEBKIT_INSTALL_TARGET = YES
|
2009-08-10 20:14:55 +02:00
|
|
|
WEBKIT_LIBTOOL_PATCH = NO
|
2008-03-06 19:28:48 +01:00
|
|
|
|
2009-11-15 11:12:57 +01:00
|
|
|
WEBKIT_DEPENDENCIES = host-flex host-gperf icu curl libxml2 libxslt \
|
|
|
|
libgtk2 sqlite enchant libsoup
|
2009-06-29 12:54:06 +02:00
|
|
|
|
2010-05-25 23:25:37 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
|
|
WEBKIT_CONF_OPT += --with-target=x11
|
|
|
|
WEBKIT_DEPENDENCIES += xserver_xorg-server
|
2009-06-29 12:54:06 +02:00
|
|
|
endif
|
|
|
|
|
2010-05-25 23:25:37 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_DIRECTFB),y)
|
|
|
|
WEBKIT_CONF_OPT += --with-target=directfb
|
|
|
|
WEBKIT_DEPENDENCIES += directfb
|
2009-06-29 12:54:06 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
WEBKIT_CONF_OPT += --disable-video
|
2008-03-06 19:28:48 +01:00
|
|
|
|
2009-11-15 11:12:56 +01:00
|
|
|
define WEBKIT_AUTOGEN_PATCH
|
2010-02-21 16:25:58 +01:00
|
|
|
$(SED) 's%ACLOCAL_FLAGS=.*%ACLOCAL_FLAGS="-I autotools -I $(STAGING_DIR)/usr/share/aclocal"%' $(WEBKIT_DIR)/autogen.sh
|
2009-11-15 11:12:56 +01:00
|
|
|
$(SED) 's/AUTOMAKE_FLAGS=.*/AUTOMAKE_FLAGS="--foreign --add-missing --copy"/' $(WEBKIT_DIR)/autogen.sh
|
|
|
|
$(SED) 's/LIBTOOLIZE_FLAGS=.*/LIBTOOLIZE_FLAGS="--force --automake --copy"/' $(WEBKIT_DIR)/autogen.sh
|
2010-02-21 16:25:58 +01:00
|
|
|
cp package/webkit/gtk-doc.make $(WEBKIT_DIR)/
|
2009-11-15 11:12:56 +01:00
|
|
|
# Don't run the configure step yet
|
2010-02-21 16:25:58 +01:00
|
|
|
cd $(WEBKIT_DIR); $(HOST_CONFIGURE_OPTS) AUTOGEN_CONFIGURE_ARGS=--version ./autogen.sh
|
2009-11-15 11:12:56 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
WEBKIT_POST_EXTRACT_HOOKS += WEBKIT_AUTOGEN_PATCH
|
2009-06-29 12:54:06 +02:00
|
|
|
|
2009-11-15 11:12:56 +01:00
|
|
|
$(eval $(call AUTOTARGETS,package,webkit))
|