You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
825 B
31 lines
825 B
#################################################
|
|
#
|
|
# (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 ${CMAKE_SOURCE_DIR}/translations/desktop_files/wallpapers-desktops
|
|
)
|
|
endif()
|
|
endforeach()
|