diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..cd57559 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "matroska"] + path = matroska + url = https://github.com/generic-library/matroska.git diff --git a/_lutin_matroska-test-ebml1.py b/_lutin_matroska-test-ebml1.py new file mode 100644 index 0000000..b9195de --- /dev/null +++ b/_lutin_matroska-test-ebml1.py @@ -0,0 +1,29 @@ +#!/usr/bin/python +import lutin.module as module +import lutin.tools as tools +import os + +def get_type(): + return "BINARY" + +def get_sub_type(): + return "TEST" + +def get_desc(): + return "matroska test software" + +def get_licence(): + return "LGPL-2.1" + +def get_maintainer(): + return ["Moritz Bunkus "] + + +def create(target, module_name): + my_module = module.Module(__file__, module_name, get_type()) + my_module.add_src_file([ + 'matroska/test/ebml/test00.cpp' + ]) + my_module.compile_version("c++", 2003) + my_module.add_module_depend('matroska') + return my_module diff --git a/_lutin_matroska-test-ebml2.py b/_lutin_matroska-test-ebml2.py new file mode 100644 index 0000000..46b168e --- /dev/null +++ b/_lutin_matroska-test-ebml2.py @@ -0,0 +1,29 @@ +#!/usr/bin/python +import lutin.module as module +import lutin.tools as tools +import os + +def get_type(): + return "BINARY" + +def get_sub_type(): + return "TEST" + +def get_desc(): + return "matroska test software" + +def get_licence(): + return "LGPL-2.1" + +def get_maintainer(): + return ["Moritz Bunkus "] + + +def create(target, module_name): + my_module = module.Module(__file__, module_name, get_type()) + my_module.add_src_file([ + 'matroska/test/ebml/test0.cpp' + ]) + my_module.compile_version("c++", 2003) + my_module.add_module_depend('matroska') + return my_module diff --git a/_lutin_matroska-test-mux1.py b/_lutin_matroska-test-mux1.py new file mode 100644 index 0000000..2a5bbcd --- /dev/null +++ b/_lutin_matroska-test-mux1.py @@ -0,0 +1,29 @@ +#!/usr/bin/python +import lutin.module as module +import lutin.tools as tools +import os + +def get_type(): + return "BINARY" + +def get_sub_type(): + return "TEST" + +def get_desc(): + return "matroska test software" + +def get_licence(): + return "LGPL-2.1" + +def get_maintainer(): + return ["Moritz Bunkus "] + + +def create(target, module_name): + my_module = module.Module(__file__, module_name, get_type()) + my_module.add_src_file([ + 'matroska/test/mux/test6.cpp' + ]) + my_module.compile_version("c++", 2003) + my_module.add_module_depend('matroska') + return my_module diff --git a/_lutin_matroska-test-mux2.py b/_lutin_matroska-test-mux2.py new file mode 100644 index 0000000..04ed3c4 --- /dev/null +++ b/_lutin_matroska-test-mux2.py @@ -0,0 +1,29 @@ +#!/usr/bin/python +import lutin.module as module +import lutin.tools as tools +import os + +def get_type(): + return "BINARY" + +def get_sub_type(): + return "TEST" + +def get_desc(): + return "matroska test software" + +def get_licence(): + return "LGPL-2.1" + +def get_maintainer(): + return ["Moritz Bunkus "] + + +def create(target, module_name): + my_module = module.Module(__file__, module_name, get_type()) + my_module.add_src_file([ + 'matroska/test/mux/test8.cpp' + ]) + my_module.compile_version("c++", 2003) + my_module.add_module_depend('matroska') + return my_module diff --git a/_lutin_matroska-test-tag.py b/_lutin_matroska-test-tag.py new file mode 100644 index 0000000..e9934e5 --- /dev/null +++ b/_lutin_matroska-test-tag.py @@ -0,0 +1,29 @@ +#!/usr/bin/python +import lutin.module as module +import lutin.tools as tools +import os + +def get_type(): + return "BINARY" + +def get_sub_type(): + return "TEST" + +def get_desc(): + return "matroska test software" + +def get_licence(): + return "LGPL-2.1" + +def get_maintainer(): + return ["Moritz Bunkus "] + + +def create(target, module_name): + my_module = module.Module(__file__, module_name, get_type()) + my_module.add_src_file([ + 'matroska/test/tags/test9.cpp' + ]) + my_module.compile_version("c++", 2003) + my_module.add_module_depend('matroska') + return my_module diff --git a/_lutin_matroska-test-utf8.py b/_lutin_matroska-test-utf8.py new file mode 100644 index 0000000..1e9fe1d --- /dev/null +++ b/_lutin_matroska-test-utf8.py @@ -0,0 +1,29 @@ +#!/usr/bin/python +import lutin.module as module +import lutin.tools as tools +import os + +def get_type(): + return "BINARY" + +def get_sub_type(): + return "TEST" + +def get_desc(): + return "matroska test software" + +def get_licence(): + return "LGPL-2.1" + +def get_maintainer(): + return ["Moritz Bunkus "] + + +def create(target, module_name): + my_module = module.Module(__file__, module_name, get_type()) + my_module.add_src_file([ + 'matroska/test/utf8/test5.cpp' + ]) + my_module.compile_version("c++", 2003) + my_module.add_module_depend('matroska') + return my_module diff --git a/lutin_matroska.py b/lutin_matroska.py new file mode 100644 index 0000000..e8767f9 --- /dev/null +++ b/lutin_matroska.py @@ -0,0 +1,75 @@ +#!/usr/bin/python +import lutin.module as module +import lutin.tools as tools + + +def get_type(): + return "LIBRARY" + +def get_desc(): + return "matroska library Muxer and deMuxer matroska tool" + +def get_licence(): + return "LGPL-2.1" + +def get_maintainer(): + return ["Moritz Bunkus "] + +def get_version(): + return [1,4,4] + +def create(target, module_name): + my_module = module.Module(__file__, module_name, get_type()) + my_module.add_src_file([ + 'matroska/src/KaxInfoData.cpp', + 'matroska/src/KaxCluster.cpp', + 'matroska/src/KaxContexts.cpp', + 'matroska/src/KaxSeekHead.cpp', + 'matroska/src/KaxSegment.cpp', + 'matroska/src/KaxAttachments.cpp', + 'matroska/src/FileKax.cpp', + 'matroska/src/KaxSemantic.cpp', + 'matroska/src/KaxAttached.cpp', + 'matroska/src/KaxTracks.cpp', + 'matroska/src/KaxBlock.cpp', + 'matroska/src/KaxCues.cpp', + 'matroska/src/KaxCuesData.cpp', + 'matroska/src/KaxVersion.cpp', + 'matroska/src/KaxBlockData.cpp', + ]) + my_module.add_header_file([ + 'matroska/matroska/KaxTag.h', + 'matroska/matroska/KaxConfig.h', + 'matroska/matroska/KaxTypes.h', + 'matroska/matroska/KaxChapters.h', + 'matroska/matroska/KaxTrackAudio.h', + 'matroska/matroska/KaxDefines.h', + 'matroska/matroska/KaxContexts.h', + 'matroska/matroska/KaxContentEncoding.h', + 'matroska/matroska/KaxSegment.h', + 'matroska/matroska/KaxCluster.h', + 'matroska/matroska/KaxTags.h', + 'matroska/matroska/KaxSeekHead.h', + 'matroska/matroska/KaxVersion.h', + 'matroska/matroska/KaxCuesData.h', + 'matroska/matroska/c/libmatroska.h', + 'matroska/matroska/c/libmatroska_t.h', + 'matroska/matroska/KaxBlock.h', + 'matroska/matroska/FileKax.h', + 'matroska/matroska/KaxBlockData.h', + 'matroska/matroska/KaxAttachments.h', + 'matroska/matroska/KaxInfoData.h', + 'matroska/matroska/KaxTracks.h', + 'matroska/matroska/KaxTrackEntryData.h', + 'matroska/matroska/KaxTrackVideo.h', + 'matroska/matroska/KaxCues.h', + 'matroska/matroska/KaxInfo.h', + 'matroska/matroska/KaxAttached.h', + 'matroska/matroska/KaxClusterData.h', + 'matroska/matroska/KaxSemantic.h', + ], + destination_path="matroska") + my_module.compile_version("C++", 2003) + return my_module + + diff --git a/matroska b/matroska new file mode 160000 index 0000000..2619e00 --- /dev/null +++ b/matroska @@ -0,0 +1 @@ +Subproject commit 2619e001cbca8a22b849326470bfb9164ee9efde