1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-29 19:22:48 +00:00

build: make charset detectors dependent on iconv and group them

This commit is contained in:
wm4 2015-08-02 00:12:36 +02:00
parent a74914a057
commit 920cf8971e

15
wscript
View File

@ -276,10 +276,6 @@ iconv support use --disable-iconv.",
'deps': [ 'os-linux' ],
'func': check_statement('sys/vfs.h',
'struct statfs fs; fstatfs(0, &fs); fs.f_namelen')
}, {
'name': '--libguess',
'desc': 'libguess support',
'func': check_pkg_config('libguess', '>= 1.0'),
}, {
'name': '--libsmbclient',
'desc': 'Samba support',
@ -339,7 +335,18 @@ iconv support use --disable-iconv.",
}, {
'name': '--enca',
'desc': 'ENCA support',
'deps': [ 'iconv' ],
'func': check_statement('enca.h', 'enca_get_languages(NULL)', lib='enca'),
}, {
'name': '--libguess',
'desc': 'libguess support',
'deps': [ 'iconv' ],
'func': check_pkg_config('libguess', '>= 1.0'),
}, {
'name': '--uchardet',
'desc': 'uchardet support',
'deps': [ 'iconv' ],
'func': check_pkg_config('uchardet'),
}, {
'name': '--ladspa',
'desc': 'LADSPA plugin support',