Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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:= 3.14.6
  6. PKG_EXTRAVER:= 3.14
  7. PKG_RELEASE:= 1
  8. PKG_HASH:= cfc424e6e10ffeb34a33762aeb77905c3ed938f0b4006ddb7e880aad234ef119
  9. PKG_DESCR:= multi-platform toolkit for creating graphical user interfaces
  10. PKG_SECTION:= libs/misc
  11. PKG_DEPENDS:= glib libstdcxx cairo libxi
  12. PKG_BUILDDEP:= cairo atk pango libXext renderproto libXrender
  13. PKG_BUILDDEP+= gdk-pixbuf libXcomposite libXdamage libX11 libXi
  14. PKG_BUILDDEP+= at-spi2-core at-spi2-atk gdk-pixbuf-host
  15. PKG_URL:= http://www.gtk.org/
  16. PKG_SITES:= $(MASTER_SITE_GNOME:=gtk+/$(PKG_EXTRAVER)/)
  17. PKG_LIBNAME:= libgtk3
  18. PKG_OPTS:= dev
  19. include $(ADK_TOPDIR)/mk/package.mk
  20. $(eval $(call PKG_template,LIBGTK3,libgtk3,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  21. HOST_CFLAGS+= -I$(STAGING_HOST_DIR)/usr/include/glib-2.0 -I$(STAGING_HOST_DIR)/usr/include/gdk-pixbuf-2.0
  22. HOST_LDFLAGS+= -lgobject-2.0 -lgmodule-2.0 -pthread -lrt -lglib-2.0 -lgdk_pixbuf-2.0
  23. CONFIGURE_ARGS+= --disable-gtk-doc-html \
  24. --disable-gtk-doc \
  25. --disable-modules \
  26. --disable-xinerama \
  27. --disable-cups \
  28. --disable-papi \
  29. --enable-introspection=no
  30. libgtk3-install:
  31. $(INSTALL_DIR) $(IDIR_LIBGTK3)/usr/lib
  32. $(CP) $(WRKINST)/usr/lib/libgdk-3.so* $(IDIR_LIBGTK3)/usr/lib
  33. $(CP) $(WRKINST)/usr/lib/libgtk-3.so* $(IDIR_LIBGTK3)/usr/lib
  34. $(CP) $(WRKINST)/usr/lib/libgailutil-3.so* $(IDIR_LIBGTK3)/usr/lib
  35. include $(ADK_TOPDIR)/mk/pkg-bottom.mk