47 lines
926 B
Python
47 lines
926 B
Python
#!/usr/bin/python
|
|
import lutin.module as module
|
|
import lutin.tools as tools
|
|
import lutin.debug as debug
|
|
import os
|
|
|
|
def get_type():
|
|
return "LIBRARY"
|
|
|
|
def get_desc():
|
|
return "FFMPEG library"
|
|
|
|
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"
|
|
|
|
# create the module
|
|
# @param[in] target reference on the Target that is currently build
|
|
# @param[in] module_name Name of the module that is extract from the file name (to be generic)
|
|
def create(target, module_name):
|
|
my_module = module.Module(__file__, module_name, get_type())
|
|
|
|
# or other user lib:
|
|
my_module.add_depend([
|
|
'ffmpeg-avcodec',
|
|
'ffmpeg-avfilter',
|
|
'ffmpeg-avswresample',
|
|
'ffmpeg-avutil',
|
|
'ffmpeg-avdevice',
|
|
'ffmpeg-avformat',
|
|
'ffmpeg-avswscale',
|
|
])
|
|
|
|
return my_module
|
|
|