aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpierre <pierre.git@posteo.de>2018-12-06 23:11:49 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-12-30 23:02:40 +0100
commit92806827a9f22828cdfd3573f6cf2c827808e641 (patch)
tree63fd3458dc118497342f1dd03118ac5a67c4ff1f
parent1e8d2bdc487cdebf152eb228ed936720cfed3a76 (diff)
downloadrneovim-92806827a9f22828cdfd3573f6cf2c827808e641.tar.gz
rneovim-92806827a9f22828cdfd3573f6cf2c827808e641.tar.bz2
rneovim-92806827a9f22828cdfd3573f6cf2c827808e641.zip
appimage: Include metadata #9320
closes #9320 closes #9128
-rw-r--r--runtime/nvim.appdata.xml37
-rwxr-xr-xscripts/genappimage.sh2
2 files changed, 39 insertions, 0 deletions
diff --git a/runtime/nvim.appdata.xml b/runtime/nvim.appdata.xml
new file mode 100644
index 0000000000..095e6c6fa8
--- /dev/null
+++ b/runtime/nvim.appdata.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2018 Neovim contributors
+
+ See also:
+ https://appimage.github.io/neovim/
+ https://github.com/flathub/io.neovim.nvim
+-->
+<component type="desktop-application">
+ <id>nvim</id>
+ <project_license>Apache-2.0</project_license>
+ <metadata_license>CC0-1.0</metadata_license>
+ <name>Neovim</name>
+ <summary>Vim-fork focused on extensibility and usability</summary>
+
+ <description>
+ <p>Neovim is a refactor of the Vim text editor designed to encourage new features, advanced UIs, and powerful extensions.</p>
+ </description>
+
+ <screenshots>
+ <screenshot type="default">
+ <caption>Live :substitute feature</caption>
+ <image>https://neovim.io/images/nvim-screenshot-1.png</image>
+ </screenshot>
+ </screenshots>
+
+ <launchable type="desktop-id">nvim.desktop</launchable>
+ <url type="homepage">https://neovim.io/</url>
+ <url type="bugtracker">https://github.com/neovim/neovim/issues</url>
+ <url type="faq">https://github.com/neovim/neovim/wiki/FAQ</url>
+ <url type="help">https://neovim.io/doc/</url>
+ <url type="donation">https://neovim.io/#sponsor</url>
+ <url type="translate">https://github.com/neovim/neovim/tree/master/src/nvim/po</url>
+ <provides>
+ <binary>nvim</binary>
+ </provides>
+</component>
diff --git a/scripts/genappimage.sh b/scripts/genappimage.sh
index ed008938f3..c0ef2a8591 100755
--- a/scripts/genappimage.sh
+++ b/scripts/genappimage.sh
@@ -45,6 +45,8 @@ curl -Lo "$APP_BUILD_DIR"/appimage_functions.sh https://github.com/AppImage/AppI
# get_desktop
cp "$ROOT_DIR/runtime/nvim.desktop" "$APP_DIR/"
cp "$ROOT_DIR/runtime/nvim.png" "$APP_DIR/"
+mkdir "$APP_DIR/usr/share/metainfo/"
+cp "$ROOT_DIR/runtime/nvim.appdata.xml" "$APP_DIR/usr/share/metainfo/"
cd "$APP_DIR"