The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / midori / midori.mk
1 ################################################################################
2 #
3 # midori
4 #
5 ################################################################################
6
7 MIDORI_VERSION_MAJOR = 0.4
8 MIDORI_VERSION = $(MIDORI_VERSION_MAJOR).6
9 MIDORI_SOURCE = midori-$(MIDORI_VERSION).tar.bz2
10 MIDORI_SITE = http://archive.xfce.org/src/apps/midori/$(MIDORI_VERSION_MAJOR)
11 MIDORI_LICENSE = LGPLv2.1+
12 MIDORI_LICENSE_FILES = COPYING
13 MIDORI_DEPENDENCIES = \
14         host-intltool \
15         host-pkgconf \
16         host-vala \
17         host-python \
18         libgtk2 \
19         libsexy \
20         webkit \
21         $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
22         $(if $(BR2_PACKAGE_LIBICONV),libiconv)
23
24 ifneq ($(BR2_PACKAGE_XORG7),y)
25 define MIDORI_WITHOUT_X11
26         $(SED) "s/check_pkg ('x11')/#check_pkg ('x11')/" $(@D)/wscript
27 endef
28 endif
29
30 define MIDORI_CONFIGURE_CMDS
31         $(MIDORI_WITHOUT_X11)
32         (cd $(@D); \
33                 $(TARGET_CONFIGURE_OPTS)        \
34                 $(HOST_DIR)/usr/bin/python2 ./waf configure \
35                 --prefix=/usr                   \
36                 --disable-libnotify             \
37         )
38 endef
39
40 define MIDORI_BUILD_CMDS
41         (cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS))
42 endef
43
44 define MIDORI_INSTALL_TARGET_CMDS
45         (cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) install)
46 endef
47
48 $(eval $(generic-package))