webp-lutin/lutin_webp-cwebp.py

76 lines
1.1 KiB
Python
Raw Permalink Normal View History

2018-05-02 23:58:34 +02:00
#!/usr/bin/python
2019-05-03 10:18:23 +02:00
import realog.debug as debug
2018-05-02 23:58:34 +02:00
import lutin.tools as tools
import os
def get_type():
return "BINARY"
def get_desc():
return "webp-cwebp library"
#def get_licence():
# return "UNKNOW"
def get_compagny_type():
return "org"
def get_compagny_name():
return "webp"
#def get_maintainer():
# return "UNKNOW"
def get_version():
return "version.txt"
def configure(target, my_module):
my_module.add_src_file([
'webp/examples/cwebp.c',
])
my_module.add_header_file([
'webp/examples/*.h',
], clip_path='webp')
my_module.add_path([
'webp/examples',
'webp/build/src/',
'webp/src/',
], export=False)
my_module.add_flag('c', [
'-DHAVE_CONFIG_H',
'-DNDEBUG',
])
my_module.add_flag('link', [
'-DNDEBUG',
])
my_module.add_flag('c', [
'-Wall',
])
my_module.add_depend([
'cxx',
'webp-exampleutil',
'webp-imagedec',
'webp-webp',
'webp-imageioutil',
'webp-webpdemux',
'pthread',
'm',
'png',
'z',
'jpeg',
'tiff',
])
return True