Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= da2b1b0f0863f3f21bdbc0476001589f
  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
  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
  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,ANGLE}
  29. mkdir -p $(WRKBUILD)/DerivedSources/WebKit2/webkit2gtk/webkit2
  30. webkitgtk-install:
  31. $(INSTALL_DIR) $(IDIR_WEBKITGTK)/usr/lib
  32. $(CP) $(WRKINST)/usr/lib/libjavascriptcoregtk*.so* \
  33. $(IDIR_WEBKITGTK)/usr/lib
  34. $(CP) $(WRKINST)/usr/lib/libwebkitgtk*.so* \
  35. $(IDIR_WEBKITGTK)/usr/lib
  36. include ${TOPDIR}/mk/pkg-bottom.mk