diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-27 01:36:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-27 01:36:47 +0100 |
| commit | 267e21bfb78593bcb87eb24ce01b88d0859566f7 (patch) | |
| tree | eb716ee81a8eea4c1519e46fed93370fe24285c6 /wscript | |
| parent | bf38748add4653a214724f49d55890dae1ce2361 (diff) | |
| parent | 0fa64650da252ce29389b62e5c40f32096dc9c4b (diff) | |
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -26,7 +26,7 @@ import distutils.spawn from waflib import Logs APPNAME = 'dcpomatic' -VERSION = '2.3.5devel' +VERSION = '2.3.6devel' def options(opt): opt.load('compiler_cxx') @@ -159,6 +159,22 @@ def configure(conf): else: conf.check_cfg(package='libcurl', args='--cflags --libs', uselib_store='CURL', mandatory=True) + # libicu + if conf.check_cfg(package='icu-i18n', args='--cflags --libs', uselib_store='ICU', mandatory=False) is None: + if conf.check_cfg(package='icu', args='--cflags --libs', uselib_store='ICU', mandatory=False) is None: + conf.check_cxx(fragment=""" + #include <unicode/ucsdet.h> + int main(void) { + UErrorCode status = U_ZERO_ERROR; + UCharsetDetector* detector = ucsdet_open (&status); + return 0; }\n + """, + mandatory=True, + msg='Checking for libicu', + okmsg='yes', + libpath=['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu'], + lib=['icuio', 'icui18n', 'icudata', 'icuuc'], + uselib_store='ICU') # libsndfile conf.check_cfg(package='sndfile', args='--cflags --libs', uselib_store='SNDFILE', mandatory=True) |
