name: @SNAP_NAME@ version: @SNAP_VERSION@ summary: The GTK+ Remote Desktop Client icon: @CMAKE_SOURCE_DIR_RELATIVE@/remmina/desktop/scalable/apps/remmina.svg description: | Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, SPICE, NX, XDMCP and SSH are supported. Remmina is free and open-source software, released under GNU GPL license. grade: stable confinement: strict parts: freerdp: plugin: cmake source: https://github.com/FreeRDP/FreeRDP.git source-depth: 1 build-packages: - build-essential - libasound2-dev - libavcodec-dev - libavutil-dev - libcups2-dev - libgnutls-dev - libgnutls28-dev - libjpeg-dev - libpcsclite-dev - libpulse-dev - libsecret-1-dev - libssl-dev - libx11-dev - libxcursor-dev - libxdamage-dev - libxext-dev - libxi-dev - libxinerama-dev - libxkbfile-dev - libxml2-dev - libxrandr-dev - libxtst-dev - libxv-dev configflags: - -DCMAKE_BUILD_TYPE=@CMAKE_BUILD_TYPE@ - -DWITH_WAYLAND=on - -DWITH_CLIENT=off - -DWITH_SERVER=off - -DWITH_PULSE=on - -DWITH_GSTREAMER=off - -DWITH_FFMPEG=on - -DWITH_CHANNELS=on - -DSTATIC_CHANNELS=off - -DWITH_CUPS=on - -DWITH_PCSC=on - -DWITH_JPEG=on # 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: - -usr/include - -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: - -DCMAKE_BUILD_TYPE=@CMAKE_BUILD_TYPE@ - -DWITH_STATIC_LIB=ON - -DWITH_GSSAPI=ON - -DWITH_NACL=0 # 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@ stage-packages: - xauth build-packages: - intltool - libappindicator3-dev - libavahi-ui-gtk3-dev - libgcrypt20-dev - libgnome-keyring-dev - libgtk-3-dev - libspice-client-gtk-3.0-dev - libspice-protocol-dev - libtelepathy-glib-dev - libvncserver-dev - libvte-2.91-dev - libxkbfile-dev configflags: - -DCMAKE_BUILD_TYPE=@CMAKE_BUILD_TYPE@ - -DCMAKE_PREFIX_PATH=$SNAPCRAFT_STAGE/usr - -DSNAP_BUILD=on # 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: . after: - libssh-0.7 - freerdp - desktop-gtk3 - indicator-gtk3 apps: remmina: command: desktop-launch remmina plugs: - avahi-observe - cups-control - desktop - desktop-legacy - gsettings - home - mount-observe - network - network-bind - pulseaudio - unity7 - password-manager-service - wayland winpr-makecert: command: winpr-makecert winpr-hash: command: winpr-hash slots: remmina-gapp: interface: dbus bus: session name: @UNIQUE_APPNAME@