From d23e4b81202da7221f4495c02bd43ddec1f9500b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Apr 2015 03:06:14 +0000 Subject: Tweak icon and install full complement of sizes. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5655 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 722bd192..66cfe0e4 100644 --- a/wscript +++ b/wscript @@ -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/*')) -- cgit v1.2.1