view src/qt6-qtimageformats.mk @ 7106:47ac621e632f release

append our octaverc file to existing site rcfile * binary-dist-rules.mk (copy-dist-files): Append octaverc to existing file instead of overwriting. * octaverc: Note that these commands come from MXE Octave.
author John W. Eaton <jwe@octave.org>
date Wed, 13 Mar 2024 12:16:26 -0400
parents d4c97e227a40
children e4601a57e680
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 := 7ccbf9d189a5e07560fc1e53fc4ef73086eca374
$(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
  '$(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