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.
kf5-kpackage/kpackage-5.25.0-kpackagetoo...

12 lines
916 B

diff -up kpackage-5.25.0/KF5PackageMacros.cmake.kpackagetool_status kpackage-5.25.0/KF5PackageMacros.cmake
--- kpackage-5.25.0/KF5PackageMacros.cmake.kpackagetool_status 2016-08-25 12:33:10.905224242 -0500
+++ kpackage-5.25.0/KF5PackageMacros.cmake 2016-08-25 12:28:02.826077416 -0500
@@ -40,6 +40,7 @@ function(kpackage_install_package dir co
get_target_property(kpackagetool_cmd KF5::kpackagetool5 LOCATION)
set(APPDATAFILE "${CMAKE_CURRENT_BINARY_DIR}/${component}.appdata.xml")
+ message(STATUS "${kpackagetool_cmd} --appstream-metainfo ${CMAKE_CURRENT_SOURCE_DIR}/${dir} OUTPUT_FILE ${APPDATAFILE}")
execute_process(COMMAND ${kpackagetool_cmd} --appstream-metainfo ${CMAKE_CURRENT_SOURCE_DIR}/${dir} OUTPUT_FILE ${APPDATAFILE} ERROR_VARIABLE appstreamerror RESULT_VARIABLE result)
if(appstreamerror)
message(WARNING "couldn't generate metainfo for ${component}: ${appstreamerror}")