[vlc-commits] contrib: add bitstream
Thomas Guillem
git at videolan.org
Mon Nov 5 18:30:00 CET 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Oct 24 18:48:58 2018 +0200| [5fcd09861d3adadfdb498e1a2795edefcd3d108f] | committer: Thomas Guillem
contrib: add bitstream
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5fcd09861d3adadfdb498e1a2795edefcd3d108f
---
contrib/src/bitstream/rules.mak | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/contrib/src/bitstream/rules.mak b/contrib/src/bitstream/rules.mak
new file mode 100644
index 0000000000..5dae7efdeb
--- /dev/null
+++ b/contrib/src/bitstream/rules.mak
@@ -0,0 +1,22 @@
+BITSTREAM_HASH := 66f925a6c7bf0879f1d942328f3b131914b94648
+BITSTREAM_VERSION := git-$(BITSTREAM_HASH)
+BITSTREAM_GITURL := https://code.videolan.org/videolan/bitstream.git
+
+PKGS += bitstream
+
+$(TARBALLS)/bitstream-$(BITSTREAM_VERSION).tar.xz:
+ $(call download_git,$(BITSTREAM_GITURL),,$(BITSTREAM_HASH))
+
+.sum-bitstream: bitstream-$(BITSTREAM_VERSION).tar.xz
+ $(call check_githash,$(BITSTREAM_HASH))
+ touch $@
+
+bitstream: bitstream-$(BITSTREAM_VERSION).tar.xz .sum-bitstream
+ rm -rf $@-$(BITSTREAM_VERSION) $@
+ mkdir -p $@-$(BITSTREAM_VERSION)
+ tar xvf "$<" --strip-components=1 -C $@-$(BITSTREAM_VERSION)
+ $(MOVE)
+
+.bitstream: bitstream
+ cd $< && PREFIX=$(PREFIX) $(MAKE) install
+ touch $@
More information about the vlc-commits
mailing list