zeus/tools/player-video/lutin_zeus-player-video.py

62 lines
1.3 KiB
Python
Raw Normal View History

#!/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',
'appl/widget/VideoPlayer.cpp',
2016-12-29 21:27:03 +01:00
'appl/widget/ListViewer.cpp',
'appl/ClientProperty.cpp',
'appl/widget/Connection.cpp',
'appl/widget/Player.cpp',
'appl/widget/ProgressBar.cpp',
2017-04-13 23:42:00 +02:00
'appl/widget/VolumeBar.cpp',
])
my_module.add_depend([
'ffmpeg-libs',
'ewol',
2016-12-29 21:27:03 +01:00
'audio-river',
'zeus',
'zeus-service-video',
'ejson',
])
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/*')
my_module.add_path(".")
return True