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-05-17 15:53:50 +0300 committer: kx <kx@radix.pro> 2023-05-17 15:53:50 +0300 commit: 225e80900f1580e96133bad83c395d6f73c09e09 parent: 2e20ecc8bde2c52ce27ae8b7b57ac851bfc67b2b
Commit Summary:
libadwaita-1.3.2
Diffstat:
2 files changed, 38 insertions, 0 deletions
diff --git a/GNOME/core/Makefile b/GNOME/core/Makefile
index 93ea88f..251664a 100644
--- a/GNOME/core/Makefile
+++ b/GNOME/core/Makefile
@@ -82,6 +82,7 @@ SUBDIRS := GConf                          \
            gupnp-igd                      \
            gvfs                           \
            json-glib                      \
+           libadwaita                     \
            libart_lgpl                    \
            libchamplain                   \
            libcroco                       \
diff --git a/GNOME/core/libadwaita/Makefile b/GNOME/core/libadwaita/Makefile
new file mode 100644
index 0000000..721cd00
--- /dev/null
+++ b/GNOME/core/libadwaita/Makefile
@@ -0,0 +1,50 @@
+#
+# Project Home:
+# ============
+# https://www.gnome.org
+#
+# Repository browse: https://git.gnome.org/browse/libadwaita
+#
+# Downloads:
+# =========
+# ftp://ftp.gnome.org/pub/GNOME/sources
+# https://download.gnome.org/sources
+#
+
+
+url       = https://download.gnome.org/sources
+
+versions  = 1.3.2
+
+pkg_name  = libadwaita
+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)