binutils: update to 2.43.1
[openadk.git] / package / libgtk3 / Makefile
blobe0e087dd74c1e3cf13c622ff2eb8b519542df279
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:= libgtk3
7 PKG_VERSION:= 3.24.31
8 PKG_EXTRAVER:= 3.24
9 PKG_RELEASE:= 1
10 PKG_HASH:= 423c3e7fdb4c459ee889e35fd4d71fd2623562541c1041b11c07e5ad1ff10bf9
11 PKG_DESCR:= multi-platform toolkit for creating graphical user interfaces
12 PKG_SECTION:= libs/misc
13 PKG_DEPENDS:= glib cairo libxi libepoxy pango at-spi2-core
14 PKG_DEPENDS+= at-spi2-atk libxext libxrender libx11
15 PKG_DEPENDS+= libxcomposite libxdamage fribidi
16 PKG_BUILDDEP:= cairo atk pango libXext renderproto libXrender
17 PKG_BUILDDEP+= gdk-pixbuf libXcomposite libXdamage libX11 libXi
18 PKG_BUILDDEP+= at-spi2-core at-spi2-atk gdk-pixbuf-host libepoxy
19 PKG_BUILDDEP+= fribidi
20 PKG_NEEDS:= c++
21 PKG_URL:= http://www.gtk.org/
22 PKG_SITES:= $(MASTER_SITE_GNOME:=gtk+/$(PKG_EXTRAVER)/)
23 PKG_LIBNAME:= libgtk3
24 PKG_OPTS:= dev
26 DISTFILES:= gtk+-$(PKG_VERSION).tar.xz
27 WRKDIST= $(WRKDIR)/gtk+-$(PKG_VERSION)
29 PKG_CFLINE_LIBGTK3:= select ADK_PACKAGE_CAIRO_WITH_PDF@
30 PKG_CFLINE_LIBGTK3+= select ADK_PACKAGE_CAIRO_WITH_PS@
31 PKG_CFLINE_LIBGTK3+= select ADK_PACKAGE_CAIRO_WITH_SVG@
33 include $(ADK_TOPDIR)/mk/package.mk
35 $(eval $(call PKG_template,LIBGTK3,libgtk3,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
37 HOST_CFLAGS+= -I$(STAGING_HOST_DIR)/usr/include/glib-2.0 -I$(STAGING_HOST_DIR)/usr/include/gdk-pixbuf-2.0
38 HOST_LDFLAGS+= -lgobject-2.0 -lgmodule-2.0 -pthread -lrt -lglib-2.0 -lgdk_pixbuf-2.0
39 CONFIGURE_ENV+= GLIB_COMPILE_RESOURCES=$(STAGING_HOST_DIR)/usr/bin/glib-compile-resources
40 CONFIGURE_ARGS+= --disable-gtk-doc-html \
41 --disable-gtk-doc \
42 --disable-modules \
43 --disable-xinerama \
44 --disable-cups \
45 --disable-papi \
46 --enable-introspection=no
48 libgtk3-install:
49 $(INSTALL_DIR) $(IDIR_LIBGTK3)/usr/lib
50 $(CP) $(WRKINST)/usr/lib/libgdk-3.so* $(IDIR_LIBGTK3)/usr/lib
51 $(CP) $(WRKINST)/usr/lib/libgtk-3.so* $(IDIR_LIBGTK3)/usr/lib
52 $(CP) $(WRKINST)/usr/lib/libgailutil-3.so* $(IDIR_LIBGTK3)/usr/lib
54 include $(ADK_TOPDIR)/mk/pkg-bottom.mk