summaryrefslogtreecommitdiff
path: root/GNOME
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2023-12-07 17:26:26 +0300
committerkx <kx@radix.pro>2023-12-07 17:26:26 +0300
commita6ce125b01bedee5ce19d7319a533ba64c5b6e7f (patch)
treeee94167637cbb374a1941dd9864c7e316be63d25 /GNOME
parent5e98f6e94bb484a1b0053876a515ade07cad7369 (diff)
downloadsources-a6ce125b01bedee5ce19d7319a533ba64c5b6e7f.tar.xz
GNOME: gsound-1.0.3
Diffstat (limited to 'GNOME')
-rw-r--r--GNOME/core/Makefile1
-rw-r--r--GNOME/core/gsound/Makefile53
2 files changed, 54 insertions, 0 deletions
diff --git a/GNOME/core/Makefile b/GNOME/core/Makefile
index 2dec969..402b863 100644
--- a/GNOME/core/Makefile
+++ b/GNOME/core/Makefile
@@ -69,6 +69,7 @@ SUBDIRS := GConf \
grilo \
grilo-plugins \
gsettings-desktop-schemas \
+ gsound \
gssdp \
gtk \
gtk+ \
diff --git a/GNOME/core/gsound/Makefile b/GNOME/core/gsound/Makefile
new file mode 100644
index 0000000..6340b79
--- /dev/null
+++ b/GNOME/core/gsound/Makefile
@@ -0,0 +1,53 @@
+#
+# Project Home:
+# ============
+# https://www.gtk.org
+# https://www.gnome.org
+#
+# Old project Home page:
+# ---------------------
+# http://www.tux.org/~ricdude/overview.html
+#
+# Downloads:
+# =========
+# ftp://ftp.gnome.org/pub/GNOME/sources
+# https://download.gnome.org/sources
+#
+
+
+url = https://download.gnome.org/sources
+
+versions = 1.0.3
+
+pkg_name = gsound
+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)