X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=86e2d549e0dbe91af832f10f43db651d64cf32e0;hb=c7a9dcc268625d9f9c09f36c37565ce1b74e06a7;hp=1a3aed89611ba7c68a44fd00e6588b742296d555;hpb=e2d2088d02ab75da7a88ca80b84980ee67c9ec1f;p=dcpomatic.git diff --git a/wscript b/wscript index 1a3aed896..86e2d549e 100644 --- a/wscript +++ b/wscript @@ -26,7 +26,7 @@ import distutils.spawn from waflib import Logs APPNAME = 'dcpomatic' -VERSION = '2.1.35' +VERSION = '2.1.50' def options(opt): opt.load('compiler_cxx') @@ -75,7 +75,6 @@ def configure(conf): '-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS', '-msse', - '-ffast-math', '-fno-strict-aliasing', '-Wall', '-Wno-attributes', @@ -184,6 +183,9 @@ def configure(conf): # libzip conf.check_cfg(package='libzip', args='--cflags --libs', uselib_store='ZIP', mandatory=True) + # fontconfig + conf.check_cfg(package='fontconfig', args='--cflags --libs', uselib_store='FONTCONFIG', mandatory=True) + # pangomm conf.check_cfg(package='pangomm-1.4', args='--cflags --libs', uselib_store='PANGOMM', mandatory=True) @@ -277,7 +279,7 @@ def configure(conf): conf.env['LIB_%s' % name.upper()] = libs conf.env['STLIB_%s' % name.upper()] = stlibs - conf.env['INCLUDE_%s' % name.upper()] = include + conf.env['INCLUDES_%s' % name.upper()] = include conf.env['LIBPATH_%s' % name.upper()] = libpath else: conf.check_cfg(package='libavformat', args='--cflags --libs', uselib_store='AVFORMAT', mandatory=True) @@ -410,10 +412,11 @@ def build(bld): bld.recurse('platform/osx') for r in ['22x22', '32x32', '48x48', '64x64', '128x128']: - bld.install_files('${PREFIX}/share/icons/hicolor/%s/apps' % r, 'icons/%s/dcpomatic2.png' % r) + bld.install_files('${PREFIX}/share/icons/hicolor/%s/apps' % r, 'graphics/%s/dcpomatic2.png' % r) if not bld.env.TARGET_WINDOWS: - bld.install_files('${PREFIX}/share/dcpomatic2', 'icons/taskbar_icon.png') + bld.install_files('${PREFIX}/share/dcpomatic2', 'graphics/taskbar_icon.png') + bld.install_files('${PREFIX}/share/dcpomatic2', 'graphics/splash.png') bld.install_files('${PREFIX}/share/dcpomatic2', 'LiberationSans-Regular.ttf') bld.add_post_fun(post)