annotate src/cairo.mk @ 4293:7fa4425df344

* src/cairo.mk: update to v1.1.4.8
author John D
date Sun, 25 Dec 2016 19:04:44 -0500
parents 13be64f9f16d
children 7ee013a55cf6
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: 1561
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.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 397
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 270
diff changeset
4 PKG := cairo
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
5 $(PKG)_IGNORE :=
4293
7fa4425df344 * src/cairo.mk: update to v1.1.4.8
John D
parents: 3480
diff changeset
6 $(PKG)_VERSION := 1.14.8
7fa4425df344 * src/cairo.mk: update to v1.1.4.8
John D
parents: 3480
diff changeset
7 $(PKG)_CHECKSUM := c6f7b99986f93c9df78653c3e6a3b5043f65145e
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 270
diff changeset
8 $(PKG)_SUBDIR := cairo-$($(PKG)_VERSION)
2613
d6edff1d892a update package cairo
Hans Petter Jansson <hpj@cl.no>
parents: 2525
diff changeset
9 $(PKG)_FILE := cairo-$($(PKG)_VERSION).tar.xz
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 270
diff changeset
10 $(PKG)_URL := http://cairographics.org/releases/$($(PKG)_FILE)
3167
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
11 $(PKG)_DEPS := zlib libpng fontconfig freetype pixman glib
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
14 $(WGET) -q -O- 'http://cairographics.org/releases/?C=M;O=D' | \
1444
560b3cb89bab improved upgrade script of packages: cairo cairomm pixman
Volker Grabsch <vog@notjusthosting.com>
parents: 1187
diff changeset
15 $(SED) -n 's,.*"cairo-\([0-9][^"]*\)\.tar.*,\1,p' | \
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
3167
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
19 $(PKG)_EXTRA_CONFIGURE_OPTIONS :=
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
20 # FIXME: Not sure why i was disabled...
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
21 #$(PKG)_EXTRA_CONFIGURE_OPTIONS += --disable-atomic
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
22 # Add special flag for static Win32 builds
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
23 ifneq ($(filter mingw msvc,$(MXE_SYSTEM)),)
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
24 ifeq ($(BUILD_STATIC),yes)
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
25 $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DCAIRO_WIN32_STATIC_BUILD"
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
26 endif
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
27 endif
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
28
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
29 # Configure script to detect float word endianness fails on MSVC.
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
30 ifeq ($(MXE_SYSTEM),msvc)
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
31 $(PKG)_EXTRA_CONFIGURE_OPTIONS += ax_cv_c_float_words_bigendian=no
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
32 endif
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
33
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 define $(PKG)_BUILD
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
36 $(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: 2841
diff changeset
37 $(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
38 --prefix='$(HOST_PREFIX)' \
261
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
39 --disable-gtk-doc \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
40 --disable-test-surfaces \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
41 --disable-gcov \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
42 --disable-xlib \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
43 --disable-xlib-xrender \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
44 --disable-xcb \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
45 --disable-quartz \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
46 --disable-quartz-font \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
47 --disable-quartz-image \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
48 --disable-os2 \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
49 --disable-beos \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
50 --disable-directfb \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
51 --enable-win32 \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
52 --enable-win32-font \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
53 --enable-png \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
54 --enable-ft \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
55 --enable-ps \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
56 --enable-pdf \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
57 --enable-svg \
4293
7fa4425df344 * src/cairo.mk: update to v1.1.4.8
John D
parents: 3480
diff changeset
58 --disable-directfb \
270
92713cb9be20 disable threading in package cairo, because it conflicts with glib's threading
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
59 --disable-pthread \
3167
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
60 $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
61 PKG_CONFIG='$(MXE_PKG_CONFIG)' \
4293
7fa4425df344 * src/cairo.mk: update to v1.1.4.8
John D
parents: 3480
diff changeset
62 PKG_CONFIG_PATH='$(PKG_CONFIG_PATH)' \
3167
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
63 && $(CONFIGURE_POST_HOOK)
6aaa1723e277 [MSVC] enable Cairo compilation (and bump version to 1.12.14)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
64 $(MAKE) -C '$(1)' -j '$(JOBS)' install noinst_PROGRAMS=
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
65 endef