[DEV] integrate ebml 1.3.4

This commit is contained in:
Edouard DUPIN 2016-08-04 23:27:25 +02:00
parent 2c343ac528
commit 25bc426573
3 changed files with 92 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "ebml"]
path = ebml
url = https://github.com/generic-library/ebml.git

1
ebml Submodule

@ -0,0 +1 @@
Subproject commit c39aa8d542c60f0fde4acb5074c8b7c50230e801

88
lutin_ebml.py Normal file
View File

@ -0,0 +1,88 @@
#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
def get_type():
return "LIBRARY"
def get_desc():
return "ebml library"
def get_licence():
return "LGPL-2.1"
def get_maintainer():
return ["Moritz Bunkus <moritz@bunkus.org>"]
def get_version():
return [1,3,4]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
my_module.add_src_file([
'ebml/src/EbmlHead.cpp',
'ebml/src/EbmlCrc32.cpp',
'ebml/src/EbmlString.cpp',
'ebml/src/MemIOCallback.cpp',
'ebml/src/EbmlBinary.cpp',
'ebml/src/EbmlStream.cpp',
'ebml/src/EbmlSubHead.cpp',
'ebml/src/EbmlFloat.cpp',
'ebml/src/EbmlVersion.cpp',
'ebml/src/MemReadIOCallback.cpp',
'ebml/src/EbmlDate.cpp',
'ebml/src/IOCallback.cpp',
'ebml/src/Debug.cpp',
'ebml/src/EbmlUInteger.cpp',
'ebml/src/EbmlVoid.cpp',
'ebml/src/EbmlSInteger.cpp',
'ebml/src/EbmlContexts.cpp',
'ebml/src/EbmlDummy.cpp',
'ebml/src/StdIOCallback.cpp',
'ebml/src/EbmlUnicodeString.cpp',
'ebml/src/SafeReadIOCallback.cpp',
'ebml/src/EbmlMaster.cpp',
'ebml/src/EbmlElement.cpp',
])
my_module.add_header_file([
'ebml/ebml/EbmlMaster.h',
'ebml/ebml/EbmlHead.h',
'ebml/ebml/EbmlBinary.h',
'ebml/ebml/EbmlSubHead.h',
'ebml/ebml/EbmlString.h',
'ebml/ebml/IOCallback.h',
'ebml/ebml/EbmlStream.h',
'ebml/ebml/EbmlDate.h',
'ebml/ebml/EbmlContexts.h',
'ebml/ebml/EbmlEndian.h',
'ebml/ebml/Debug.h',
'ebml/ebml/EbmlCrc32.h',
'ebml/ebml/EbmlTypes.h',
'ebml/ebml/EbmlUnicodeString.h',
'ebml/ebml/MemReadIOCallback.h',
'ebml/ebml/EbmlConfig.h',
'ebml/ebml/EbmlFloat.h',
'ebml/ebml/MemIOCallback.h',
'ebml/ebml/EbmlSInteger.h',
'ebml/ebml/EbmlElement.h',
'ebml/ebml/EbmlDummy.h',
'ebml/ebml/StdIOCallback.h',
'ebml/ebml/EbmlUInteger.h',
'ebml/ebml/EbmlVoid.h',
'ebml/ebml/EbmlId.h',
'ebml/ebml/SafeReadIOCallback.h',
'ebml/ebml/EbmlVersion.h',
],
destination_path="ebml")
my_module.add_header_file([
'ebml/ebml/c/libebml_t.h',
],
destination_path="ebml/c")
my_module.add_module_depend([
'cxx'
])
my_module.compile_version("C++", 2003)
return my_module