author: kx <kx@radix.pro> 2023-04-26 17:09:13 +0300
committer: kx <kx@radix.pro> 2023-04-26 17:09:13 +0300
commit: 838da34b139936e829c69abdfea42d539de45c52
parent: 91f97a9f43834175856c070a775b3256fa3510ba
Commit Summary:
Diffstat:
4 files changed, 79 insertions, 0 deletions
diff --git a/packages/m/Makefile b/packages/m/Makefile
index 0e39c02..a08b74c 100644
--- a/packages/m/Makefile
+++ b/packages/m/Makefile
@@ -9,6 +9,7 @@ SUBDIRS := OpenMAX \
alsa \
amp \
amr \
+ audacious \
audiocoding \
audiofile \
dcadec \
diff --git a/packages/m/audacious/Makefile b/packages/m/audacious/Makefile
new file mode 100644
index 0000000..a059502
--- /dev/null
+++ b/packages/m/audacious/Makefile
@@ -0,0 +1,25 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := audacious \
+ audacious-plugins
+
+
+all-recursive downloads_clean-recursive:
+ @set fnord $(MAKEFLAGS); amf=$$2; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ local_target="$$target"; \
+ (cd $$subdir && $(MAKE) $$fnord $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done; test -z "$$fail"
+
+all: all-recursive
+
+downloads_clean: downloads_clean-recursive
+
+.PHONY: all-recursive downloads_clean-recursive all downloads_clean
diff --git a/packages/m/audacious/audacious-plugins/Makefile b/packages/m/audacious/audacious-plugins/Makefile
new file mode 100644
index 0000000..5cd98f5
--- /dev/null
+++ b/packages/m/audacious/audacious-plugins/Makefile
@@ -0,0 +1,40 @@
+#
+# Project Home:
+# ============
+# https://audacious-media-player.org
+#
+# Downloads:
+# =========
+# https://audacious-media-player.org/download
+# https://distfiles.audacious-media-player.org
+#
+
+url = https://distfiles.audacious-media-player.org
+
+versions = 4.3
+
+pkgname = audacious-plugins
+suffix = tar.bz2
+
+tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+ @echo -e "\n======= Downloading source tarballs =======\n"
+ @for tarball in $(tarballs) ; do \
+ wget -N $(url)/$$tarball ; \
+ done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+ @for tarball in $< ; do \
+ echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+ sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+ done
+
+downloads_clean:
+ @rm -rf $(tarballs) $(sha1s)
diff --git a/packages/m/audacious/audacious/Makefile b/packages/m/audacious/audacious/Makefile
new file mode 100644
index 0000000..e7b3d99
--- /dev/null
+++ b/packages/m/audacious/audacious/Makefile
@@ -0,0 +1,40 @@
+#
+# Project Home:
+# ============
+# https://audacious-media-player.org
+#
+# Downloads:
+# =========
+# https://audacious-media-player.org/download
+# https://distfiles.audacious-media-player.org
+#
+
+url = https://distfiles.audacious-media-player.org
+
+versions = 4.3
+
+pkgname = audacious
+suffix = tar.bz2
+
+tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+ @echo -e "\n======= Downloading source tarballs =======\n"
+ @for tarball in $(tarballs) ; do \
+ wget -N $(url)/$$tarball ; \
+ done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+ @for tarball in $< ; do \
+ echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+ sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+ done
+
+downloads_clean:
+ @rm -rf $(tarballs) $(sha1s)