diff options
author | Aleix Pol <aleixpol@kde.org> | 2017-01-19 17:31:58 +0100 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2017-01-23 08:05:40 +0000 |
commit | 3772c676ad6be6f424c485fd9aa0732bfeacb6bb (patch) | |
tree | 8759c50c407026cd36870db8a6250249c7519a51 /sysui | |
parent | 10d0c60947da520779040af25b0c558564b71aff (diff) |
Install a libreoffice-kde.appdata.xml file for KDE integration
On many GNU/Linux distributions packagers will split libreoffice in
different chunks, one of them being KDE integration. Without this file
it's not possible for users to find the integration in the Software
Centers.
Change-Id: I7e4f3009be4f23f2dd38a6d2464476253959413e
Reviewed-on: https://gerrit.libreoffice.org/33318
Reviewed-by: Matthias Klumpp
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'sysui')
-rw-r--r-- | sysui/desktop/appstream-appdata/org.libreoffice.kde.metainfo.xml | 28 | ||||
-rwxr-xr-x | sysui/desktop/share/create_tree.sh | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/sysui/desktop/appstream-appdata/org.libreoffice.kde.metainfo.xml b/sysui/desktop/appstream-appdata/org.libreoffice.kde.metainfo.xml new file mode 100644 index 000000000000..f78ba77f3020 --- /dev/null +++ b/sysui/desktop/appstream-appdata/org.libreoffice.kde.metainfo.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<component type="addon"> + <id>org.libreoffice.kde</id> + + <extends>libreoffice-base.desktop</extends> + <extends>libreoffice-calc.desktop</extends> + <extends>libreoffice-draw.desktop</extends> + <extends>libreoffice-impress.desktop</extends> + <extends>libreoffice-writer.desktop</extends> + + <metadata_license>CC0-1.0</metadata_license> + <project_license>MPL-2.0</project_license> + <name>LibreOffice KDE Integration</name> + <summary>Improves LibreOffice integration within the KDE Plasma desktop environment</summary> + + <url type="homepage">http://www.libreoffice.org/discover/writer/</url> + <url type="bugtracker">https://bugs.documentfoundation.org/</url> + <url type="donation">https://donate.libreoffice.org/</url> + <url type="faq">https://hub.libreoffice.org/faq</url> + <url type="help">http://www.libreoffice.org/get-help/documentation/</url> + <url type="translate">https://hub.libreoffice.org/translate</url> + + <compulsory_for_desktop>KDE</compulsory_for_desktop> + <compulsory_for_desktop>Plasma</compulsory_for_desktop> + + <developer_name>The Document Foundation</developer_name> + <update_contact>libreoffice_at_lists.freedesktop.org</update_contact> +</component> diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh index 86d2837fed0f..19a5ce38f924 100755 --- a/sysui/desktop/share/create_tree.sh +++ b/sysui/desktop/share/create_tree.sh @@ -86,6 +86,7 @@ mkdir -p "${DESTDIR}/${PREFIXDIR}/share/appdata" for i in base calc draw impress writer; do cp "${APPDATA_SOURCE_DIR}/libreoffice-${i}.appdata.xml" "${DESTDIR}/${PREFIXDIR}/share/appdata/${PREFIX}-${i}.appdata.xml" done +cp "${APPDATA_SOURCE_DIR}/org.libreoffice.kde.metainfo.xml" "${DESTDIR}/${PREFIXDIR}/share/appdata/org.${PREFIX}.kde.metainfo.xml" # Generate gobject-introspection files if [ -n "$INTROSPECTION_SCANNER" ]; then |