annotate src/xft.mk @ 7220:d3087afece14 default tip @

* src/gdal.mk, src/xcb.mk: disable doxygen docs
author John Donoghue <john.donoghue@ieee.org>
date Wed, 22 May 2024 10:31:54 -0400
parents e2349691d6ae
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := xft
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_VERSION := 2.3.2
4519
58de4f56c797 update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents: 3743
diff changeset
7 $(PKG)_CHECKSUM := e025d790a7b6c4d283a78d8df06615cb10278e2d
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := libXft-$($(PKG)_VERSION)
4519
58de4f56c797 update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents: 3743
diff changeset
9 $(PKG)_FILE := libXft-$($(PKG)_VERSION).tar.bz2
58de4f56c797 update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents: 3743
diff changeset
10 $(PKG)_URL := http://www.x.org/archive/individual/lib/$($(PKG)_FILE)
4803
e2349691d6ae fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents: 4519
diff changeset
11 ifeq ($(USE_SYSTEM_FONTCONFIG),no)
e2349691d6ae fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents: 4519
diff changeset
12 $(PKG)_FONTCONFIG := fontconfig
e2349691d6ae fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents: 4519
diff changeset
13 endif
e2349691d6ae fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents: 4519
diff changeset
14 $(PKG)_DEPS := kbproto xrender $($(PKG)_FONTCONFIG) freetype
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 ifeq ($(MXE_WINDOWS_BUILD),yes)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 else
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 mkdir '$(1)/.build'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 --prefix='$(HOST_PREFIX)' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 && $(CONFIGURE_POST_HOOK)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 endif