Fix duplicate rule for noisicaa.svg icon.

main
Ben Niemann 2021-12-31 00:10:45 +01:00
parent beaa46d9ec
commit 10ac9eabe7
1 changed files with 2 additions and 3 deletions

View File

@ -32,9 +32,8 @@ def build(ctx):
# Install the app icon in /usr/share/icons.
# https://specifications.freedesktop.org/icon-theme-spec/latest/index.html
ctx.static_file(
'noisicaa.svg',
install_as='${PREFIX}/share/icons/hicolor/scalable/apps/noisicaa.svg')
ctx.install_as(
'${PREFIX}/share/icons/hicolor/scalable/apps/de.odahoda.noisicaa.svg', 'noisicaa.svg')
for w in (16, 22, 32, 48, 64, 128, 256):
s = '%dx%d' % (w, w)
png = ctx.path.find_or_declare('noisicaa-%s.png' % s)