zeus/tools/player-video/lutin_zeus-player-video.py
2017-04-25 23:28:43 +02:00

68 lines
1.4 KiB
Python

#!/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',
'appl/MediaDecoder.cpp',
'appl/widget/VideoPlayer.cpp',
'appl/widget/ListViewer.cpp',
'appl/ClientProperty.cpp',
'appl/widget/Connection.cpp',
'appl/widget/Player.cpp',
'appl/widget/ProgressBar.cpp',
'appl/widget/VolumeBar.cpp',
'appl/widget/UpBar.cpp',
])
my_module.add_depend([
'ffmpeg-libs',
'ewol',
'audio-river',
'zeus',
'zeus-service-video',
'ejson',
])
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+ my_module.get_name()+"\\\"\"",
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(my_module.get_version()) + "\\\"\"",
"-Wno-deprecated-declarations"
])
my_module.copy_path('data/*')
my_module.add_path(".")
my_module.add_pkg("RIGHT", "SET_ORIENTATION")
my_module.add_pkg("RIGHT", "VIBRATE")
my_module.add_pkg("RIGHT", "INTERNET")
return True