diff options
author | kx <kx@radix.pro> | 2023-04-07 15:29:50 +0300 |
---|---|---|
committer | kx <kx@radix.pro> | 2023-04-07 15:29:50 +0300 |
commit | d8b69aa468bb1efa108e032ccde0b85fa63a5c64 (patch) | |
tree | 47a232a30ec7d6d38092f9fd37681cb844a9dece /packages/x/gst-plugins-bad | |
parent | 63c35171c66d6e0f9add54c01bf81c127b0d9384 (diff) | |
download | sources-d8b69aa468bb1efa108e032ccde0b85fa63a5c64.tar.xz |
X packages
Diffstat (limited to 'packages/x/gst-plugins-bad')
-rw-r--r-- | packages/x/gst-plugins-bad/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/x/gst-plugins-bad/Makefile b/packages/x/gst-plugins-bad/Makefile new file mode 100644 index 0000000..d337b1a --- /dev/null +++ b/packages/x/gst-plugins-bad/Makefile @@ -0,0 +1,41 @@ +# +# Project Home: +# ============ +# https://gstreamer.com +# https://gstreamer.freedesktop.org +# +# Downloads: +# ========= +# https://gstreamer.freedesktop.org/src +# https://gstreamer.freedesktop.org/src/gst-plugins-bad +# + +url = https://gstreamer.freedesktop.org/src/gst-plugins-bad + +versions = 1.22.0 1.22.1 + +pkgname = gst-plugins-bad +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 \ + 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) |