summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2024-01-13 17:15:00 +0300
committerkx <kx@radix.pro>2024-01-13 17:15:00 +0300
commiteb70483593c61da6dd24cde005e5b7a9aac355a7 (patch)
treee97bd1ec7369c6b97f660c97f2aea92bb918f90b
parenta692ce75f739d921af4a8588e17b1a5720f04a88 (diff)
downloadsources-eb70483593c61da6dd24cde005e5b7a9aac355a7.tar.xz
VLC-3.0.20
-rw-r--r--packages/m/VideoLAN/Makefile1
-rw-r--r--packages/m/VideoLAN/vlc/Makefile40
2 files changed, 41 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)