mxe/src/gdk-pixbuf.mk

31 lines
1.1 KiB
Makefile
Raw Normal View History

2012-03-28 14:46:58 +01:00
# This file is part of MXE.
2012-03-29 11:14:15 +01:00
# See index.html for further information.
PKG := gdk-pixbuf
$(PKG)_IGNORE :=
2016-01-09 06:40:27 +00:00
$(PKG)_VERSION := 2.32.3
$(PKG)_CHECKSUM := 2b6771f1ac72f687a8971e59810b8dc658e65e7d3086bd2e676e618fd541d031
$(PKG)_SUBDIR := gdk-pixbuf-$($(PKG)_VERSION)
2012-06-04 16:59:36 +01:00
$(PKG)_FILE := gdk-pixbuf-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
2015-09-23 08:41:16 +01:00
$(PKG)_DEPS := gcc glib jasper jpeg libiconv libpng tiff
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://git.gnome.org/browse/gdk-pixbuf/refs/tags' | \
grep '<a href=' | \
$(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
grep -v '^2\.9' | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && autoreconf -fi -I'$(PREFIX)/$(TARGET)/share/aclocal'
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--disable-modules \
--with-included-loaders \
2012-06-04 16:59:36 +01:00
--without-gdiplus \
LIBS="`'$(TARGET)-pkg-config' --libs libtiff-4`"
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef