summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-22 16:15:08 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-22 16:15:08 +0100
commitbdbe925a467f9b7149322ad8d1c090d4c1e6d5c3 (patch)
tree007f81fe339a08e11afea6b567b79d75a11ad41f /wscript
parenta9370ddf1d55ca01307c086950d2294611d9e6a6 (diff)
Use uchardet to guess encoding of subtitle files and reject non-UTF-8.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript b/wscript
index 3e84dcac5..150e9cb16 100644
--- a/wscript
+++ b/wscript
@@ -159,6 +159,8 @@ def configure(conf):
else:
conf.check_cfg(package='libcurl', args='--cflags --libs', uselib_store='CURL', mandatory=True)
+ # uchardet
+ conf.check_cfg(package='uchardet', args='--cflags --libs', uselib_store='UCHARDET', mandatory=True)
# libsndfile
conf.check_cfg(package='sndfile', args='--cflags --libs', uselib_store='SNDFILE', mandatory=True)