annotate src/x11.mk @ 6215:d18a5545df0d release

build-gettext: Don't build emacs bindings. * src/build-gettext.mk: The `emacs` installed on the build system might be incompatible with the STL built by build-gcc. We probably don't need the emacs bindings for the `gettext` build tool anyway. So skip building those bindings.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 07 May 2022 12:01:10 +0200
parents 1c4d32909efb
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 := x11
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
5019
1c4d32909efb * src/x11.mk: update to v1.6.7
John Donoghue
parents: 4519
diff changeset
6 $(PKG)_VERSION := 1.6.7
1c4d32909efb * src/x11.mk: update to v1.6.7
John Donoghue
parents: 4519
diff changeset
7 $(PKG)_CHECKSUM := 5076f7853713d7db958a05f6fd1c18f7e111a0ad
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := libX11-$($(PKG)_VERSION)
4519
58de4f56c797 update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents: 4496
diff changeset
9 $(PKG)_FILE := libX11-$($(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: 4496
diff changeset
10 $(PKG)_URL := http://www.x.org/archive/individual/lib/$($(PKG)_FILE)
4496
903796b2fcb6 fltk, gl2ps, xcursor, x11, qtbase: Fix dependencies.
John W. Eaton <jwe@octave.org>
parents: 4491
diff changeset
11 $(PKG)_DEPS := inputproto kbproto xcb xextproto xproto xtrans
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
5019
1c4d32909efb * src/x11.mk: update to v1.6.7
John Donoghue
parents: 4519
diff changeset
13 define $(PKG)_UPDATE
1c4d32909efb * src/x11.mk: update to v1.6.7
John Donoghue
parents: 4519
diff changeset
14 $(WGET) -q -O- 'https://www.x.org/archive/individual/lib/' | \
1c4d32909efb * src/x11.mk: update to v1.6.7
John Donoghue
parents: 4519
diff changeset
15 $(SED) -n 's,.*<a href="libX11-\([0-9\.]*\)\.tar.gz".*,\1,p' | \
1c4d32909efb * src/x11.mk: update to v1.6.7
John Donoghue
parents: 4519
diff changeset
16 $(SORT) -V |
1c4d32909efb * src/x11.mk: update to v1.6.7
John Donoghue
parents: 4519
diff changeset
17 tail -1
1c4d32909efb * src/x11.mk: update to v1.6.7
John Donoghue
parents: 4519
diff changeset
18 endef
1c4d32909efb * src/x11.mk: update to v1.6.7
John Donoghue
parents: 4519
diff changeset
19
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 ifeq ($(MXE_WINDOWS_BUILD),yes)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 else
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 mkdir '$(1)/.build'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 --prefix='$(HOST_PREFIX)' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 && $(CONFIGURE_POST_HOOK)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 endif