blob: bf0475400e0db456237de9643fad8555db294520 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# (C) 2020 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
file( GLOB _patterns RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png *.jpg )
list( SORT _patterns )
foreach( _pattern IN LISTS _patterns )
get_filename_component( _pattern_name ${_pattern} NAME_WE )
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_pattern_name}.desktop )
install(
FILES ${_pattern}
DESTINATION ${DATA_INSTALL_DIR}/kdesktop/patterns
)
tde_create_translated_desktop(
SOURCE ${_pattern_name}.desktop
DESTINATION ${DATA_INSTALL_DIR}/kdesktop/patterns
PO_DIR kdesktop-desktops
)
endif()
endforeach()
|