1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= gtk+
- PKG_VERSION:= 2.18.6
- PKG_EXTRAVER:= 2.18
- PKG_RELEASE:= 2
- PKG_MD5SUM:= f98617af9f6be3065f64248f78dae2b7
- PKG_DESCR:= GTK+ library
- PKG_SECTION:= libs
- PKG_DEPENDS:= glib
- PKG_BUILDDEP:= cairo atk pango libXext renderproto libXrender
- PKG_BUILDDEP+= gdk-pixbuf libXcomposite libXdamage
- PKG_URL:= http://www.gtk.org/
- PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gtk+/$(PKG_EXTRAVER)/
- PKG_NEED_CXX:= 1
- PKG_SUBPKGS:= LIBGTK LIBGTK_DEV
- PKGSC_LIBGTK_DEV:= devel
- PKGSD_LIBGTK_DEV:= GTK+ headers
- ifeq ($(ADK_STATIC),y)
- PKG_OPTS:= libonly
- endif
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,LIBGTK,libgtk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
- $(eval $(call PKG_template,LIBGTK_DEV,libgtk-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBGTK_DEV},${PKGSC_LIBGTK_DEV},${PKG_OPTS}))
- CONFIGURE_ARGS+= --disable-gtk-doc-html \
- --disable-modules \
- --disable-xinerama \
- --without-xinput \
- --disable-gtk-doc \
- --disable-cups \
- --disable-papi \
- --disable-introspection
- CONFIGURE_ENV+= gio_can_sniff=no \
- ac_cv_path_GTK_UPDATE_ICON_CACHE=""
- libgtk-install:
- ${INSTALL_DIR} ${IDIR_LIBGTK}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libgdk-x11*so* ${IDIR_LIBGTK}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libgtk-x11*so* ${IDIR_LIBGTK}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libgailutil*so* ${IDIR_LIBGTK}/usr/lib
- libgtk-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBGTK_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBGTK_DEV}/usr/include
- ${INSTALL_DIR} ${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
- ${CP} ${WRKINST}/usr/lib/gtk-2.0/include/* \
- ${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
- ${INSTALL_DIR} ${IDIR_LIBGTK_DEV}/usr/lib/pkgconfig
- ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc ${IDIR_LIBGTK_DEV}/usr/lib/pkgconfig
- include ${TOPDIR}/mk/pkg-bottom.mk
|