Automatically set version of desktopthemes packages to KF5_VERSION

Summary:
Should ensure that on a new release any existing theme caches are updated
automatically.

Reviewers: #plasma, ltoscano, apol

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D21767
This commit is contained in:
Friedrich W. H. Kossebau 2019-06-12 15:22:37 +02:00
parent 52124c663e
commit eff37abdcb
10 changed files with 51 additions and 10 deletions

View File

@ -1,5 +1,13 @@
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/metadata.desktop.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
@ONLY
)
install(FILES colors metadata.desktop DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/air/)
install(
FILES colors "${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/air
)
FILE(GLOB widgets widgets/*.svg)
plasma_install_desktoptheme_svgs(air SUBPATH widgets FILES ${widgets})

View File

@ -94,7 +94,7 @@ Comment[zh_TW]=吸一口新鮮空氣
X-KDE-PluginInfo-Author=The Oxygen Project
X-KDE-PluginInfo-Email=kde-artists@kde.org
X-KDE-PluginInfo-Name=air
X-KDE-PluginInfo-Version=1.3
X-KDE-PluginInfo-Version=@KF5_VERSION@
X-KDE-PluginInfo-Website=https://plasma.kde.org
X-KDE-PluginInfo-Category=
X-KDE-PluginInfo-Depends=

View File

@ -1,3 +1,11 @@
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/metadata.desktop.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
@ONLY
)
install(FILES colors metadata.desktop DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-dark/)
install(
FILES colors "${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-dark
)

View File

@ -70,7 +70,7 @@ Comment[zh_TW]=由 KDE VDG 團隊製作的 Breeze Dark
X-KDE-PluginInfo-Author=KDE Visual Design Group
X-KDE-PluginInfo-Email=kde-artists@kde.org
X-KDE-PluginInfo-Name=breeze-dark
X-KDE-PluginInfo-Version=5.56
X-KDE-PluginInfo-Version=@KF5_VERSION@
X-KDE-PluginInfo-Website=https://plasma.kde.org
X-KDE-PluginInfo-Category=
X-KDE-PluginInfo-Depends=

View File

@ -1,3 +1,11 @@
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/metadata.desktop.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
@ONLY
)
install(FILES colors metadata.desktop DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-light/)
install(
FILES colors "${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-light
)

View File

@ -67,7 +67,7 @@ Comment[zh_TW]=由 KDE VDG 團隊製作的 Breeze Light
X-KDE-PluginInfo-Author=KDE Visual Design Group
X-KDE-PluginInfo-Email=kde-artists@kde.org
X-KDE-PluginInfo-Name=default
X-KDE-PluginInfo-Version=5.56
X-KDE-PluginInfo-Version=@KF5_VERSION@
X-KDE-PluginInfo-Website=https://plasma.kde.org
X-KDE-PluginInfo-Category=
X-KDE-PluginInfo-Depends=

View File

@ -1,5 +1,14 @@
install(FILES metadata.desktop DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/default/)
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/metadata.desktop.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
@ONLY
)
install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/default
)
FILE(GLOB widgets widgets/*.svg)
plasma_install_desktoptheme_svgs(default SUBPATH widgets FILES ${widgets})

View File

@ -70,7 +70,7 @@ Comment[zh_TW]=由 KDE VDG 團隊製作的 Breeze
X-KDE-PluginInfo-Author=KDE Visual Design Group
X-KDE-PluginInfo-Email=kde-artists@kde.org
X-KDE-PluginInfo-Name=default
X-KDE-PluginInfo-Version=5.56
X-KDE-PluginInfo-Version=@KF5_VERSION@
X-KDE-PluginInfo-Website=https://plasma.kde.org
X-KDE-PluginInfo-Category=
X-KDE-PluginInfo-Depends=

View File

@ -1,5 +1,13 @@
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/metadata.desktop.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
@ONLY
)
install(FILES colors metadata.desktop DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/oxygen/)
install(
FILES colors "${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/oxygen
)
FILE(GLOB widgets widgets/*.svg)
plasma_install_desktoptheme_svgs(oxygen SUBPATH widgets FILES ${widgets})

View File

@ -93,7 +93,7 @@ Comment[zh_TW]=以 Oxygen 樣式完成的外觀主題
X-KDE-PluginInfo-Author=The Oxygen Project
X-KDE-PluginInfo-Email=kde-artists@kde.org
X-KDE-PluginInfo-Name=oxygen
X-KDE-PluginInfo-Version=1.1
X-KDE-PluginInfo-Version=@KF5_VERSION@
X-KDE-PluginInfo-Website=https://plasma.kde.org
X-KDE-PluginInfo-Category=
X-KDE-PluginInfo-Depends=