annotate src/harfbuzz.mk @ 5947:09d3533acacf

* src/build-cmake.mk, src/cmake.mk: update v3.21.4
author John Donoghue <john.donoghue@ieee.org>
date Thu, 11 Nov 2021 09:49:11 -0500
parents 7e8c6bb47c21
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2849
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
1 # This file is part of MXE.
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
2 # See index.html for further information.
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
3
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
4 PKG := harfbuzz
1f72bc5b8701 add package harfbuzz
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: 3171
diff changeset
6 $(PKG)_VERSION := 0.9.19
3171
4a05b335972b [MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
7 $(PKG)_CHECKSUM := 5603e084fbf8be1b93722c8e2694643361c489e4
2849
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
2854
54522aaf400c update package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents: 2849
diff changeset
10 $(PKG)_URL := http://www.freedesktop.org/software/$(PKG)/release/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS := glib cairo freetype
2849
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
12
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
13 define $(PKG)_UPDATE
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
14 $(WGET) -q -O- 'http://cgit.freedesktop.org/harfbuzz/refs/tags' | \
4558
7e8c6bb47c21 update: additional pkg update updates
John D
parents: 3480
diff changeset
15 $(SED) -n "s,.*<a href='[^']*/tag/?h=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \
2849
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
16 grep -v '^1\.[01234]\.' | \
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
17 head -1
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
18 endef
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
19
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
20 define $(PKG)_BUILD
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
21 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
23 --prefix='$(HOST_PREFIX)' \
3171
4a05b335972b [MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
24 $(ENABLE_SHARED_OR_STATIC) \
4a05b335972b [MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
25 PKG_CONFIG='$(MXE_PKG_CONFIG)' \
4a05b335972b [MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
26 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \
4a05b335972b [MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
27 && $(CONFIGURE_POST_HOOK)
4a05b335972b [MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)'
4a05b335972b [MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
29 $(MAKE) -C '$(1)' -j 1 install
2849
1f72bc5b8701 add package harfbuzz
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
30 endef