package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / midori / midori.mk
blob197f51ab66552c1e26236a92414f0f762f042d8f
1 ################################################################################
3 # midori
5 ################################################################################
7 MIDORI_VERSION = 0.5.9
8 MIDORI_SOURCE = midori_$(MIDORI_VERSION)_all_.tar.bz2
9 MIDORI_SITE = https://launchpad.net/midori/trunk/$(MIDORI_VERSION)/+download
10 MIDORI_LICENSE = LGPLv2.1+
11 MIDORI_LICENSE_FILES = COPYING
12 MIDORI_DEPENDENCIES = \
13 host-intltool \
14 host-librsvg \
15 host-pkgconf \
16 host-vala \
17 host-python \
18 libsoup \
19 libxml2 \
20 sqlite \
21 webkitgtk24 \
22 $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
23 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
25 MIDORI_CONF_OPTS = \
26 -DUSE_ZEITGEIST=OFF
28 # Requires uClibc backtrace support, normally not enabled
29 ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
30 define MIDORI_REMOVE_DEVPET
31 rm -f $(@D)/extensions/devpet.vala
32 endef
33 MIDORI_POST_PATCH_HOOKS += MIDORI_REMOVE_DEVPET
34 endif
36 ifeq ($(BR2_PACKAGE_MIDORI_HTTPS),y)
37 MIDORI_DEPENDENCIES += glib-networking
38 endif
40 ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
41 MIDORI_CONF_OPTS += -DUSE_GTK3=ON -DHALF_BRO_INCOM_WEBKIT2=ON
42 MIDORI_DEPENDENCIES += libgtk3
43 else
44 MIDORI_CONF_OPTS += -DUSE_GTK3=OFF
45 MIDORI_DEPENDENCIES += libgtk2
46 endif
48 $(eval $(cmake-package))