Skip to content

Commit

Permalink
Some updates
Browse files Browse the repository at this point in the history
update neovim version
use rust extension to build application
add appdata xml
  • Loading branch information
daa84 committed Jan 9, 2018
1 parent e3cf528 commit 4391c46
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 40 deletions.
28 changes: 28 additions & 0 deletions org.daa.NeovimGtk.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>

<component type="desktop-application">
<id>org.daa.NeovimGtk</id>
<metadata_license>FSFAP</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Neovim Gtk</name>
<summary>Gtk gui for neovim</summary>

<description>
Gtk gui neovim client. Use neovim as backend.
</description>

<launchable type="desktop-id">org.daa.NeovimGtk.desktop</launchable>

<screenshots>
<screenshot type="default">
<caption>Main window</caption>
<image>https://raw.githubusercontent.com/daa84/neovim-gtk/master/screenshots/neovimgtk-screen.png</image>
</screenshot>
</screenshots>

<url type="homepage">https://github.com/daa84/neovim-gtk</url>

<provides>
<binary>nvim-gtk</binary>
</provides>
</component>
46 changes: 6 additions & 40 deletions org.daa.NeovimGtk.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"runtime": "org.gnome.Platform",
"runtime-version": "3.24",
"sdk": "org.gnome.Sdk",
"sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"],
"command": "nvim-gtk",
"finish-args": [
"--share=ipc", "--socket=x11",
Expand All @@ -16,7 +17,6 @@
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
],
"cleanup": [
"/rust",
"/bin/luarocks*",
"/share/luarocks",
"/include",
Expand Down Expand Up @@ -166,7 +166,7 @@
{
"type": "git",
"url": "https://github.com/neovim/neovim",
"tag": "v0.2.0"
"tag": "v0.2.2"
}
]
},
Expand Down Expand Up @@ -194,48 +194,14 @@
]
},

{
"name":"rust",
"sources": [
{
"type": "archive",
"only-arches": ["i386"],
"url": "https://static.rust-lang.org/dist/rust-1.21.0-i686-unknown-linux-gnu.tar.gz",
"sha256": "b7caed0f602cdb8ef22e0bfa9125a65bec411e15c0b8901d937e43303ec7dbee"
},
{
"type": "archive",
"only-arches": ["arm"],
"url": "https://static.rust-lang.org/dist/rust-1.21.0-arm-unknown-linux-gnueabihf.tar.gz",
"sha256": "add0b9c2fae88b9d84e5a25ebf09a9805010aaddd6e2584e41b5822ba8e51dd9"
},
{
"type": "archive",
"only-arches": ["aarch64"],
"url": "https://static.rust-lang.org/dist/rust-1.21.0-aarch64-unknown-linux-gnu.tar.gz",
"sha256": "491ee6c43cc672006968d665bd34c94cc2219ef3592d93d38097c97eaaa864c3"
},
{
"type": "archive",
"only-arches": ["x86_64"],
"url": "https://static.rust-lang.org/dist/rust-1.21.0-x86_64-unknown-linux-gnu.tar.gz",
"sha256": "b41e70e018402bc04d02fde82f91bea24428e6be432f0df12ac400cfb03108e8"
}
],
"build-options": {
"strip": false,
"no-debuginfo": true,
"no-debuginfo-compression": true
},
"buildsystem": "simple",
"build-commands": [
"./install.sh --prefix=/app/rust --disable-ldconfig --verbose"
]
},
{
"name": "neovim-gtk",
"build-options": {
"build-args": ["--share=network"]
"append-path": "/usr/lib/sdk/rust-stable/bin",
"env": {
"CARGO_HOME": "/run/build/NeovimGtk/cargo"
}
},
"buildsystem": "simple",
"build-commands": [
Expand Down

0 comments on commit 4391c46

Please sign in to comment.