diff options
author | David Robillard <d@drobilla.net> | 2015-04-04 03:06:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-04-04 03:06:14 +0000 |
commit | d23e4b81202da7221f4495c02bd43ddec1f9500b (patch) | |
tree | ea19ff237714fef88364d3dbc95b07962379af30 /wscript | |
parent | eea6bae4ddde37cda9088b133cc495df9f6d24fd (diff) | |
download | ingen-d23e4b81202da7221f4495c02bd43ddec1f9500b.tar.gz ingen-d23e4b81202da7221f4495c02bd43ddec1f9500b.tar.bz2 ingen-d23e4b81202da7221f4495c02bd43ddec1f9500b.zip |
Tweak icon and install full complement of sizes.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5655 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -224,11 +224,17 @@ def build(bld): bld.install_files('${MANDIR}/man1', 'doc/ingen.1') # Icons - icon_sizes = ['16x16', '22x22', '24x24', '32x32', '48x48'] + icon_dir = os.path.join(bld.env.DATADIR, 'icons', 'hicolor') + icon_sizes = [16, 22, 24, 32, 48, 64, 128, 256, 512] for s in icon_sizes: + d = '%dx%d' % (s, s) bld.install_as( - os.path.join(bld.env.DATADIR, 'icons', 'hicolor', s, 'apps', 'ingen.png'), - 'icons/' + s + '/ingen.png') + os.path.join(icon_dir, d, 'apps', 'ingen.png'), + os.path.join('icons', d, 'ingen.png')) + + bld.install_as( + os.path.join(icon_dir, 'scalable', 'apps', 'ingen.svg'), + os.path.join('icons', 'scalable', 'ingen.svg')) bld.install_files('${LV2DIR}/ingen.lv2/', bld.path.ant_glob('bundles/ingen.lv2/*')) |