Commit 9fb2e152 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: matroska

parent a940cedb
84c09f9a97d0fcb8ee7b2718ced6c6d490080e36cfd4347e4e611b7ea683f1a96732a4c209a724fcc92f55c6de017bf884221fd757dc4fa63cabd440cdf51483 libmatroska-1.1.0.tar.bz2
# 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 $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment