annotate src/gdk-pixbuf.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents 8b0cb58cc3df
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2189
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
1190
821fabe85a36 upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
3
821fabe85a36 upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
4 PKG := gdk-pixbuf
821fabe85a36 upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3165
diff changeset
6 $(PKG)_VERSION := 2.28.2
3165
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
7 $(PKG)_CHECKSUM := 9876d0a20f592f8fb2a52d4a86ec43d607661beb
1190
821fabe85a36 upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
8 $(PKG)_SUBDIR := gdk-pixbuf-$($(PKG)_VERSION)
2614
1f6e698fb89e update package gdk-pixbuf
Hans Petter Jansson <hpj@cl.no>
parents: 2525
diff changeset
9 $(PKG)_FILE := gdk-pixbuf-$($(PKG)_VERSION).tar.xz
1190
821fabe85a36 upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
3165
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
11 $(PKG)_DEPS := glib libpng jasper libiconv
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
12 ifneq ($(MXE_SYSTEM),msvc)
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
13 $(PKG)_DEPS += jpeg tiff
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
14 endif
1190
821fabe85a36 upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
15
821fabe85a36 upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
16 define $(PKG)_UPDATE
4706
8b0cb58cc3df * src/gdk-pixbuf.mk: update update function
John Donoghue
parents: 3480
diff changeset
17 $(WGET) -q -O- 'https://github.com/GNOME/gdk-pixbuf/tags' | \
8b0cb58cc3df * src/gdk-pixbuf.mk: update update function
John Donoghue
parents: 3480
diff changeset
18 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | $(SORT) -V | \
8b0cb58cc3df * src/gdk-pixbuf.mk: update update function
John Donoghue
parents: 3480
diff changeset
19 tail -1
1190
821fabe85a36 upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
20 endef
821fabe85a36 upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
21
3165
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
22 $(PKG)_EXTRA_CONFIGURE_OPTIONS :=
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
23 ifneq ($(MXE_SYSTEM),msvc)
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
24 $(PKG)_EXTRA_CONFIGURE_OPTIONS += --without-gdiplus
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
25 endif
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
26
1190
821fabe85a36 upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
27 define $(PKG)_BUILD
3165
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
28 cd '$(1)' && autoreconf -I '$(HOST_PREFIX)/share/aclocal' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
29 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2819
diff changeset
30 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
31 --prefix='$(HOST_PREFIX)' \
1207
de4ff9fbd0be disable dynamic module loading in package gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents: 1191
diff changeset
32 --disable-modules \
2189
dc1705c24517 package gdal gdk-pixbuf libpano13: tiff 4 detection workaround
Mark Brand <mabrand@mabrand.nl>
parents: 2153
diff changeset
33 --with-included-loaders \
3165
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
34 --with-libjasper \
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
35 $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
36 PKG_CONFIG='$(MXE_PKG_CONFIG)' \
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
37 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \
e19ca43b6edd [MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
38 && $(CONFIGURE_POST_HOOK)
1190
821fabe85a36 upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
39 $(MAKE) -C '$(1)' -j '$(JOBS)' install
821fabe85a36 upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
40 endef