Commit 70aa7cf7 authored by Ralf Habacker's avatar Ralf Habacker

Fix 'org.kde.umbrello.appdata.xml specifies wrong binary name'.

The binary of umbrello for kf5 builds is named 'umbrello5'.

BUG:378064
FIXED-IN:2.21.90 (KDE Applications 17.03.90)
parent f1431eda
......@@ -600,7 +600,10 @@ else()
string(REPLACE "-caption" "-qwindowtitle" UMBRELLO_DESKTOP_OUT "${UMBRELLO_DESKTOP}")
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/umbrello.desktop "${UMBRELLO_DESKTOP_OUT}")
install( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/umbrello.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} RENAME org.kde.umbrello5.desktop)
install(FILES org.kde.umbrello.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
file(READ org.kde.umbrello.appdata.xml UMBRELLO_APPDATA)
string(REPLACE "<binary>umbrello</binary>" "<binary>umbrello5</binary>" UMBRELLO_APPDATA_OUT "${UMBRELLO_APPDATA}")
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/org.kde.umbrello.appdata.xml "${UMBRELLO_APPDATA_OUT}")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.umbrello.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
endif()
install( FILES
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment