Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

343 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2023-12-08 22:10:33 +0300 committer: kx <kx@radix.pro> 2023-12-08 22:10:33 +0300 commit: 9c49e4cb919ff8ecc3f919e48a6018952e47947c parent: bd1f3afab9c46750ec11398f6f6119bca0d9f57b
Commit Summary:
GNOME: metacity-3.50.0
Diffstat:
2 files changed, 38 insertions, 0 deletions
diff --git a/GNOME/core/Makefile b/GNOME/core/Makefile
index 402b863..a875e38 100644
--- a/GNOME/core/Makefile
+++ b/GNOME/core/Makefile
@@ -112,6 +112,7 @@ SUBDIRS := GConf                          \
            libwnck                        \
            libxklavier                    \
            libzapojit                     \
+           metacity                       \
            mm-common                      \
            mobile-broadband-provider-info \
            mousetweaks                    \
diff --git a/GNOME/core/metacity/Makefile b/GNOME/core/metacity/Makefile
new file mode 100644
index 0000000..70938ff
--- /dev/null
+++ b/GNOME/core/metacity/Makefile
@@ -0,0 +1,50 @@
+#
+# Project Home:
+# ============
+# https://www.gnome.org
+#
+# Repository browse: https://git.gnome.org/browse/metacity
+#
+# Downloads:
+# =========
+# ftp://ftp.gnome.org/pub/GNOME/sources
+# https://download.gnome.org/sources
+#
+
+
+url       = https://download.gnome.org/sources
+
+versions  = 3.50.0
+
+pkg_name  = metacity
+arch_type = tar.xz
+suffixes  = $(arch_type)
+
+files     = $(foreach suffix, $(suffixes), $(addsuffix .$(suffix), $(addprefix $(pkg_name)-, $(versions))))
+
+tarballs  = $(addsuffix .$(arch_type), $(addprefix $(pkg_name)-, $(versions)))
+sha1s     = $(addsuffix .sha1sum, $(tarballs))
+
+
+all: $(files) $(sha1s)
+
+
+.PHONY: downloads_clean
+
+$(files):
+	@echo -e "\n======= Downloading '$(pkg_name)' sourses =======\n"
+	@for version in $(versions) ; do \
+	  major_minor=`echo $$version | sed 's/\([0-9][.0-9][0-9]*\)\([\.].*\)/\1/'` ; \
+	  for suffix in $(suffixes) ; do \
+	    wget -N $(url)/$(pkg_name)/$$major_minor/$(pkg_name)-$$version.$$suffix ;  \
+	  done ; \
+	done
+
+$(sha1s): %.$(arch_type).sha1sum : %.$(arch_type)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+downloads_clean:
+	@rm -f $(files) $(sha1s)