view src/qt6-qt5compat.mk @ 6933:e22938526917

* src/paho-mqtt-c.mk: update to v1.3.13
author John Donoghue <john.donoghue@ieee.org>
date Thu, 19 Oct 2023 10:18:41 -0400
parents 6d2e1e9f23be
children b0e560738283
line wrap: on
line source

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

PKG             := qt6-qt5compat
$(PKG)_IGNORE   :=
$(PKG)_VERSION   = $(qt6-qtbase_VERSION)
$(PKG)_CHECKSUM := bdeeaea9c8ba569728e3e117e3041b6f5deeac96
$(PKG)_SUBDIR    = $(subst qtbase,qt5compat,$(qt6-qtbase_SUBDIR))
$(PKG)_FILE      = $(subst qtbase,qt5compat,$(qt6-qtbase_FILE))
$(PKG)_URL       = $(subst qtbase,qt5compat,$(qt6-qtbase_URL))
$(PKG)_DEPS     := qt6-qtbase

define $(PKG)_UPDATE
    echo $(qt6-qtbase_VERSION)
endef

define $(PKG)_BUILD
    cd '$(1)' && '$(HOST_PREFIX)/qt6/bin/qt-cmake-private' -DCMAKE_INSTALL_PREFIX='$(HOST_PREFIX)/qt6'
    cmake --build $(1) -j '$(JOBS)'
    cmake --install $(1)
    if [ $(MXE_WINDOWS_BUILD) = yes ]; then \
      $(INSTALL) -d '$(HOST_BINDIR)'; \
      cp '$(HOST_PREFIX)'/qt6/bin/Qt6Core5Compat.dll '$(HOST_BINDIR)'/Qt6Core5Compat.dll; \
    fi
endef