m68k/coldfire: elf2flt has some issues, gas error, so disable cfi asm generation
[openadk.git] / package / libgtk2 / Makefile
blob073108cc97596a4d26ed52e77829e28bf91250e1
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= libgtk2
7 PKG_VERSION:= 2.24.30
8 PKG_EXTRAVER:= 2.24
9 PKG_RELEASE:= 1
10 PKG_HASH:= 0d15cec3b6d55c60eac205b1f3ba81a1ed4eadd9d0f8e7c508bc7065d0c4ca50
11 PKG_DESCR:= multi-platform toolkit for creating graphical user interfaces
12 PKG_SECTION:= libs/misc
13 PKG_DEPENDS:= glib cairo
14 PKG_BUILDDEP:= glib cairo atk pango libXext renderproto libXrender
15 PKG_BUILDDEP+= gdk-pixbuf libXcomposite libXdamage libX11
16 PKG_NEEDS:= c++
17 PKG_URL:= http://www.gtk.org/
18 PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gtk+/$(PKG_EXTRAVER)/
19 PKG_LIBNAME:= libgtk2
20 PKG_OPTS:= dev
22 DISTFILES:= gtk+-$(PKG_VERSION).tar.xz
23 WRKDIST= $(WRKDIR)/gtk+-$(PKG_VERSION)
25 PKG_CFLINE_LIBGTK2:= select ADK_PACKAGE_CAIRO_WITH_PDF@
26 PKG_CFLINE_LIBGTK2+= select ADK_PACKAGE_CAIRO_WITH_PS@
27 PKG_CFLINE_LIBGTK2+= select ADK_PACKAGE_CAIRO_WITH_SVG@
29 include ${ADK_TOPDIR}/mk/package.mk
31 $(eval $(call PKG_template,LIBGTK2,libgtk2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
33 TARGET_LDFLAGS+= -lm
34 CONFIGURE_ARGS+= --disable-gtk-doc-html \
35 --disable-modules \
36 --disable-xinerama \
37 --without-xinput \
38 --disable-gtk-doc \
39 --disable-cups \
40 --disable-papi \
41 --disable-introspection
42 CONFIGURE_ENV+= gio_can_sniff=no \
43 ac_cv_path_GTK_UPDATE_ICON_CACHE=""
45 libgtk2-install:
46 ${INSTALL_DIR} ${IDIR_LIBGTK2}/usr/lib
47 ${CP} ${WRKINST}/usr/lib/libgdk-x11*so* ${IDIR_LIBGTK2}/usr/lib
48 ${CP} ${WRKINST}/usr/lib/libgtk-x11*so* ${IDIR_LIBGTK2}/usr/lib
49 ${CP} ${WRKINST}/usr/lib/libgailutil*so* ${IDIR_LIBGTK2}/usr/lib
50 # workaround dev subpackage
51 ${INSTALL_DIR} ${IDIR_LIBGTK2_DEV}/usr/lib/gtk-2.0/include
52 ${CP} ${WRKINST}/usr/lib/gtk-2.0/include/* \
53 ${IDIR_LIBGTK2_DEV}/usr/lib/gtk-2.0/include
55 include ${ADK_TOPDIR}/mk/pkg-bottom.mk