2016-09-21 21:52:32 +02:00
|
|
|
#!/usr/bin/python
|
|
|
|
import lutin.tools as tools
|
2019-05-03 10:18:23 +02:00
|
|
|
import realog.debug as debug
|
2016-09-21 21:52:32 +02:00
|
|
|
import os
|
2016-10-10 22:02:01 +02:00
|
|
|
import lutinLib_ffmpegCommon
|
2016-09-21 21:52:32 +02:00
|
|
|
|
|
|
|
def get_type():
|
|
|
|
#return "BINARY_SHARED"
|
|
|
|
return "BINARY"
|
|
|
|
|
|
|
|
def get_desc():
|
|
|
|
return "FFMPEG main application"
|
|
|
|
|
|
|
|
def get_licence():
|
|
|
|
return "LGPL-2.1"
|
|
|
|
|
|
|
|
def get_compagny_type():
|
|
|
|
return "org"
|
|
|
|
|
|
|
|
def get_compagny_name():
|
|
|
|
return "ffmpeg"
|
|
|
|
|
|
|
|
def get_maintainer():
|
|
|
|
return "authors.txt"
|
|
|
|
|
|
|
|
def get_version():
|
|
|
|
return "version.txt"
|
|
|
|
|
2016-10-04 23:41:29 +02:00
|
|
|
def configure(target, my_module):
|
2017-10-21 23:18:56 +02:00
|
|
|
return False
|
2016-10-10 22:02:01 +02:00
|
|
|
if "Linux" not in target.get_type():
|
|
|
|
return False
|
2016-09-21 21:52:32 +02:00
|
|
|
# add the file to compile:
|
|
|
|
my_module.add_src_file([
|
|
|
|
'ffmpeg/ffplay.c',
|
|
|
|
'ffmpeg/cmdutils.c',
|
|
|
|
])
|
2016-10-04 23:41:29 +02:00
|
|
|
my_module.add_path("ffmpeg")
|
2016-10-10 22:02:01 +02:00
|
|
|
lutinLib_ffmpegCommon.add_generate_path(target, my_module)
|
2016-09-21 21:52:32 +02:00
|
|
|
my_module.add_depend([
|
|
|
|
'ffmpeg-libs',
|
|
|
|
'va',
|
|
|
|
'SDL',
|
|
|
|
])
|
2016-10-07 21:15:46 +02:00
|
|
|
return True
|
2016-09-21 21:52:32 +02:00
|
|
|
|
|
|
|
|