Mercurial > mxe-octave
annotate src/pango.mk @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | b203c57d51ac |
children |
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 := |
4995
b203c57d51ac
Update pango 1.42.1 (bug #55769).
Markus Mützel <markus.muetzel@gmx.de>
parents:
4803
diff
changeset
|
6 $(PKG)_VERSION := 1.42.1 |
b203c57d51ac
Update pango 1.42.1 (bug #55769).
Markus Mützel <markus.muetzel@gmx.de>
parents:
4803
diff
changeset
|
7 $(PKG)_CHECKSUM := 6dbec02a6a35e4cf0be8e1d6748c3d07cd11b7c3 |
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) |
4803
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4710
diff
changeset
|
11 ifeq ($(USE_SYSTEM_FONTCONFIG),no) |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4710
diff
changeset
|
12 $(PKG)_FONTCONFIG := fontconfig |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4710
diff
changeset
|
13 endif |
4995
b203c57d51ac
Update pango 1.42.1 (bug #55769).
Markus Mützel <markus.muetzel@gmx.de>
parents:
4803
diff
changeset
|
14 $(PKG)_DEPS := $($(PKG)_FONTCONFIG) freetype cairo glib fribidi |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 define $(PKG)_UPDATE |
4710 | 17 $(WGET) -q -O- https://github.com/GNOME/pango/tags | \ |
18 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | $(SORT) -V | \ | |
19 tail -1 | |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 endef |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
24 $(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
|
25 $(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
|
26 --prefix='$(HOST_PREFIX)' \ |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --disable-gtk-doc \ |
3172
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
28 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
|
29 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
4296 | 30 PKG_CONFIG_PATH='$(PKG_CONFIG_PATH)' \ |
3172
8d294e37ce65
[MSVC] enable Pango compilation (and bump version to 1.34.1)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
31 && $(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
|
32 $(MAKE) -C '$(1)' -j '$(JOBS)' noinst_PROGRAMS= |
4296 | 33 $(MAKE) -C '$(1)' -j 1 install noinst_PROGRAMS= DESTDIR='$(3)' |
4301 | 34 |
35 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \ | |
36 rm -rf "$(3)$(HOST_PREFIX)/share/gtk-doc"; \ | |
37 fi | |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
38 endef |