diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2017-01-31 16:29:17 +0300 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2017-01-31 16:29:17 +0300 |
commit | 2e7a20b6811468ac58ef0819c0ccc6aa021fb365 (patch) | |
tree | 931179076b7274741e64c63dcb901a18ddfe9af1 /snap | |
parent | c9b6f18aeb02a416ec268cdce2afbd4d3d1f93ce (diff) |
snapcraft: use libssh-0.7 from git
It allows to connect to some servers
Diffstat (limited to 'snap')
-rw-r--r-- | snap/snapcraft.yaml.in | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/snap/snapcraft.yaml.in b/snap/snapcraft.yaml.in index ddf91ce38..07877acf2 100644 --- a/snap/snapcraft.yaml.in +++ b/snap/snapcraft.yaml.in @@ -67,6 +67,26 @@ parts: - -usr/lib/cmake - -usr/lib/pkgconfig + # Remove this (and use again libssh-dev) once libssh-0.7 is available in distro + libssh-0.7: + plugin: cmake + source: git://git.libssh.org/projects/libssh.git + source-depth: 1 + source-branch: v0-7 + configflags: + - -DWITH_STATIC_LIB=ON + - -DWITH_GSSAPI=ON + - -DWITH_NACL=0 + - -DCMAKE_PREFIX_PATH=$SNAPCRAFT_STAGE/usr + + # XXX: This is an hack to have a kind of bind-mount with absolute prefix. + - -DCMAKE_INSTALL_PREFIX=/snap/$SNAPCRAFT_PROJECT_NAME/current/usr + organize: + snap/@SNAP_NAME@/current: . + + prime: + - ./**/libssh*.so.* + remmina: plugin: cmake source: @CMAKE_SOURCE_DIR_RELATIVE@ @@ -81,7 +101,6 @@ parts: - libgtk-3-dev - libspice-client-gtk-3.0-dev - libspice-protocol-dev - - libssh-dev - libtelepathy-glib-dev - libvncserver-dev - libvte-2.91-dev @@ -95,6 +114,7 @@ parts: snap/@SNAP_NAME@/current: . after: + - libssh-0.7 - freerdp - desktop-gtk3 - indicator-gtk3 |