sysui/desktop/appstream-appdata/org.libreoffice.kde.metainfo.xml |   28 
++++++++++
 sysui/desktop/share/create_tree.sh                               |    1 
 2 files changed, 29 insertions(+)

New commits:
commit 3772c676ad6be6f424c485fd9aa0732bfeacb6bb
Author: Aleix Pol <[email protected]>
Date:   Thu Jan 19 17:31:58 2017 +0100

    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 <[email protected]>
    Tested-by: jan iversen <[email protected]>

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 0000000..f78ba77
--- /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 86d2837..19a5ce3 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
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to