2012-01-10 08:06:09 +01:00
|
|
|
# -*- python -*-
|
|
|
|
|
##
|
|
|
|
|
## SConscript - SCons buildscript for Icons and Resources
|
|
|
|
|
##
|
|
|
|
|
|
|
|
|
|
from Buildhelper import scanSubtree
|
|
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# define Icons to render and install
|
|
|
|
|
vector_icon_dir = 'icons/svg'
|
|
|
|
|
prerendered_icon_dir = 'icons/prerendered'
|
|
|
|
|
|
|
|
|
|
icons = ( [env.IconRender(f) for f in scanSubtree(vector_icon_dir, ['*.svg'])]
|
|
|
|
|
+ [env.IconResource(f) for f in scanSubtree(prerendered_icon_dir, ['*.png'])]
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
#define Configuration files to install (dir-prefix, name)
|
|
|
|
|
config = ( env.ConfigData('config','setup.ini', targetDir='$ORIGIN')
|
|
|
|
|
+ env.ConfigData('config','dummy_lumiera.ini')
|
|
|
|
|
)
|
|
|
|
|
|
2025-11-20 22:55:38 +01:00
|
|
|
#further resources...
|
|
|
|
|
env.Install('$SHARE/applications/' , 'desktop/lumiera.desktop')
|
|
|
|
|
env.Install('$SHARE/icons/hicolor/scalable/apps/', 'desktop/lumiera.svg')
|
|
|
|
|
|
2012-01-10 08:06:09 +01:00
|
|
|
|
|
|
|
|
Export('icons config')
|