[DEV] integrate GLD

This commit is contained in:
Edouard DUPIN 2021-12-15 22:42:43 +01:00
parent aeac233d9a
commit 7345d3ecc0
5 changed files with 70 additions and 99 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
__pycache__
.bck
out
target
build
###################################
# folders

View 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
View 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"
}
}
]
}

View File

@ -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

View File

@ -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