diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2011-10-28 08:07:41 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-12-09 09:42:22 +0100 |
commit | 5bd630497b3ea9b38d4b0f88c30dfe30f9aba419 (patch) | |
tree | 0db38155d7f46d9401b4919f278edfeb882902fd /rules/gdk-pixbuf.make | |
parent | 8d55afe532d523b197234057148b3c7177bd213a (diff) | |
download | ptxdist-5bd630497b3ea9b38d4b0f88c30dfe30f9aba419.tar.gz ptxdist-5bd630497b3ea9b38d4b0f88c30dfe30f9aba419.tar.xz |
gdk-pixbuf: add new packet
Current gtk versions need gdk-pixbuf, so we add it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'rules/gdk-pixbuf.make')
-rw-r--r-- | rules/gdk-pixbuf.make | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/rules/gdk-pixbuf.make b/rules/gdk-pixbuf.make new file mode 100644 index 000000000..28c51ee7a --- /dev/null +++ b/rules/gdk-pixbuf.make @@ -0,0 +1,83 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by Robert Schwebel <r.schwebel@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_GDK_PIXBUF) += gdk-pixbuf + +# +# Paths and names +# +GDK_PIXBUF_VERSION := 2.24.0 +GDK_PIXBUF_MD5 := d8ece3a4ade4a91c768328620e473ab8 +GDK_PIXBUF := gdk-pixbuf-$(GDK_PIXBUF_VERSION) +GDK_PIXBUF_SUFFIX := tar.bz2 +GDK_PIXBUF_URL := http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.24/$(GDK_PIXBUF).$(GDK_PIXBUF_SUFFIX) +GDK_PIXBUF_SOURCE := $(SRCDIR)/$(GDK_PIXBUF).$(GDK_PIXBUF_SUFFIX) +GDK_PIXBUF_DIR := $(BUILDDIR)/$(GDK_PIXBUF) +GDK_PIXBUF_LICENSE := LGPLv2 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +GDK_PIXBUF_CONF_ENV := $(CROSS_ENV) \ + gio_can_sniff=yes + +# +# autoconf +# +GDK_PIXBUF_CONF_TOOL := autoconf +GDK_PIXBUF_CONF_OPT := $(CROSS_AUTOCONF_USR) \ + --disable-rebuilds \ + --enable-explicit-deps=no \ + --disable-nls \ + --disable-rpath \ + --disable-glibtest \ + --disable-modules \ + --disable-introspection \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf \ + --disable-man \ + --enable-Bsymbolic \ + --without-libiconv-prefix \ + --without-libintl-prefix \ + --without-libpng \ + --without-libjpeg \ + --without-libtiff \ + --without-libjasper \ + --without-gdiplus + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/gdk-pixbuf.targetinstall: + @$(call targetinfo) + + @$(call install_init, gdk-pixbuf) + @$(call install_fixup, gdk-pixbuf,PRIORITY,optional) + @$(call install_fixup, gdk-pixbuf,SECTION,base) + @$(call install_fixup, gdk-pixbuf,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>") + @$(call install_fixup, gdk-pixbuf,DESCRIPTION,missing) + + @$(call install_copy, gdk-pixbuf, 0, 0, 0755, -, /usr/bin/gdk-pixbuf-query-loaders) + @$(call install_copy, gdk-pixbuf, 0, 0, 0755, -, /usr/bin/gdk-pixbuf-csource) + + @$(call install_lib, gdk-pixbuf, 0, 0, 0644, libgdk_pixbuf_xlib-2.0) + @$(call install_lib, gdk-pixbuf, 0, 0, 0644, libgdk_pixbuf-2.0) + + @$(call install_finish, gdk-pixbuf) + + @$(call touch) + +# vim: syntax=make |