summaryrefslogtreecommitdiff
path: root/package/gtk3/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-02 03:20:14 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-02 03:20:29 -0600
commit6412186eaf7c659b661a3084aa31636e43fc7639 (patch)
tree4d29538ec20a68bf512812c8e441dcc0d489461d /package/gtk3/Makefile
parentf46a0347e11a1aecc484ee208bd82b0adc7019ff (diff)
add new gtk3 package
Diffstat (limited to 'package/gtk3/Makefile')
-rw-r--r--package/gtk3/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/package/gtk3/Makefile b/package/gtk3/Makefile
new file mode 100644
index 000000000..2aed233eb
--- /dev/null
+++ b/package/gtk3/Makefile
@@ -0,0 +1,42 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= gtk+
+PKG_VERSION:= 3.14.6
+PKG_EXTRAVER:= 3.14
+PKG_RELEASE:= 1
+PKG_HASH:= cfc424e6e10ffeb34a33762aeb77905c3ed938f0b4006ddb7e880aad234ef119
+PKG_DESCR:= multi-platform toolkit for creating graphical user interfaces
+PKG_SECTION:= libs/misc
+PKG_DEPENDS:= glib libstdcxx cairo libxi
+PKG_BUILDDEP:= cairo atk pango libXext renderproto libXrender
+PKG_BUILDDEP+= gdk-pixbuf libXcomposite libXdamage libX11 libXi
+PKG_BUILDDEP+= at-spi2-core at-spi2-atk gdk-pixbuf-host
+PKG_URL:= http://www.gtk.org/
+PKG_SITES:= $(MASTER_SITE_GNOME:=gtk+/$(PKG_EXTRAVER)/)
+PKG_LIBNAME:= libgtk3
+PKG_OPTS:= dev
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBGTK3,libgtk3,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+HOST_CFLAGS+= -I$(STAGING_HOST_DIR)/usr/include/glib-2.0 -I$(STAGING_HOST_DIR)/usr/include/gdk-pixbuf-2.0
+HOST_LDFLAGS+= -lgobject-2.0 -lgmodule-2.0 -pthread -lrt -lglib-2.0 -lgdk_pixbuf-2.0
+CONFIGURE_ARGS+= --disable-gtk-doc-html \
+ --disable-gtk-doc \
+ --disable-modules \
+ --disable-xinerama \
+ --disable-cups \
+ --disable-papi \
+ --enable-introspection=no
+
+libgtk3-install:
+ $(INSTALL_DIR) $(IDIR_LIBGTK3)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libgdk-3.so* $(IDIR_LIBGTK3)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libgtk-3.so* $(IDIR_LIBGTK3)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libgailutil-3.so* $(IDIR_LIBGTK3)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk