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
|
|
|
|
2013-12-18 19:20:02 +01:00
|
|
|
MIDORI_VERSION_MAJOR = 0.4
|
|
|
|
MIDORI_VERSION = $(MIDORI_VERSION_MAJOR).6
|
2010-07-19 09:21:22 +02:00
|
|
|
MIDORI_SOURCE = midori-$(MIDORI_VERSION).tar.bz2
|
2013-12-18 19:20:02 +01:00
|
|
|
MIDORI_SITE = http://archive.xfce.org/src/apps/midori/$(MIDORI_VERSION_MAJOR)/
|
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 \
|
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 \
|
2012-05-25 04:47:31 +02:00
|
|
|
libgtk2 \
|
|
|
|
libsexy \
|
|
|
|
webkit \
|
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
|
|
|
|
2010-11-05 21:14:13 +01:00
|
|
|
ifneq ($(BR2_PACKAGE_XORG7),y)
|
|
|
|
define MIDORI_WITHOUT_X11
|
|
|
|
$(SED) "s/check_pkg ('x11')/#check_pkg ('x11')/" $(@D)/wscript
|
|
|
|
endef
|
|
|
|
endif
|
|
|
|
|
2010-07-19 09:21:22 +02:00
|
|
|
define MIDORI_CONFIGURE_CMDS
|
2010-11-05 21:14:13 +01:00
|
|
|
$(MIDORI_WITHOUT_X11)
|
|
|
|
(cd $(@D); \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2014-05-26 15:06:20 +02:00
|
|
|
$(HOST_DIR)/usr/bin/python2 ./waf configure \
|
2010-11-05 21:14:13 +01:00
|
|
|
--prefix=/usr \
|
2012-05-25 04:47:31 +02:00
|
|
|
--disable-libnotify \
|
2010-07-19 09:21:22 +02:00
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define MIDORI_BUILD_CMDS
|
2014-05-26 15:06:20 +02:00
|
|
|
(cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS))
|
2010-07-19 09:21:22 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define MIDORI_INSTALL_TARGET_CMDS
|
2014-05-26 15:06:20 +02:00
|
|
|
(cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) install)
|
2010-07-19 09:21:22 +02:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|