summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2024-01-18 10:20:13 +0300
committerkx <kx@radix.pro>2024-01-18 10:20:13 +0300
commit6c10816302f9a25e8572cf9408e8241bda08e086 (patch)
tree1bd1b22baf4325f329a441306b0c88f7f7ea543a
parent5df60b41c271283cfa7b27442c4dae89ebbc5ec3 (diff)
downloadsources-6c10816302f9a25e8572cf9408e8241bda08e086.tar.xz
GIMP 2.99.16
-rw-r--r--packages/x/Makefile1
-rw-r--r--packages/x/gimp/Makefile14
-rw-r--r--packages/x/gimp3/Makefile56
3 files changed, 68 insertions, 3 deletions
diff --git a/packages/x/Makefile b/packages/x/Makefile
index 441408f..b62ce3e 100644
--- a/packages/x/Makefile
+++ b/packages/x/Makefile
@@ -22,6 +22,7 @@ SUBDIRS := Vulkan \
freerdp \
geoclue \
gimp \
+ gimp3 \
glew \
glu \
gst-plugins-bad \
diff --git a/packages/x/gimp/Makefile b/packages/x/gimp/Makefile
index 7079d0f..98adae6 100644
--- a/packages/x/gimp/Makefile
+++ b/packages/x/gimp/Makefile
@@ -1,17 +1,25 @@
#
# Project Home:
# ============
-# https://www.gimp.org
+# https://www.gimp.org
+#
+# GitLab:
+# ======
+# https://gitlab.gnome.org/GNOME/gimp
+#
+# Clone:
+# =====
+# git clone https://gitlab.gnome.org/GNOME/gimp.git
#
# Downloads:
# =========
-# https://download.gimp.org/pub/gimp
+# https://download.gimp.org/pub/gimp
#
url = https://download.gimp.org/pub
-versions = 2.8.6 2.8.14 2.8.16 2.9.2 2.10.34
+versions = 2.10.34 2.10.36
pkg_name = gimp
arch_type = tar.bz2
diff --git a/packages/x/gimp3/Makefile b/packages/x/gimp3/Makefile
new file mode 100644
index 0000000..b8a20cb
--- /dev/null
+++ b/packages/x/gimp3/Makefile
@@ -0,0 +1,56 @@
+#
+# Project Home:
+# ============
+# https://www.gimp.org
+#
+# GitLab:
+# ======
+# https://gitlab.gnome.org/GNOME/gimp
+#
+# Clone:
+# =====
+# git clone https://gitlab.gnome.org/GNOME/gimp.git
+#
+# Downloads:
+# =========
+# https://download.gimp.org/pub/gimp
+#
+
+
+url = https://download.gimp.org/pub
+
+versions = 2.99.16
+
+pkg_name = gimp
+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)/v$$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)