summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-04-04 03:06:14 +0000
committerDavid Robillard <d@drobilla.net>2015-04-04 03:06:14 +0000
commitd23e4b81202da7221f4495c02bd43ddec1f9500b (patch)
treeea19ff237714fef88364d3dbc95b07962379af30 /wscript
parenteea6bae4ddde37cda9088b133cc495df9f6d24fd (diff)
downloadingen-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--wscript12
1 files changed, 9 insertions, 3 deletions
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/*'))