Package list fcitx-table-extra / debian/0.3.8-1 icons / CMakeLists.txt
debian/0.3.8-1

Tree @debian/0.3.8-1 (Download .tar.gz)

CMakeLists.txt @debian/0.3.8-1raw · history · blame

set(ICON48
  fcitx-cantonese.png fcitx-cantonhk.png fcitx-jyutping.png fcitx-quick3.png
  fcitx-quick5.png fcitx-quick-classic.png fcitx-scj6.png fcitx-stroke5.png
  fcitx-wu.png)
set(ICON64
  fcitx-t9.png fcitx-boshiamy.png fcitx-easy-big.png fcitx-array30.png
  fcitx-array30-big.png fcitx-zhengma.png)

install(FILES
    ${ICON64}
    DESTINATION share/icons/hicolor/64x64/apps)

install(FILES
    ${ICON48}
    DESTINATION share/icons/hicolor/48x48/apps)

foreach(icon ${ICON48} ${ICON64})
    string(REPLACE "fcitx-" "" icon_new ${icon})
    install(FILES ${icon} RENAME ${icon_new} DESTINATION share/fcitx/imicon)
endforeach()