Commit 92077833 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Templates: for appdata use metainfo.xml extension, add <launchable>

parent 8dee99fa
Pipeline #229571 passed with stage
in 1 minute and 14 seconds
......@@ -15,4 +15,4 @@ target_link_libraries(%{APPNAMELC}
install( TARGETS %{APPNAMELC} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
install( PROGRAMS org.example.%{APPNAMELC}.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES org.example.%{APPNAMELC}.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
install( FILES org.example.%{APPNAMELC}.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<id>org.example.%{APPNAMELC}.desktop</id>
<id>org.example.%{APPNAMELC}</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license> https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-metadata_license </project_license>
<name>%{APPNAME}</name>
......@@ -19,11 +19,6 @@
<provides>
<binary>%{APPNAMELC}</binary>
</provides>
<launchable type="desktop-id">org.example.%{APPNAMELC}.desktop</launchable>
<project_group>KDE</project_group>
<releases>
<release version="0.1.22081" date="2022-09-08"/>
<release version="0.1.22080" date="2022-08-18"/>
<release version="0.1.22043" date="2022-07-07"/>
<release version="0.1.22042" date="2022-06-09"/>
</releases>
</component>
......@@ -29,5 +29,5 @@ target_link_libraries(%{APPNAMELC}
install(TARGETS %{APPNAMELC} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS org.example.%{APPNAMELC}.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.example.%{APPNAMELC}.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES org.example.%{APPNAMELC}.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES %{APPNAMELC}ui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/%{APPNAMELC})
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<id>org.example.%{APPNAMELC}.desktop</id>
<id>org.example.%{APPNAMELC}</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license> https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-metadata_license </project_license>
<name>%{APPNAME}</name>
......@@ -19,11 +19,6 @@
<provides>
<binary>%{APPNAMELC}</binary>
</provides>
<launchable type="desktop-id">org.example.%{APPNAMELC}.desktop</launchable>
<project_group>KDE</project_group>
<releases>
<release version="0.1.22081" date="2022-09-08"/>
<release version="0.1.22080" date="2022-08-18"/>
<release version="0.1.22043" date="2022-07-07"/>
<release version="0.1.22042" date="2022-06-09"/>
</releases>
</component>
Supports Markdown
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