Commit c66379da authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Include appstream information for backends

CCBUG: 388716
parent 243ad65f
......@@ -23,3 +23,4 @@ set_target_properties(FlatpakNotifier PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_F
install(TARGETS FlatpakNotifier DESTINATION ${PLUGIN_INSTALL_DIR}/discover-notifier)
install(PROGRAMS org.kde.discover-flatpak.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES org.kde.discover.flatpak.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
<?xml version="1.0" encoding="UTF-8"?>
<component type='addon'>
<id>org.kde.discover.flatpak</id>
<name>Flatpak backend</name>
<summary>Integrates Flatpak applications into Discover</summary>
<extends>org.kde.discover.desktop</extends>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<developer_name>Aleix Pol Gonzalez</developer_name>
<icon type="stock">system-software-install</icon>
</component>
......@@ -33,3 +33,5 @@ if(packagekitqt5_VERSION VERSION_GREATER 0.9.7)
target_compile_definitions(packagekit-backend PUBLIC -DPKQT_0_10)
target_compile_definitions(DiscoverPackageKitNotifier PUBLIC -DPKQT_0_10)
endif()
install( FILES org.kde.discover.packagekit.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
<?xml version="1.0" encoding="UTF-8"?>
<component type='addon'>
<id>org.kde.discover.packagekit</id>
<name>PackageKit backend</name>
<summary>Integrates distribution applications into Discover</summary>
<extends>org.kde.discover.desktop</extends>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<developer_name>Aleix Pol Gonzalez</developer_name>
<icon type="stock">system-software-install</icon>
</component>
......@@ -5,3 +5,4 @@ target_link_libraries(snap-backend Qt5::Core KF5::CoreAddons KF5::ConfigCore Dis
install(TARGETS snap-backend DESTINATION ${PLUGIN_INSTALL_DIR}/discover)
install(FILES snap-backend-categories.xml DESTINATION ${DATA_INSTALL_DIR}/libdiscover/categories)
install( FILES org.kde.discover.snap.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
<?xml version="1.0" encoding="UTF-8"?>
<component type='addon'>
<id>org.kde.discover.snap</id>
<name>Snap backend</name>
<summary>Integrates Snap applications into Discover</summary>
<extends>org.kde.discover.desktop</extends>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<developer_name>Aleix Pol Gonzalez</developer_name>
<icon type="stock">system-software-install</icon>
</component>
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