midori: force host-python dependency for waf build-system

Fixes http://autobuild.buildroot.net/results/d48/d48b68dd6a43fa9a224237e8f458ca8987a3d7b4/

Similar to the recent fix to jack2 (fc8fcec306da). The waf version included
in midori (1.5.19) is not compatible with python 3.4.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2014-05-26 15:06:20 +02:00
parent fcff0d9cd0
commit 8ca6a6fff2

View File

@ -14,6 +14,7 @@ MIDORI_DEPENDENCIES = \
host-intltool \ host-intltool \
host-pkgconf \ host-pkgconf \
host-vala \ host-vala \
host-python \
libgtk2 \ libgtk2 \
libsexy \ libsexy \
webkit \ webkit \
@ -30,18 +31,18 @@ define MIDORI_CONFIGURE_CMDS
$(MIDORI_WITHOUT_X11) $(MIDORI_WITHOUT_X11)
(cd $(@D); \ (cd $(@D); \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
./waf configure \ $(HOST_DIR)/usr/bin/python2 ./waf configure \
--prefix=/usr \ --prefix=/usr \
--disable-libnotify \ --disable-libnotify \
) )
endef endef
define MIDORI_BUILD_CMDS define MIDORI_BUILD_CMDS
(cd $(@D); ./waf build -j $(PARALLEL_JOBS)) (cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS))
endef endef
define MIDORI_INSTALL_TARGET_CMDS define MIDORI_INSTALL_TARGET_CMDS
(cd $(@D); ./waf --destdir=$(TARGET_DIR) install) (cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) install)
endef endef
$(eval $(generic-package)) $(eval $(generic-package))