Mercurial > mxe-octave
annotate src/gdk-pixbuf.mk @ 3256:7fb479d0241c
Update build tools for native mingw
* src/build-m4.mk: do nothing for native mingw build
* Makefile.in:
- add bison, m4 as natve mingw, and python as jit build requirements.
- remove build-bison as a mingw build dependancy
* index.html: Add msys-bison to mingw required packages and mention ghostscript and python.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 26 Sep 2013 21:18:39 -0400 |
parents | e19ca43b6edd |
children | 13be64f9f16d |
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 := |
3165
e19ca43b6edd
[MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
6 $(PKG)_CHECKSUM := 9876d0a20f592f8fb2a52d4a86ec43d607661beb |
1190
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
7 $(PKG)_SUBDIR := gdk-pixbuf-$($(PKG)_VERSION) |
2614 | 8 $(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
|
9 $(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
|
10 $(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
|
11 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
|
12 $(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
|
13 endif |
1190
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
14 |
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
16 $(WGET) -q -O- 'http://git.gnome.org/browse/gdk-pixbuf/refs/tags' | \ |
1190
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
17 grep '<a href=' | \ |
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
18 $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \ |
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
19 grep -v '^2\.9' | \ |
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
20 head -1 |
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
21 endef |
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
22 |
3165
e19ca43b6edd
[MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
23 $(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
|
24 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
|
25 $(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
|
26 endif |
e19ca43b6edd
[MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
27 |
1190
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
28 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
|
29 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
|
30 $(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
|
31 $(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
|
32 --prefix='$(HOST_PREFIX)' \ |
1207
de4ff9fbd0be
disable dynamic module loading in package gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
1191
diff
changeset
|
33 --disable-modules \ |
2189
dc1705c24517
package gdal gdk-pixbuf libpano13: tiff 4 detection workaround
Mark Brand <mabrand@mabrand.nl>
parents:
2153
diff
changeset
|
34 --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
|
35 --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
|
36 $($(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
|
37 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
|
38 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
|
39 && $(CONFIGURE_POST_HOOK) |
1190
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
40 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
41 endef |