SHA256
1
0
forked from pool/umbrello
umbrello/fix-appstream-install-1.patch
2017-03-26 17:54:20 +00:00

28 lines
1.2 KiB
Diff

From f1431eda6617dfc3ca2f37a994ef41f91f9cabad Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Sat, 25 Mar 2017 14:24:52 +0100
Subject: [PATCH] Fix 'KF5 version fails to install'.
org.kde.umbrello.appdata.xml is only installed by kf5 builds
which means there is no need to add a '5' postfix to the name.
BUG:378057
FIXED-IN:2.21.80 (KDE Applications 17.03.80)
---
umbrello/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/umbrello/CMakeLists.txt b/umbrello/CMakeLists.txt
index 97d55f4..057b3d6 100644
--- a/umbrello/CMakeLists.txt
+++ b/umbrello/CMakeLists.txt
@@ -600,7 +600,7 @@ 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.umbrello5.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
+ install(FILES org.kde.umbrello.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
endif()
install( FILES