view src/qt6-qtimageformats.mk @ 6892:fe46a604d08b

Qt6 QtImageFormats: Remove patch. * src/qt6-qtimageformats-1-fixes.patch: Remove patch that hard-coded libraries. This causes issues if the used packages don't actually depend on the hard-coded libraries and they don't even exist. This also avoids overlinking. * src/qt6-qtimageformats.mk: Use separate build tree. * dist-files.mk: Remove deleted patch from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 01 Oct 2023 14:42:11 +0200
parents 6adeb47401d6
children 6d2e1e9f23be
line wrap: on
line source

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

PKG             := qt6-qtimageformats
$(PKG)_IGNORE   :=
$(PKG)_VERSION   = $(qt6-qtbase_VERSION)
$(PKG)_CHECKSUM := dc3a5c32f2a6f3185bddae39e7799c08bf4221df
$(PKG)_SUBDIR    = $(subst qtbase,qtimageformats,$(qt6-qtbase_SUBDIR))
$(PKG)_FILE      = $(subst qtbase,qtimageformats,$(qt6-qtbase_FILE))
$(PKG)_URL       = $(subst qtbase,qtimageformats,$(qt6-qtbase_URL))
$(PKG)_DEPS     := jasper libmng qt6-qtbase tiff

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

define $(PKG)_BUILD
  mkdir '$(1).build'
  cd '$(1)' && '$(HOST_PREFIX)/qt6/bin/qt-cmake-private' \
    -S '$(1)' -B '$(1).build' \
    -DCMAKE_INSTALL_PREFIX='$(HOST_PREFIX)/qt6'
  cmake --build $(1).build -j '$(JOBS)'
  cmake --install $(1).build
endef