vlc | branch: master | Thomas Guillem <[email protected]> | 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 $@

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to