view 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
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := xkbcommon
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 0.8.3
$(PKG)_CHECKSUM := 76c642b656f6dbd29a3ed195fffcaf8cf44634d4
$(PKG)_SUBDIR   := libxkbcommon-$(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := https://github.com/$(PKG)/libxkbcommon/archive/$($(PKG)_FILE)
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    $(WGET) -q -O- 'https://github.com/$(PKG)/libxkbcommon/tags' | \
    $(SED) -n 's|.*releases/tag/$(PKG)-\([^"]*\).*|\1|p' | $(SORT) -V | \
    tail -1
endef

define $(PKG)_BUILD
    cd '$(1)' && ./autogen.sh && \
      $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
        $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
        --prefix='$(HOST_PREFIX)' \
        && $(CONFIGURE_POST_HOOK)

    $(MAKE) -C '$(1)' -j '$(JOBS)'
    $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)'
endef