view src/qtsvg.mk @ 5186:af2966900462

suitesparse: update to v4.5.6 * src/suitesparse.mk: update version, checksum and build rules. * src/suitesparse-1-fixes.patch, srs/suitesparse-2-metis.patch: Add new patches. * src/suitesparse-1.patch: Remove old patch. * dist-files.mk: Update list.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 15 Oct 2019 19:13:54 +0200
parents f0fb4aebfcd0
children 8a2080f70075
line wrap: on
line source

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

PKG             := qtsvg
$(PKG)_IGNORE   :=
$(PKG)_VERSION   = $(qtbase_VERSION)
$(PKG)_CHECKSUM := 00a30ea9025df7e6ec27cfc44315be6c4392ced1
$(PKG)_SUBDIR    = $(subst qtbase,qtsvg,$(qtbase_SUBDIR))
$(PKG)_FILE      = $(subst qtbase,qtsvg,$(qtbase_FILE))
$(PKG)_URL       = $(subst qtbase,qtsvg,$(qtbase_URL))
$(PKG)_DEPS     := qtbase

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

define $(PKG)_BUILD
    cd '$(1)' && '$(MXE_QMAKE)'
    $(MAKE) -C '$(1)' -j '$(JOBS)'
    $(MAKE) -C '$(1)' -j 1 install

    if [ $(MXE_WINDOWS_BUILD) = yes ]; then \
      $(INSTALL) -d '$(HOST_BINDIR)'; \
      mv '$(HOST_PREFIX)'/qt5/bin/Qt5Svgd.dll '$(HOST_BINDIR)'/Qt5Svgd.dll; \
      mv '$(HOST_PREFIX)'/qt5/bin/Qt5Svg.dll '$(HOST_BINDIR)'/Qt5Svg.dll; \
    fi
endef