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-13 17:15:00 +0300 committer: kx <kx@radix.pro> 2024-01-13 17:15:00 +0300 commit: eb70483593c61da6dd24cde005e5b7a9aac355a7 parent: a692ce75f739d921af4a8588e17b1a5720f04a88
Commit Summary:
VLC-3.0.20
Diffstat:
2 files changed, 31 insertions, 0 deletions
diff --git a/packages/m/VideoLAN/Makefile b/packages/m/VideoLAN/Makefile
index 3c02776..5d5318c 100644
--- a/packages/m/VideoLAN/Makefile
+++ b/packages/m/VideoLAN/Makefile
@@ -11,6 +11,7 @@ SUBDIRS := dav1d      \
            libdvdcss  \
            libdvdnav  \
            libdvdread \
+           vlc        \
            x264       \
            x265
 
diff --git a/packages/m/VideoLAN/vlc/Makefile b/packages/m/VideoLAN/vlc/Makefile
new file mode 100644
index 0000000..73b9996
--- /dev/null
+++ b/packages/m/VideoLAN/vlc/Makefile
@@ -0,0 +1,40 @@
+#
+# Project Home:
+# ============
+# https://bitbucket.org/multicoreware/x265_git/wiki/Home
+#
+# Downloads:
+# =========
+#   http://download.videolan.org/vlc/${VERSION}/vlc-${VERSION}.tar.xz
+#
+
+url         = http://download.videolan.org/vlc
+
+versions    = 3.0.20
+
+pkgname     = vlc
+suffix      = tar.xz
+
+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 \
+	  version=`echo $$tarball | sed 's/\([a-zA-Z0-9]*\)\([-]\)\([0-9]*[\.][0-9]*[\.][0-9]*\)\([\.].*\)/\3/'` ; \
+	  wget -N $(url)/$${version}/$(pkgname)-$${version}.tar.xz ; \
+	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)