122 kx
122 kx COMPONENT_TARGETS = $(HARDWARE_NOARCH)
122 kx
122 kx
122 kx include ../../../../build-system/constants.mk
122 kx
122 kx
122 kx url = $(DOWNLOAD_SERVER)/sources/GNOME/apps/glade
122 kx
122 kx versions = 3.40.0
122 kx pkgname = glade
122 kx suffix = tar.xz
122 kx
122 kx tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
122 kx sha1s = $(addsuffix .sha1sum, $(tarballs))
122 kx
122 kx patches = $(CURDIR)/patches/glade-3.40.0-cross-gtls.patch
141 kx patches += $(CURDIR)/patches/glade-3.40.0-webkit2gtk.patch
122 kx
122 kx .NOTPARALLEL: $(patches)
122 kx
122 kx
122 kx BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
122 kx
122 kx
122 kx include ../../../../build-system/core.mk
122 kx
122 kx
122 kx .PHONY: download_clean
122 kx
122 kx
122 kx $(tarballs):
122 kx @echo -e "\n======= Downloading source tarballs =======" ; \
122 kx for tarball in $(tarballs) ; do \
122 kx echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
122 kx done ; wait
122 kx
122 kx $(sha1s): $(tarballs)
122 kx @for sha in $@ ; do \
122 kx echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
122 kx echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
122 kx touch $$sha ; \
122 kx echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
122 kx sha1sum --check $$sha ; ret="$$?" ; \
122 kx if [ "$$ret" == "1" ]; then \
122 kx echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
122 kx exit 1 ; \
122 kx fi ; \
122 kx done
122 kx
122 kx $(patches): $(sha1s)
122 kx @echo -e "\n======= Create Patches =======\n" ; \
122 kx ( cd create-3.40.0-cross-gtls-patch ; ./create.patch.sh ) ; \
141 kx ( cd create-3.40.0-webkit2gtk-patch ; ./create.patch.sh ) ; \
122 kx echo -e "\n"
122 kx
122 kx download_clean:
122 kx @rm -f $(tarballs) $(sha1s) $(patches)