Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.4.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c5861552d9ecd6d7854a4d462ff25924
  8. PKG_DESCR:= web browser engine
  9. PKG_SECTION:= libs/misc
  10. PKG_DEPENDS:= glib icu4c zlib libwebp libgtk libsoup
  11. PKG_DEPENDS+= libsecret libxt harfbuzz cairo
  12. PKG_DEPENDS+= gst-plugins-base gstreamer
  13. PKG_BUILDDEP:= glib icu4c zlib libwebp gtk+
  14. PKG_BUILDDEP+= libsoup libsecret libXt harfbuzz
  15. PKG_BUILDDEP+= gst-plugins-base gstreamer cairo
  16. PKG_URL:= http://www.webkitgtk.org/
  17. PKG_SITES:= http://webkitgtk.org/releases/
  18. PKG_OPTS:= dev
  19. PKG_CFLINE_WEBKITGTK:= select ADK_PACKAGE_CAIRO_WITH_PDF@
  20. PKG_CFLINE_WEBKITGTK+= select ADK_PACKAGE_CAIRO_WITH_PS@
  21. PKG_CFLINE_WEBKITGTK+= select ADK_PACKAGE_CAIRO_WITH_SVG@
  22. include $(ADK_TOPDIR)/mk/package.mk
  23. $(eval $(call PKG_template,WEBKITGTK,webkitgtk,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  24. MAKE_FILE:= GNUmakefile
  25. CONFIGURE_ENV+= AR_FLAGS="cr"
  26. CONFIGURE_ARGS+= --with-gtk=2.0 \
  27. --disable-webkit2 \
  28. --disable-geolocation
  29. pre-build:
  30. mkdir -p $(WRKBUILD)/DerivedSources/{webkit,webkitdom,InjectedBundle,Platform,ANGLE}
  31. mkdir -p $(WRKBUILD)/DerivedSources/WebKit2/webkit2gtk/webkit2
  32. webkitgtk-install:
  33. $(INSTALL_DIR) $(IDIR_WEBKITGTK)/usr/lib
  34. $(CP) $(WRKINST)/usr/lib/libjavascriptcoregtk*.so* \
  35. $(IDIR_WEBKITGTK)/usr/lib
  36. $(CP) $(WRKINST)/usr/lib/libwebkitgtk*.so* \
  37. $(IDIR_WEBKITGTK)/usr/lib
  38. include ${ADK_TOPDIR}/mk/pkg-bottom.mk