Warning, /games/klines/themes/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2024 Friedrich W. H. Kossebau <kossebau@kde.org> 0002 # 0003 # SPDX-License-Identifier: BSD-3-Clause 0004 0005 function(install_theme name) 0006 cmake_parse_arguments(ARG "" "SVG;PREVIEW" "" ${ARGN}) 0007 if (NOT ARG_SVG) 0008 set(ARG_SVG "${name}.svg") 0009 endif() 0010 if (NOT ARG_PREVIEW) 0011 set(ARG_PREVIEW "${name}.png") 0012 endif() 0013 set(svgz "${CMAKE_CURRENT_BINARY_DIR}/${ARG_SVG}z") 0014 generate_svgz(${ARG_SVG} ${svgz} "theme-") 0015 install( 0016 FILES 0017 ${name}.desktop 0018 ${ARG_PREVIEW} 0019 ${svgz} 0020 DESTINATION ${KDE_INSTALL_DATADIR}/klines/themes 0021 ) 0022 endfunction() 0023 0024 install_theme(metal) 0025 install_theme(crystal SVG klines_crystal.svg) 0026 install_theme(klines-gems) 0027 install_theme(egyptian) 0028 install_theme(pool)