Mercurial > mxe-octave
comparison src/xkbcommon.mk @ 4958:8b4d4e06075d
Add xkbcommon (required by linux qt5-5.12.X)
* src/xkbcommon-1-fixes.patch: new file
* src/xkbcommon.mk: new file
* index.html: add ref to xkbcommon
* src/qtbase.mk: add xkbcommon to dependents
author | John Donoghue |
---|---|
date | Fri, 15 Feb 2019 11:27:55 -0500 |
parents | |
children | ec6073e0b199 |
comparison
equal
deleted
inserted
replaced
4957:6a321b868d57 | 4958:8b4d4e06075d |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := xkbcommon | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 0.8.3 | |
7 $(PKG)_CHECKSUM := 76c642b656f6dbd29a3ed195fffcaf8cf44634d4 | |
8 $(PKG)_SUBDIR := libxkbcommon-$(PKG)-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := https://github.com/$(PKG)/libxkbcommon/archive/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := | |
12 | |
13 define $(PKG)_UPDATE | |
14 $(WGET) -q -O- 'https://github.com/$(PKG)/libxkbcommon/tags' | \ | |
15 $(SED) -n 's|.*releases/tag/$(PKG)-\([^"]*\).*|\1|p' | $(SORT) -V | \ | |
16 tail -1 | |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./autogen.sh && \ | |
21 $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ | |
22 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
24 --prefix='$(HOST_PREFIX)' \ | |
25 && $(CONFIGURE_POST_HOOK) | |
26 | |
27 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
28 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' | |
29 endef |