Makefile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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:= gtk+
  5. PKG_VERSION:= 2.24.23
  6. PKG_EXTRAVER:= 2.24
  7. PKG_RELEASE:= 2
  8. PKG_HASH:= a0a406e27e9b5e7d6b2c4334212706ed5cdcd41e713e66c9ae950655dd61517c
  9. PKG_DESCR:= multi-platform toolkit for creating graphical user interfaces
  10. PKG_SECTION:= libs/misc
  11. PKG_DEPENDS:= glib libstdcxx cairo
  12. PKG_BUILDDEP:= cairo atk pango libXext renderproto libXrender
  13. PKG_BUILDDEP+= gdk-pixbuf libXcomposite libXdamage libX11
  14. PKG_URL:= http://www.gtk.org/
  15. PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gtk+/$(PKG_EXTRAVER)/
  16. PKG_LIBNAME:= libgtk
  17. PKG_OPTS:= dev
  18. PKG_CFLINE_GTKX:= select ADK_PACKAGE_CAIRO_WITH_PDF@
  19. PKG_CFLINE_GTKX+= select ADK_PACKAGE_CAIRO_WITH_PS@
  20. PKG_CFLINE_GTKX+= select ADK_PACKAGE_CAIRO_WITH_SVG@
  21. include ${ADK_TOPDIR}/mk/package.mk
  22. $(eval $(call PKG_template,LIBGTK,libgtk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  23. CONFIGURE_ARGS+= --disable-gtk-doc-html \
  24. --disable-modules \
  25. --disable-xinerama \
  26. --without-xinput \
  27. --disable-gtk-doc \
  28. --disable-cups \
  29. --disable-papi \
  30. --disable-introspection
  31. CONFIGURE_ENV+= gio_can_sniff=no \
  32. ac_cv_path_GTK_UPDATE_ICON_CACHE=""
  33. libgtk-install:
  34. ${INSTALL_DIR} ${IDIR_LIBGTK}/usr/lib
  35. ${CP} ${WRKINST}/usr/lib/libgdk-x11*so* ${IDIR_LIBGTK}/usr/lib
  36. ${CP} ${WRKINST}/usr/lib/libgtk-x11*so* ${IDIR_LIBGTK}/usr/lib
  37. ${CP} ${WRKINST}/usr/lib/libgailutil*so* ${IDIR_LIBGTK}/usr/lib
  38. # workaround dev subpackage
  39. ${INSTALL_DIR} ${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
  40. ${CP} ${WRKINST}/usr/lib/gtk-2.0/include/* \
  41. ${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
  42. include ${ADK_TOPDIR}/mk/pkg-bottom.mk