genode/repos/libports/recipes/raw/qt5_qtquick2/content.mk
Christian Helmuth 3697f50bd3 qt5: explicit file modification time in tar archives
GNU tar interprets the passed time value in local time by default, which
lead to unstable hashes again. So, now provide a complete date/time
value incl. time zone.

Related to #2842
2018-09-13 14:54:21 +02:00

17 lines
415 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 00:00+00' -cf $@ qt
rm -rf qt