X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fmidori%2Fmidori.mk;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fmidori%2Fmidori.mk;h=a8b0b37ea0e72467120de670c26e93e76c67e085;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/midori/midori.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/midori/midori.mk new file mode 100644 index 0000000..a8b0b37 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/midori/midori.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# midori +# +################################################################################ + +MIDORI_VERSION_MAJOR = 0.4 +MIDORI_VERSION = $(MIDORI_VERSION_MAJOR).6 +MIDORI_SOURCE = midori-$(MIDORI_VERSION).tar.bz2 +MIDORI_SITE = http://archive.xfce.org/src/apps/midori/$(MIDORI_VERSION_MAJOR) +MIDORI_LICENSE = LGPLv2.1+ +MIDORI_LICENSE_FILES = COPYING +MIDORI_DEPENDENCIES = \ + host-intltool \ + host-pkgconf \ + host-vala \ + host-python \ + libgtk2 \ + libsexy \ + webkit \ + $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) + +ifneq ($(BR2_PACKAGE_XORG7),y) +define MIDORI_WITHOUT_X11 + $(SED) "s/check_pkg ('x11')/#check_pkg ('x11')/" $(@D)/wscript +endef +endif + +define MIDORI_CONFIGURE_CMDS + $(MIDORI_WITHOUT_X11) + (cd $(@D); \ + $(TARGET_CONFIGURE_OPTS) \ + $(HOST_DIR)/usr/bin/python2 ./waf configure \ + --prefix=/usr \ + --disable-libnotify \ + ) +endef + +define MIDORI_BUILD_CMDS + (cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS)) +endef + +define MIDORI_INSTALL_TARGET_CMDS + (cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) install) +endef + +$(eval $(generic-package))