From eb70483593c61da6dd24cde005e5b7a9aac355a7 Mon Sep 17 00:00:00 2001 From: kx Date: Sat, 13 Jan 2024 17:15:00 +0300 Subject: VLC-3.0.20 --- packages/m/VideoLAN/Makefile | 1 + packages/m/VideoLAN/vlc/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 packages/m/VideoLAN/vlc/Makefile 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) -- cgit v1.2.3