view src/qttranslations.mk @ 5498:4edf49596bf0

Add build rule for meson (bug #58689). * src/build-meson.mk: New file to build meson. * dist-files.mk: Add new file to list. * index.html: Add new package to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 02 Jul 2020 17:53:59 +0200
parents 4fb7aa43ba15
children 954bb4ead870
line wrap: on
line source

# This file is part of MXE. See LICENSE.md for licensing information.

PKG             := qttranslations
$(PKG)_IGNORE   :=
$(PKG)_VERSION   = $(qtbase_VERSION)
$(PKG)_CHECKSUM := fb7b76c23df5ececfbce35a8f5ffba987807194a
$(PKG)_SUBDIR    = $(subst qtbase,qttranslations,$(qtbase_SUBDIR))
$(PKG)_FILE      = $(subst qtbase,qttranslations,$(qtbase_FILE))
$(PKG)_URL       = $(subst qtbase,qttranslations,$(qtbase_URL))
$(PKG)_DEPS     := qtbase qttools

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
endef