Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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:= gtk+
  5. PKG_VERSION:= 2.24.6
  6. PKG_EXTRAVER:= 2.24
  7. PKG_RELEASE:= 1
  8. PKG_MD5SUM:= 4d7efde4ac24dbaa720bc0744eee8235
  9. PKG_DESCR:= GTK+ library
  10. PKG_SECTION:= libs
  11. PKG_DEPENDS:= glib
  12. PKG_BUILDDEP:= cairo atk pango libXext renderproto libXrender
  13. PKG_BUILDDEP+= gdk-pixbuf libXcomposite libXdamage
  14. PKG_URL:= http://www.gtk.org/
  15. PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gtk+/$(PKG_EXTRAVER)/
  16. PKG_NEED_CXX:= 1
  17. PKG_LIBNAME:= libgtk
  18. PKG_OPTS:= dev
  19. PKG_ARCH_DEPENDS:= !m68k
  20. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.xz
  21. ifeq ($(ADK_STATIC),y)
  22. PKG_OPTS+= libonly
  23. endif
  24. include ${TOPDIR}/mk/package.mk
  25. $(eval $(call PKG_template,LIBGTK,libgtk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  26. CONFIGURE_ARGS+= --disable-gtk-doc-html \
  27. --disable-modules \
  28. --disable-xinerama \
  29. --without-xinput \
  30. --disable-gtk-doc \
  31. --disable-cups \
  32. --disable-papi \
  33. --disable-introspection
  34. CONFIGURE_ENV+= gio_can_sniff=no \
  35. ac_cv_path_GTK_UPDATE_ICON_CACHE=""
  36. libgtk-install:
  37. ${INSTALL_DIR} ${IDIR_LIBGTK}/usr/lib
  38. ${CP} ${WRKINST}/usr/lib/libgdk-x11*so* ${IDIR_LIBGTK}/usr/lib
  39. ${CP} ${WRKINST}/usr/lib/libgtk-x11*so* ${IDIR_LIBGTK}/usr/lib
  40. ${CP} ${WRKINST}/usr/lib/libgailutil*so* ${IDIR_LIBGTK}/usr/lib
  41. # workaround dev subpackage
  42. ${INSTALL_DIR} ${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
  43. ${CP} ${WRKINST}/usr/lib/gtk-2.0/include/* \
  44. ${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
  45. include ${TOPDIR}/mk/pkg-bottom.mk