genode/repos/libports/recipes/raw/qt5_qtquick2/content.mk
Christian Helmuth e3fd554026 qt5: fix file metadata when creating tar archives
This supports stable package hashes in all combinations of user, umask,
and creation time.

Related to #2842
2018-06-14 15:08:46 +02:00

17 lines
406 B
Makefile

content: qt5_qtquick2.tar
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/qt5)
INSTALL_DIR := qt/qml/QtQuick.2
QMLDIR := $(INSTALL_DIR)/qmldir
$(INSTALL_DIR):
mkdir -p $@
$(QMLDIR): $(INSTALL_DIR)
cp $(PORT_DIR)/src/lib/qt5/qt5/qtdeclarative/src/imports/qtquick2/qmldir $@
qt5_qtquick2.tar: $(QMLDIR)
tar --owner=0 --group=0 --numeric-owner --mode='go=' --mtime='1970-01-01' -cf $@ qt
rm -rf qt