Mercurial > mxe-octave
annotate src/pango.mk @ 4238:bdcbb82d57e2
pkg-install.py: fail pkg build if configure fails (Bug #49503)
* tools/pkg-install.py: check status of configure call and raise exeption on error
author | John D |
---|---|
date | Thu, 03 Nov 2016 03:48:05 -0400 |
parents | 13be64f9f16d |
children | 68c7e187e20d |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2154
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:
377
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
302
diff
changeset
|
4 PKG := pango |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
432
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3172
diff
changeset
|
6 $(PKG)_VERSION := 1.34.1 |
3172
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
7 $(PKG)_CHECKSUM := a6c224424eb3f0dcc231a8000591c05a85df689c |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
302
diff
changeset
|
8 $(PKG)_SUBDIR := pango-$($(PKG)_VERSION) |
2482
d3034915cd6b
packages atk* glib* libsigc++ pango: use xz archives
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
9 $(PKG)_FILE := pango-$($(PKG)_VERSION).tar.xz |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
302
diff
changeset
|
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/pango/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := fontconfig freetype cairo glib harfbuzz |
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:
2482
diff
changeset
|
14 $(WGET) -q -O- 'http://git.gnome.org/browse/pango/refs/tags' | \ |
499
abc655cb4694
improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf
Volker Grabsch <vog@notjusthosting.com>
parents:
496
diff
changeset
|
15 grep '<a href=' | \ |
abc655cb4694
improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf
Volker Grabsch <vog@notjusthosting.com>
parents:
496
diff
changeset
|
16 $(SED) -n "s,.*<a href='[^']*/tag/?id=\\([0-9][^']*\\)'.*,\\1,p" | \ |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 head -1 |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
3172
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
21 if [ $(MXE_SYSTEM) = mingw ]; then \ |
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
22 rm '$(1)'/docs/Makefile.am && \ |
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
23 cd '$(1)' && NOCONFIGURE=1 ./autogen.sh; \ |
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
24 fi |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
26 $(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:
2850
diff
changeset
|
27 $(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
|
28 --prefix='$(HOST_PREFIX)' \ |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --disable-gtk-doc \ |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --without-x \ |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 --enable-explicit-deps \ |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 --with-included-modules \ |
496
c53c9f11ae65
bugfix for package pango (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
495
diff
changeset
|
33 --without-dynamic-modules \ |
3172
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
34 CXX='$(MXE_CXX)' \ |
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
35 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
36 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ |
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
37 && $(CONFIGURE_POST_HOOK) |
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
38 $(MAKE) -C '$(1)' -j '$(JOBS)' noinst_PROGRAMS= |
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
39 $(MAKE) -C '$(1)' -j 1 install noinst_PROGRAMS= |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
40 endef |