2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-03-06 19:18:35 +01:00
|
|
|
#
|
|
|
|
# midori
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-03-06 19:18:35 +01:00
|
|
|
|
2015-07-29 14:40:25 +02:00
|
|
|
MIDORI_VERSION = 0.5.9
|
|
|
|
MIDORI_SOURCE = midori_$(MIDORI_VERSION)_all_.tar.bz2
|
|
|
|
MIDORI_SITE = https://launchpad.net/midori/trunk/$(MIDORI_VERSION)/+download
|
2012-11-30 01:14:40 +01:00
|
|
|
MIDORI_LICENSE = LGPLv2.1+
|
|
|
|
MIDORI_LICENSE_FILES = COPYING
|
2012-05-25 04:47:31 +02:00
|
|
|
MIDORI_DEPENDENCIES = \
|
|
|
|
host-intltool \
|
2015-07-29 14:40:25 +02:00
|
|
|
host-librsvg \
|
2012-10-22 17:47:52 +02:00
|
|
|
host-pkgconf \
|
2012-05-25 04:47:31 +02:00
|
|
|
host-vala \
|
2014-05-26 15:06:20 +02:00
|
|
|
host-python \
|
2015-07-29 14:40:25 +02:00
|
|
|
libsoup \
|
|
|
|
libxml2 \
|
|
|
|
sqlite \
|
|
|
|
webkitgtk24 \
|
2012-09-16 14:57:49 +02:00
|
|
|
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
|
2012-05-25 04:47:31 +02:00
|
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
2008-03-06 19:18:35 +01:00
|
|
|
|
2015-07-29 14:40:25 +02:00
|
|
|
MIDORI_CONF_OPTS = \
|
|
|
|
-DUSE_ZEITGEIST=OFF
|
2010-11-05 21:14:13 +01:00
|
|
|
|
2015-07-29 14:40:25 +02:00
|
|
|
# Requires uClibc backtrace support, normally not enabled
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
|
|
|
define MIDORI_REMOVE_DEVPET
|
|
|
|
rm -f $(@D)/extensions/devpet.vala
|
2010-07-19 09:21:22 +02:00
|
|
|
endef
|
2015-07-29 14:40:25 +02:00
|
|
|
MIDORI_POST_PATCH_HOOKS += MIDORI_REMOVE_DEVPET
|
|
|
|
endif
|
2010-07-19 09:21:22 +02:00
|
|
|
|
2015-07-29 14:40:25 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_MIDORI_HTTPS),y)
|
|
|
|
MIDORI_DEPENDENCIES += glib-networking
|
|
|
|
endif
|
2010-07-19 09:21:22 +02:00
|
|
|
|
2015-08-25 20:04:43 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
|
2015-07-29 14:40:25 +02:00
|
|
|
MIDORI_CONF_OPTS += -DUSE_GTK3=ON -DHALF_BRO_INCOM_WEBKIT2=ON
|
|
|
|
MIDORI_DEPENDENCIES += libgtk3
|
|
|
|
else
|
|
|
|
MIDORI_CONF_OPTS += -DUSE_GTK3=OFF
|
|
|
|
MIDORI_DEPENDENCIES += libgtk2
|
|
|
|
endif
|
2010-07-19 09:21:22 +02:00
|
|
|
|
2015-07-29 14:40:25 +02:00
|
|
|
$(eval $(cmake-package))
|