Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= webkitgtk
  5. PKG_VERSION:= 2.7.3
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 06243dfda689e83d170a31d6ea288f51790ddc596faa8a6b44f464006528b7f8
  8. PKG_DESCR:= web browser engine
  9. PKG_SECTION:= libs/misc
  10. PKG_DEPENDS:= glib icu4c zlib libwebp libgtk3 libsoup
  11. PKG_DEPENDS+= libsecret libxt harfbuzz cairo
  12. PKG_DEPENDS+= gst-plugins-base gstreamer
  13. PKG_BUILDDEP:= glib icu4c zlib libwebp gtk3 cmake-host
  14. PKG_BUILDDEP+= libsoup libsecret libXt harfbuzz
  15. PKG_BUILDDEP+= gst-plugins-base gstreamer cairo enchant
  16. PKG_URL:= http://www.webkitgtk.org/
  17. PKG_SITES:= http://webkitgtk.org/releases/
  18. PKG_OPTS:= dev
  19. PKG_CFLINE_WEBKITGTK:= depends on ADK_BROKEN
  20. PKG_CFLINE_WEBKITGTK:= select ADK_PACKAGE_CAIRO_WITH_PDF@
  21. PKG_CFLINE_WEBKITGTK+= select ADK_PACKAGE_CAIRO_WITH_PS@
  22. PKG_CFLINE_WEBKITGTK+= select ADK_PACKAGE_CAIRO_WITH_SVG@
  23. include $(ADK_TOPDIR)/mk/package.mk
  24. $(eval $(call PKG_template,WEBKITGTK,webkitgtk,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  25. CONFIG_STYLE:= cmake
  26. CMAKE_FLAGS+= -DPORT=GTK -DENABLE_PLUGIN_PROCESS_GTK2=OFF
  27. webkitgtk-install:
  28. $(INSTALL_DIR) $(IDIR_WEBKITGTK)/usr/lib
  29. $(CP) $(WRKINST)/usr/lib/libjavascriptcoregtk*.so* \
  30. $(IDIR_WEBKITGTK)/usr/lib
  31. $(CP) $(WRKINST)/usr/lib/libwebkitgtk*.so* \
  32. $(IDIR_WEBKITGTK)/usr/lib
  33. include $(ADK_TOPDIR)/mk/pkg-bottom.mk