[vlc-commits] contrib: matroska
Rémi Denis-Courmont
git at videolan.org
Tue Jun 28 18:45:32 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jun 28 15:49:26 2011 +0300| [9fb2e152302ca19d5de822aa50682c3463f1b70a] | committer: Rémi Denis-Courmont
contrib: matroska
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9fb2e152302ca19d5de822aa50682c3463f1b70a
---
contrib/src/matroska/SHA512SUMS | 1 +
contrib/src/matroska/rules.mak | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/contrib/src/matroska/SHA512SUMS b/contrib/src/matroska/SHA512SUMS
new file mode 100644
index 0000000..d89b556
--- /dev/null
+++ b/contrib/src/matroska/SHA512SUMS
@@ -0,0 +1 @@
+84c09f9a97d0fcb8ee7b2718ced6c6d490080e36cfd4347e4e611b7ea683f1a96732a4c209a724fcc92f55c6de017bf884221fd757dc4fa63cabd440cdf51483 libmatroska-1.1.0.tar.bz2
diff --git a/contrib/src/matroska/rules.mak b/contrib/src/matroska/rules.mak
new file mode 100644
index 0000000..f826647
--- /dev/null
+++ b/contrib/src/matroska/rules.mak
@@ -0,0 +1,29 @@
+# matroska
+
+MATROSKA_VERSION := 1.1.0
+MATROSKA_URL := http://dl.matroska.org/downloads/libmatroska/libmatroska-$(MATROSKA_VERSION).tar.bz2
+#MATROSKA_URL := $(CONTRIB_VIDEOLAN)/libmatroska-$(MATROSKA_VERSION).tar.bz2
+
+PKGS += matroska
+
+$(TARBALLS)/libmatroska-$(MATROSKA_VERSION).tar.bz2:
+ $(DOWNLOAD) $(MATROSKA_URL)
+
+.sum-matroska: $(TARBALLS/libmatroska-$(MATROSKA_VERSION).tar.bz2
+ $(CHECK_SHA512)
+ touch $@
+
+libmatroska: $(TARBALLS)/libmatroska-$(MATROSKA_VERSION).tar.bz2 .sum-matroska
+ $(UNPACK_BZ2)
+ mv $@-$(MATROSKA_VERSION) $@
+ touch $@
+
+.matroska: libmatroska .ebml
+ifdef HAVE_WIN32
+ cd $< && $(MAKE) -C make/mingw32 prefix="$(PREFIX)" $(HOSTVARS) SHARED=no EBML_DLL=no libmatroska.a
+else
+ cd $< && $(MAKE) -C make/linux prefix="$(PREFIX)" $(HOSTVARS) staticlib
+endif
+ cd $< && $(MAKE) -C make/linux install_staticlib install_headers prefix="$(PREFIX)" $(HOSTVARS)
+ $(RANLIB) "$(PREFIX)/lib/libmatroska.a"
+ touch $@
More information about the vlc-commits
mailing list