Makefile 1.3 KB

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