Mercurial > mxe-octave
view src/ilmbase.mk @ 6113:24e29dcb2e64
Qt5: Update to version 5.15.3.
* src/qtbase.mk: Update version and checksum.
* src/qtbase-2-gcc11.patch: Remove hunks from patch that have been applied
upstream.
* src/qtimageformats.mk, src/qtsvg.mk, src/qttools.mk, src/qttranslationse.mk:
Update checksum.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 05 Mar 2022 10:59:53 +0100 |
parents | 9855517e4522 |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := ilmbase $(PKG)_IGNORE := $(PKG)_VERSION := 2.4.0 $(PKG)_CHECKSUM := 0b9a24b8fa6b3f7f1d8813e91234308d3e43d10f $(PKG)_SUBDIR := ilmbase-$($(PKG)_VERSION) $(PKG)_FILE := ilmbase-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://github.com/openexr/openexr/archive/v$($(PKG)_VERSION).tar.gz $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'https://github.com/openexr/openexr/tags' | \ $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | \ head -1 endef define $(PKG)_BUILD # build the win32 thread sources instead of the posix thread sources $(SED) -i 's,IlmThreadPosix\.,IlmThreadWin32.,' '$(1)/IlmThread/Makefile.in' $(SED) -i 's,IlmThreadSemaphorePosix\.,IlmThreadSemaphoreWin32.,' '$(1)/IlmThread/Makefile.in' $(SED) -i 's,IlmThreadMutexPosix\.,IlmThreadMutexWin32.,' '$(1)/IlmThread/Makefile.in' echo '/* disabled */' > '$(1)/IlmThread/IlmThreadSemaphorePosixCompat.cpp' # Because of the previous changes, '--disable-threading' will not disable # threading. It will just disable the unwanted check for pthread. cd '$(1)' && $(SHELL) ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --disable-threading \ CONFIG_SHELL=$(SHELL) \ SHELL=$(SHELL) # do the first build step by hand, because programs are built that # generate source files cd '$(1)/Half' && g++ eLut.cpp -o eLut '$(1)/Half/eLut' > '$(1)/eLut.h' cd '$(1)/Half' && g++ toFloat.cpp -o toFloat '$(1)/Half/toFloat' > '$(1)/toFloat.h' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef