~cypheon/elfelli

ref: 470e2ab5d1ada9013e3c7ee040469a4b4bbd4cc8 elfelli/data/SConscript -rw-r--r-- 744 bytes
470e2ab5 — Johann Rudloff Add link to website to "About" dialog. 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- Python -*-

Import('env')

data_files = ['elfelli-logo.svg',
              'negative.svg',
              'positive.svg',
              'negative-plate.svg',
              'positive-plate.svg',
              'ui.xml']

env.Install(env['destdir']+env['datadir'], data_files)

env.Install(env['destdir']+env['xdg_datadir']+'/applications', 'elfelli.desktop')

if env['build_icons']:
    env.Command('elfelli_48.png', 'elfelli-logo.svg', 'rsvg -w 48 -h 48 -f png $SOURCE $TARGET')
    env.Alias('icons', 'elfelli_48.png')

env.InstallAs(env['destdir']+env['xdg_datadir']+'/icons/hicolor/scalable/apps/elfelli.svg', 'elfelli-logo.svg')
env.InstallAs(env['destdir']+env['xdg_datadir']+'/icons/hicolor/48x48/apps/elfelli.png', 'elfelli_48.png')