Mercurial > mxe-octave
annotate src/gdk-pixbuf.mk @ 3664:ec301e1de20f
arpack: dont use destdir in native mingw mode
* src/arpack.mk: set DESTDIR to "" in native mingw mode
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 24 Jul 2014 19:01:06 -0400 |
parents | 13be64f9f16d |
children | 8b0cb58cc3df |
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 | 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 |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
17 $(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
|
18 grep '<a href=' | \ |
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
19 $(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
|
20 grep -v '^2\.9' | \ |
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
21 head -1 |
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
22 endef |
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
23 |
3165
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 := |
e19ca43b6edd
[MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
25 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
|
26 $(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
|
27 endif |
e19ca43b6edd
[MSVC] enable Gdk-Pixbuf compilation (and bump version to 2.28.2)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
28 |
1190
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
29 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
|
30 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
|
31 $(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
|
32 $(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
|
33 --prefix='$(HOST_PREFIX)' \ |
1207
de4ff9fbd0be
disable dynamic module loading in package gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
1191
diff
changeset
|
34 --disable-modules \ |
2189
dc1705c24517
package gdal gdk-pixbuf libpano13: tiff 4 detection workaround
Mark Brand <mabrand@mabrand.nl>
parents:
2153
diff
changeset
|
35 --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
|
36 --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
|
37 $($(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
|
38 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
|
39 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
|
40 && $(CONFIGURE_POST_HOOK) |
1190
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
41 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
821fabe85a36
upgrade packages: glib gtk. new package: gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents:
diff
changeset
|
42 endef |