2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2010-09-24 15:33:16 +01:00
|
|
|
|
|
|
|
PKG := gdk-pixbuf
|
2017-03-05 03:41:39 +00:00
|
|
|
$(PKG)_WEBSITE := https://gtk.org/
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_DESCR := GDK-pixbuf
|
2010-09-24 15:33:16 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2016-01-09 06:40:27 +00:00
|
|
|
$(PKG)_VERSION := 2.32.3
|
|
|
|
$(PKG)_CHECKSUM := 2b6771f1ac72f687a8971e59810b8dc658e65e7d3086bd2e676e618fd541d031
|
2010-09-24 15:33:16 +01:00
|
|
|
$(PKG)_SUBDIR := gdk-pixbuf-$($(PKG)_VERSION)
|
2012-06-04 16:59:36 +01:00
|
|
|
$(PKG)_FILE := gdk-pixbuf-$($(PKG)_VERSION).tar.xz
|
2017-03-04 10:33:47 +00:00
|
|
|
$(PKG)_URL := https://download.gnome.org/sources/gdk-pixbuf/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc glib jasper jpeg libiconv libpng tiff
|
2010-09-24 15:33:16 +01:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2019-05-13 20:52:31 +01:00
|
|
|
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/gdk-pixbuf/tags' | \
|
|
|
|
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
2010-09-24 15:33:16 +01:00
|
|
|
grep -v '^2\.9' | \
|
|
|
|
head -1
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
2014-01-28 04:04:55 +00:00
|
|
|
cd '$(1)' && autoreconf -fi -I'$(PREFIX)/$(TARGET)/share/aclocal'
|
2013-02-10 04:03:32 +00:00
|
|
|
cd '$(1)' && ./configure \
|
2014-03-08 20:58:27 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
2020-05-22 14:58:49 +01:00
|
|
|
$(if $(BUILD_STATIC), \
|
|
|
|
--disable-modules,) \
|
2011-12-23 14:31:46 +00:00
|
|
|
--with-included-loaders \
|
2012-06-04 16:59:36 +01:00
|
|
|
--without-gdiplus \
|
2011-12-23 14:31:46 +00:00
|
|
|
LIBS="`'$(TARGET)-pkg-config' --libs libtiff-4`"
|
2010-09-24 15:33:16 +01:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
|
|
|
endef
|