X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=169e462579db96ad11f3530cbbdfa676569e596e;hb=92cafb6fc686a041354da2eabde6bcb2f6846e1d;hp=ebdfa2290f0a26bc04ba09c267b5e78404e2dcc0;hpb=9525e7726e4d488f193957d4fcf1cc1725581ae8;p=dcpomatic.git diff --git a/wscript b/wscript index ebdfa2290..169e46257 100644 --- a/wscript +++ b/wscript @@ -55,7 +55,7 @@ def configure(conf): conf.env.append_value('CXXFLAGS', '-O2') if not conf.options.static: - conf.check_cfg(package = 'libdcp', atleast_version = '0.45', args = '--cflags --libs', uselib_store = 'DCP', mandatory = True) + conf.check_cfg(package = 'libdcp', atleast_version = '0.49', args = '--cflags --libs', uselib_store = 'DCP', mandatory = True) conf.check_cfg(package = 'libcxml', atleast_version = '0.01', args = '--cflags --libs', uselib_store = 'CXML', mandatory = True) conf.check_cfg(package = 'libavformat', args = '--cflags --libs', uselib_store = 'AVFORMAT', mandatory = True) conf.check_cfg(package = 'libavfilter', args = '--cflags --libs', uselib_store = 'AVFILTER', mandatory = True) @@ -232,7 +232,13 @@ def build(bld): obj.target = 'dcpomatic.desktop' obj.dict = d - bld.install_files('${PREFIX}/share/applications', 'dcpomatic.desktop') + obj = bld(features = 'subst') + obj.source = 'dcpomatic_batch.desktop.in' + obj.target = 'dcpomatic_batch.desktop' + obj.dict = d + + bld.install_files('${PREFIX}/share/applications', ['dcpomatic.desktop', 'dcpomatic_batch.desktop']) + for r in ['22x22', '32x32', '48x48', '64x64', '128x128']: bld.install_files('${PREFIX}/share/icons/hicolor/%s/apps' % r, 'icons/%s/dcpomatic.png' % r)