2016-11-15 21:44:11 +01:00
|
|
|
#!/usr/bin/python
|
|
|
|
import lutin.tools as tools
|
|
|
|
import lutin.debug as debug
|
|
|
|
import os
|
|
|
|
import lutinLib_ffmpegCommon
|
|
|
|
|
|
|
|
def get_type():
|
|
|
|
#return "BINARY_SHARED"
|
|
|
|
return "BINARY"
|
|
|
|
|
|
|
|
def get_desc():
|
|
|
|
return "FFMPEG main application"
|
|
|
|
|
|
|
|
def get_licence():
|
|
|
|
return "GPL-3"
|
|
|
|
|
|
|
|
def get_compagny_type():
|
|
|
|
return "org"
|
|
|
|
|
|
|
|
def get_compagny_name():
|
|
|
|
return "atria-soft"
|
|
|
|
|
|
|
|
def get_maintainer():
|
|
|
|
return "authors.txt"
|
|
|
|
|
|
|
|
def get_version():
|
|
|
|
return "version.txt"
|
|
|
|
|
|
|
|
def configure(target, my_module):
|
|
|
|
# add the file to compile:
|
|
|
|
my_module.add_src_file([
|
|
|
|
'appl/debug.cpp',
|
|
|
|
'appl/Main.cpp',
|
|
|
|
'appl/Windows.cpp',
|
2016-11-17 22:38:37 +01:00
|
|
|
'appl/MediaDecoder.cpp',
|
2016-11-15 21:44:11 +01:00
|
|
|
'appl/widget/VideoPlayer.cpp',
|
2016-12-29 21:27:03 +01:00
|
|
|
'appl/widget/ListViewer.cpp',
|
2017-02-07 21:35:58 +01:00
|
|
|
'appl/ClientProperty.cpp',
|
|
|
|
'appl/widget/Connection.cpp',
|
2017-02-15 21:04:13 +01:00
|
|
|
'appl/widget/Player.cpp',
|
2017-03-27 21:16:52 +02:00
|
|
|
'appl/widget/ProgressBar.cpp',
|
2016-11-15 21:44:11 +01:00
|
|
|
])
|
|
|
|
my_module.add_depend([
|
|
|
|
'ffmpeg-libs',
|
2016-11-16 21:24:22 +01:00
|
|
|
'ewol',
|
2016-12-29 21:27:03 +01:00
|
|
|
'audio-river',
|
|
|
|
'zeus',
|
|
|
|
'zeus-service-video',
|
|
|
|
'ejson',
|
2016-11-15 21:44:11 +01:00
|
|
|
])
|
|
|
|
my_module.add_flag('c++', [
|
|
|
|
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\"",
|
|
|
|
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\"",
|
|
|
|
"-Wno-deprecated-declarations"
|
|
|
|
])
|
2016-12-29 21:27:03 +01:00
|
|
|
my_module.copy_path('data/*')
|
2016-11-15 21:44:11 +01:00
|
|
|
my_module.add_path(".")
|
|
|
|
return True
|
|
|
|
|
|
|
|
|