2 set(iconthemes kdeclassic )
4 set(typeIcons actions animations apps categories devices emblems emotes intl mimetypes places status)
6 set(sizeIcon 8x8 11x11 16x16 22x22 24x24 32x32 48x48 64x64 128x128 scalable)
10 foreach (_currentthemedir ${iconthemes})
11 install(FILES ${_currentthemedir}/index.theme DESTINATION ${ICON_INSTALL_DIR}/${_currentthemedir} )
13 foreach(_currentsize ${sizeIcon})
15 foreach(_currenttypeicon ${typeIcons})
16 FILE(GLOB _pngfile "${_currentthemedir}/${_currentsize}/${_currenttypeicon}/*.png" )
17 install(FILES ${_pngfile} DESTINATION ${ICON_INSTALL_DIR}/${_currentthemedir}/${_currentsize}/${_currenttypeicon})
18 FILE(GLOB _mngfile "${_currentthemedir}/${_currentsize}/${_currenttypeicon}/*.mng")
19 install(FILES ${_mngfile} DESTINATION ${ICON_INSTALL_DIR}/${_currentthemedir}/${_currentsize}/${_currenttypeicon})
20 FILE(GLOB _svgfile "${_currentthemedir}/${_currentsize}/${_currenttypeicon}/*.svg")
21 install(FILES ${_svgfile} DESTINATION ${ICON_INSTALL_DIR}/${_currentthemedir}/${_currentsize}/${_currenttypeicon})
22 FILE(GLOB _svgzfile "${_currentthemedir}/${_currentsize}/${_currenttypeicon}/*.svgz")
23 install(FILES ${_svgzfile} DESTINATION ${ICON_INSTALL_DIR}/${_currentthemedir}/${_currentsize}/${_currenttypeicon})
25 #foreach(_currentkdedir ${kdedir})
26 # FILE(GLOB _kdeicons "*.png
27 #endforeach(_currentkdedir ${kdedir})
28 endforeach(_currenttypeicon ${typeIcons})
30 endforeach(_currentsize ${sizeIcon})
32 endforeach(_currentthemedir ${iconthemes})