blob: 592cc1c32218967d4e240e4754a2a644b610825f (
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
|
#################################################
#
# (C) 2011 Golubev Alexander
# fatzer2 (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 _wallpapers RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.jpg *.png *.svg *.svgz )
list( SORT _wallpapers)
foreach( _wallpaper IN LISTS _wallpapers )
install(
FILES ${_wallpaper}
DESTINATION ${WALLPAPER_INSTALL_DIR}
)
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_wallpaper}.desktop )
tde_create_translated_desktop(
SOURCE ${_wallpaper}.desktop
DESTINATION ${WALLPAPER_INSTALL_DIR}
PO_DIR wallpapers-desktops
)
endif()
endforeach()
|