Radix cross Linux 3pp sources

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

366 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2023-12-28 21:59:48 +0300 committer: kx <kx@radix.pro> 2023-12-28 21:59:48 +0300 commit: a31a5f6317157904d7d6f3c3bd3ea4ca113ad94b parent: ba092d4745568815f1599571c43ee84a2b238cfe
Commit Summary:
blueman-2.3.5
Diffstat:
2 files changed, 53 insertions, 0 deletions
diff --git a/packages/x/Makefile b/packages/x/Makefile
index 1d50679..c342622 100644
--- a/packages/x/Makefile
+++ b/packages/x/Makefile
@@ -8,6 +8,7 @@ SUBDIRS := Vulkan               \
            WindowMaker          \
            WindowMaker-extra    \
            ayatana              \
+           blueman              \
            conky                \
            dejavu-fonts         \
            dejavu-fonts-ttf     \
diff --git a/packages/x/blueman/Makefile b/packages/x/blueman/Makefile
new file mode 100644
index 0000000..4cf3e68
--- /dev/null
+++ b/packages/x/blueman/Makefile
@@ -0,0 +1,66 @@
+#
+# Project Home:
+# ============
+#   https://github.com/blueman-project/blueman
+#
+# Clone:
+# =====
+#   git clone https://github.com/blueman-project/blueman.git
+#
+
+url        = https://github.com/blueman-project
+
+repo_name  = blueman
+pkg_name   = blueman
+suffix     = tar.xz
+
+versions   = 2.3.5
+
+# List of tags to be extracted:
+TAGS       = $(addprefix v, $(versions))
+
+git_repo   = .git_clone
+tarballs   = $(addsuffix .tar.xz, $(addprefix $(pkg_name)-, $(versions)))
+sha1s      = $(addsuffix .sha1sum, $(tarballs))
+
+TARGETS = repository_clean
+
+
+all: $(TARGETS)
+
+.PHONY: downloads_clean repository_clean
+
+$(git_repo):
+	@echo -e "\n======= Clone $(repo_name).git repository =======\n"
+	@rm -rf $(repo_name)
+	@git clone $(url)/$(repo_name).git $(repo_name)
+	@touch $@
+
+$(tarballs): $(git_repo)
+	@for version in $(versions) ; do \
+	  tag=`echo $$version` ; \
+	  if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \
+	    echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \
+	    ( cd $(repo_name) && \
+	      git archive --format=tar --prefix=$(pkg_name)-$$version/ $$tag | \
+	      xz >../$(pkg_name)-$$version.$(suffix) ) ; \
+	    tar xJf $(pkg_name)-$$version.$(suffix) ; \
+	    ( cd $(pkg_name)-$$version ; ./autogen.sh ; rm -rf autom4te.cache ) ; \
+	    tar cJf $(pkg_name)-$$version.$(suffix) $(pkg_name)-$$version ; \
+	    rm -rf $(pkg_name)-$$version ; \
+	  fi ; \
+	done
+
+$(sha1s): %.tar.xz.sha1sum : %.tar.xz
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+repository_clean: $(sha1s)
+	@echo -e "\n======= Remove cloned $(repo_name).git repository =======\n"
+	@rm -rf $(git_repo) $(repo_name)
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)
+	@rm -rf $(git_repo) $(repo_name)