summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-08-02 00:12:36 +0200
committerwm4 <wm4@nowhere>2015-08-02 00:12:36 +0200
commit920cf8971e578cfcf8838e454d15bdd2c12ab724 (patch)
treee66cba3af4efadc75f552e617b5f6d65efff6545 /wscript
parenta74914a05762f03422b492c8d3b2f9e35840708f (diff)
downloadmpv-920cf8971e578cfcf8838e454d15bdd2c12ab724.tar.bz2
mpv-920cf8971e578cfcf8838e454d15bdd2c12ab724.tar.xz
build: make charset detectors dependent on iconv and group them
Diffstat (limited to 'wscript')
-rw-r--r--wscript15
1 files changed, 11 insertions, 4 deletions
diff --git a/wscript b/wscript
index 11a10a04b7..f6d5b6c194 100644
--- a/wscript
+++ b/wscript
@@ -277,10 +277,6 @@ iconv support use --disable-iconv.",
'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',
'deps': [ 'libdl' ],
@@ -339,8 +335,19 @@ 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',
'func': check_statement('ladspa.h', 'LADSPA_Descriptor ld = {0}'),