Index: Makefile
===================================================================
--- Makefile (nonexistent)
+++ Makefile (revision 5)
@@ -0,0 +1,76 @@
+
+COMPONENT_TARGETS = $(HARDWARE_NOARCH)
+
+
+include ../../../../build-system/constants.mk
+
+
+url = $(DOWNLOAD_SERVER)/sources/packages/x/qt5
+
+versions = 5.15.8
+pkgname = qt-everywhere-src
+suffix = tar.xz
+
+tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+patches = $(CURDIR)/patches/qt5-5.15.8-mips32r5.patch
+patches += $(CURDIR)/patches/qt5-5.15.8-arm-no-thumb.patch
+patches += $(CURDIR)/patches/qt5-5.15.8-breakpad.patch
+patches += $(CURDIR)/patches/qt5-5.15.8-dav1d.patch
+patches += $(CURDIR)/patches/qt5-5.15.8-ffmpeg.patch
+patches += $(CURDIR)/patches/qt5-5.15.8-libxml.patch
+patches += $(CURDIR)/patches/qt5-5.15.8-module-version.patch
+patches += $(CURDIR)/patches/qt5-5.15.8-mysql.patch
+patches += $(CURDIR)/patches/qt5-5.15.8-sandbox.patch
+patches += $(CURDIR)/patches/qt5-5.15.8-skia.patch
+patches += $(CURDIR)/patches/qt5-5.15.8-sql-config.patch
+
+.NOTPARALLEL: $(patches)
+
+
+BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
+
+
+include ../../../../build-system/core.mk
+
+
+.PHONY: download_clean
+
+
+$(tarballs):
+ @echo -e "\n======= Downloading source tarballs =======" ; \
+ for tarball in $(tarballs) ; do \
+ echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
+ done ; wait
+
+$(sha1s): $(tarballs)
+ @for sha in $@ ; do \
+ echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
+ echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
+ touch $$sha ; \
+ echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
+ sha1sum --check $$sha ; ret="$$?" ; \
+ if [ "$$ret" == "1" ]; then \
+ echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
+ exit 1 ; \
+ fi ; \
+ done
+
+$(patches): $(sha1s)
+ @echo -e "\n======= Create Patches =======\n" ; \
+ ( cd create-5.15.8-mips32r5-patch ; ./create.patch.sh ) ; \
+ ( cd create-5.15.8-arm-no-thumb-patch ; ./create.patch.sh ) ; \
+ ( cd create-5.15.8-breakpad-patch ; ./create.patch.sh ) ; \
+ ( cd create-5.15.8-dav1d-patch ; ./create.patch.sh ) ; \
+ ( cd create-5.15.8-ffmpeg-patch ; ./create.patch.sh ) ; \
+ ( cd create-5.15.8-libxml-patch ; ./create.patch.sh ) ; \
+ ( cd create-5.15.8-module-version-patch ; ./create.patch.sh ) ; \
+ ( cd create-5.15.8-mysql-patch ; ./create.patch.sh ) ; \
+ ( cd create-5.15.8-sandbox-patch ; ./create.patch.sh ) ; \
+ ( cd create-5.15.8-skia-patch ; ./create.patch.sh ) ; \
+ ( cd create-5.15.8-sql-config-patch ; ./create.patch.sh ) ; \
+ echo -e "\n"
+
+download_clean:
+ @rm -f $(tarballs) $(sha1s) $(patches)