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 \
|
|
|
|
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) \
|
|
|
|
./waf configure \
|
|
|
|
--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
|
2012-06-11 18:09:40 +02:00
|
|
|
(cd $(@D); ./waf build -j $(PARALLEL_JOBS))
|
2010-07-19 09:21:22 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define MIDORI_INSTALL_TARGET_CMDS
|
|
|
|
(cd $(@D); ./waf --destdir=$(TARGET_DIR) install)
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|