[vlc-devel] [PATCH 3.0.x 1/4] contrib: add bitstream

Thomas Guillem thomas at gllm.fr
Mon Nov 2 14:03:36 CET 2020


(cherry picked from commit 5fcd09861d3adadfdb498e1a2795edefcd3d108f)
(cherry picked from commit 13ac11cd6a9bdb0bc92cf405bb750f41dfb4c732)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
---
 contrib/src/bitstream/rules.mak | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 contrib/src/bitstream/rules.mak

diff --git a/contrib/src/bitstream/rules.mak b/contrib/src/bitstream/rules.mak
new file mode 100644
index 0000000000..36a184d603
--- /dev/null
+++ b/contrib/src/bitstream/rules.mak
@@ -0,0 +1,20 @@
+BITSTREAM_HASH := a9b69ce2680ee361e0327ce0c8c2fdee48e390c3
+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
+	$(UNPACK)
+	$(MOVE)
+
+.bitstream: bitstream
+	cd $< && PREFIX=$(PREFIX) $(MAKE) install
+	touch $@
-- 
2.28.0



More information about the vlc-devel mailing list