[DEV] integrate GLD
This commit is contained in:
parent
aeac233d9a
commit
7345d3ecc0
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,8 @@
|
||||
__pycache__
|
||||
.bck
|
||||
out
|
||||
target
|
||||
build
|
||||
|
||||
###################################
|
||||
# folders
|
||||
|
23
GLD_audio-algo-speex-test.json
Normal file
23
GLD_audio-algo-speex-test.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"type":"BINARY",
|
||||
"sub-type":"TEST",
|
||||
"group-id":"com.atria-soft",
|
||||
"description":"test for speex ALGO",
|
||||
"license":"MPL-2",
|
||||
"license-file":"file://LICENSE",
|
||||
"maintainer":"file://authors.txt",
|
||||
"author":"file://authors.txt",
|
||||
"version":"file://version.txt",
|
||||
"code-quality":"MEDIUM",
|
||||
|
||||
"source": [
|
||||
"test/main.cpp"
|
||||
],
|
||||
"compilation-version": {
|
||||
"c++": 2017
|
||||
},
|
||||
"dependency": [
|
||||
"audio-algo-speex",
|
||||
"test-debug"
|
||||
]
|
||||
}
|
42
GLD_audio-algo-speex.json
Normal file
42
GLD_audio-algo-speex.json
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"type":"LIBRARY",
|
||||
"group-id":"com.atria-soft",
|
||||
"description":"speex algos wrapper",
|
||||
"license":"MPL-2",
|
||||
"license-file":"file://LICENSE",
|
||||
"maintainer":"file://authors.txt",
|
||||
"author":"file://authors.txt",
|
||||
"version":"file://version.txt",
|
||||
"code-quality":"MEDIUM",
|
||||
|
||||
"source": [
|
||||
"audio/algo/speex/debug.cpp",
|
||||
"audio/algo/speex/Resampler.cpp",
|
||||
"audio/algo/speex/Aec.cpp",
|
||||
"audio/algo/speex/Vad.cpp"
|
||||
],
|
||||
"header": [
|
||||
"audio/algo/speex/Resampler.hpp",
|
||||
"audio/algo/speex/Aec.hpp",
|
||||
"audio/algo/speex/Vad.hpp"
|
||||
],
|
||||
"path":[
|
||||
"."
|
||||
],
|
||||
"compilation-version": {
|
||||
"c++": 2017
|
||||
},
|
||||
"dependency": [
|
||||
"etk",
|
||||
"audio",
|
||||
"webrtc",
|
||||
{
|
||||
"name": "speex-dsp",
|
||||
"optional": true,
|
||||
"export": true,
|
||||
"flag": {
|
||||
"c++": "-DHAVE_SPEEX_DSP"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
import realog.debug as debug
|
||||
import lutin.tools as tools
|
||||
|
||||
|
||||
def get_type():
|
||||
return "BINARY"
|
||||
|
||||
def get_sub_type():
|
||||
return "TEST"
|
||||
|
||||
def get_desc():
|
||||
return "test for speex ALGO"
|
||||
|
||||
def get_licence():
|
||||
return "MPL-2"
|
||||
|
||||
def get_compagny_type():
|
||||
return "com"
|
||||
|
||||
def get_compagny_name():
|
||||
return "atria-soft"
|
||||
|
||||
def get_maintainer():
|
||||
return "authors.txt"
|
||||
|
||||
def configure(target, my_module):
|
||||
my_module.add_src_file([
|
||||
'test/main.cpp'
|
||||
])
|
||||
my_module.add_depend([
|
||||
'audio-algo-speex',
|
||||
'test-debug'
|
||||
])
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,55 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
import realog.debug as debug
|
||||
import lutin.tools as tools
|
||||
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "speex algos wrapper"
|
||||
|
||||
def get_licence():
|
||||
return "MPL-2"
|
||||
|
||||
def get_compagny_type():
|
||||
return "com"
|
||||
|
||||
def get_compagny_name():
|
||||
return "atria-soft"
|
||||
|
||||
def get_maintainer():
|
||||
return "authors.txt"
|
||||
|
||||
def get_version():
|
||||
return "version.txt"
|
||||
|
||||
def configure(target, my_module):
|
||||
my_module.add_src_file([
|
||||
'audio/algo/speex/debug.cpp',
|
||||
'audio/algo/speex/Resampler.cpp',
|
||||
'audio/algo/speex/Aec.cpp',
|
||||
'audio/algo/speex/Vad.cpp',
|
||||
])
|
||||
my_module.add_header_file([
|
||||
'audio/algo/speex/Resampler.hpp',
|
||||
'audio/algo/speex/Aec.hpp',
|
||||
'audio/algo/speex/Vad.hpp',
|
||||
])
|
||||
my_module.add_depend([
|
||||
'etk',
|
||||
'audio',
|
||||
'webrtc',
|
||||
])
|
||||
my_module.add_optionnal_depend('speex-dsp', ["c++", "-DHAVE_SPEEX_DSP"])
|
||||
my_module.add_path(".")
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user