blob: 6dc06d6567a4aa0d5f038515c8ff5e1438bcb76c (
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) 2016 Alexander Golubev
# fatzer2 (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
install( DIRECTORY cards-aisleriot cards-dondorf-whist-b
cards-gdkcard-bonded cards-hard-a-port cards-penguins
cards-spaced cards-xskat-french cards-default decks
cards-konqi-modern cards-warwick cards-xskat-german
DESTINATION ${DATA_INSTALL_DIR}/carddecks
PATTERN *.desktop EXCLUDE
)
file( GLOB_RECURSE _desktops
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/*.desktop )
foreach( _desktop IN LISTS _desktops )
get_filename_component( _theme ${_desktop} PATH )
tde_create_translated_desktop(
SOURCE ${_desktop}
DESTINATION ${DATA_INSTALL_DIR}/carddecks/${_theme}
PO_DIR libtdegames-carddecks
)
endforeach()
|