diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-08 09:52:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-09 13:45:04 +0100 |
| commit | c314f25178bd32120dfc64ec72a7a94a32b1b7b0 (patch) | |
| tree | 63c327e78fea9dcc2b03272c86f30f31647c5ede /graphics/wscript | |
| parent | a6c709878735820af75ad887084f615fd3b8249d (diff) | |
Graphics rearrangement and probably breakage.
Diffstat (limited to 'graphics/wscript')
| -rw-r--r-- | graphics/wscript | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/graphics/wscript b/graphics/wscript index 54b123379..88e11124f 100644 --- a/graphics/wscript +++ b/graphics/wscript @@ -16,7 +16,16 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # +import os + def build(bld): - for r in [16, 22, 32, 48, 64, 128, 256, 512]: - bld(rule='inkscape -C -z -e ${TGT} -w %d -h %d -D ${SRC}' % (r, r), source='dcpomatic2.svg', target='%d/dcpomatic2.png' % r) - bld.install_files('${PREFIX}/share/icons/hicolor/%dx%d/apps' % (r, r), '../build/graphics/%d/dcpomatic2.png' % r) + # Linux application icons + if bld.env.TARGET_LINUX: + for r in [16, 22, 32, 48, 64, 128, 256, 512]: + for p in ['dcpomatic2', 'dcpomatic2_kdm', 'dcpomatic2_server', 'dcpomatic2_batch']: + bld.install_files('${PREFIX}/share/icons/hicolor/%dx%d/apps' % (r, r), '%d/%s.png' % (r, p)) + + # Install stuff for POSIX systems + if not bld.env.TARGET_WINDOWS: + bld.install_files('${PREFIX}/share/dcpomatic2', 'dcpomatic2_server_small.png') + bld.install_files('${PREFIX}/share/dcpomatic2', 'splash.png') |
