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> 2024-01-19 16:19:11 +0300 committer: kx <kx@radix.pro> 2024-01-19 16:19:11 +0300 commit: be13aca38d19c9b499ac5541ca0bf82c033ccaab parent: 57425e9b3e47b7786fd7c016567081c0052141b5
Commit Summary:
openexr-3.2.1
Diffstat:
4 files changed, 147 insertions, 0 deletions
diff --git a/packages/x/Makefile b/packages/x/Makefile
index 07b9901..5f46802 100644
--- a/packages/x/Makefile
+++ b/packages/x/Makefile
@@ -37,9 +37,11 @@ SUBDIRS := Vulkan               \
            hicolor-icon-theme   \
            idesk                \
            imagemagick          \
+           imath                \
            jasper               \
            lensfun              \
            libcanberra          \
+           libdeflate           \
            libdrm               \
            libepoxy             \
            liberation-fonts     \
@@ -74,6 +76,7 @@ SUBDIRS := Vulkan               \
            nitrogen             \
            obconf               \
            openbox              \
+           openexr              \
            openjdk              \
            pcmanfm              \
            php-imagick          \
diff --git a/packages/x/imath/Makefile b/packages/x/imath/Makefile
new file mode 100644
index 0000000..92a610a
--- /dev/null
+++ b/packages/x/imath/Makefile
@@ -0,0 +1,62 @@
+#
+# Project Home:
+# ============
+#   https://imath.readthedocs.io/
+#
+# Clone:
+# =====
+#   git clone https://github.com/AcademySoftwareFoundation/Imath.git
+#
+
+url        = https://github.com/AcademySoftwareFoundation
+
+repo_name  = Imath
+pkg_name   = imath
+suffix     = tar.xz
+
+versions   = 3.1.9
+
+# 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=v`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) ) ; \
+	  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)
diff --git a/packages/x/libdeflate/Makefile b/packages/x/libdeflate/Makefile
new file mode 100644
index 0000000..c6c77f6
--- /dev/null
+++ b/packages/x/libdeflate/Makefile
@@ -0,0 +1,62 @@
+#
+# Project Home:
+# ============
+#   https://github.com/ebiggers/libdeflate
+#
+# Clone:
+# =====
+#   git clone https://github.com/ebiggers
+#
+
+url        = https://github.com/ebiggers
+
+repo_name  = libdeflate
+pkg_name   = libdeflate
+suffix     = tar.xz
+
+versions   = 1.19
+
+# 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=v`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) ) ; \
+	  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)
diff --git a/packages/x/openexr/Makefile b/packages/x/openexr/Makefile
new file mode 100644
index 0000000..b85abb8
--- /dev/null
+++ b/packages/x/openexr/Makefile
@@ -0,0 +1,62 @@
+#
+# Project Home:
+# ============
+#   https://www.openexr.com/
+#
+# Clone:
+# =====
+#   git clone https://github.com/AcademySoftwareFoundation/openexr.git
+#
+
+url        = https://github.com/AcademySoftwareFoundation
+
+repo_name  = openexr
+pkg_name   = openexr
+suffix     = tar.xz
+
+versions   = 3.2.1
+
+# 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=v`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) ) ; \
+	  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)