Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2017-01-30 19:45:49 +0300
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2017-01-30 20:05:27 +0300
commit931123de7b0ac84ca2e078cb153c4a526b432884 (patch)
tree11c4d674661250635b7f2cac61cde3e2549ff3c5 /snap
parent11c45e6d491ab688f1b297321b2d71644dcaa660 (diff)
snapcraft: move the icon in cmake instead than using 'icon:'
Diffstat (limited to 'snap')
-rw-r--r--snap/CMakeLists.txt4
-rw-r--r--snap/snapcraft.yaml.in3
2 files changed, 6 insertions, 1 deletions
diff --git a/snap/CMakeLists.txt b/snap/CMakeLists.txt
index 5d8cfc24a..0d5f6e55c 100644
--- a/snap/CMakeLists.txt
+++ b/snap/CMakeLists.txt
@@ -51,6 +51,10 @@ set(REMMINA_ICON "\${SNAP}/meta/gui/icon.svg")
configure_file(${CMAKE_SOURCE_DIR}/remmina/desktop/remmina.desktop.in
${SNAP_GUI_DIR}/remmina.desktop @ONLY)
+# Remove when https://github.com/snapcore/snapcraft/pull/1092 is merged
+configure_file(${CMAKE_SOURCE_DIR}/remmina/desktop/scalable/apps/remmina.svg
+ ${SNAP_GUI_DIR}/icon.svg COPYONLY)
+
configure_file(${CMAKE_SOURCE_DIR}/LICENSE
${SNAP_SETUP_DIR}/license.txt COPYONLY)
diff --git a/snap/snapcraft.yaml.in b/snap/snapcraft.yaml.in
index 2388cd31a..fe2c1c4af 100644
--- a/snap/snapcraft.yaml.in
+++ b/snap/snapcraft.yaml.in
@@ -1,7 +1,8 @@
name: remmina
version: ${SNAP_VERSION}
summary: The GTK+ Remote Desktop Client
-icon: ${CMAKE_SOURCE_DIR_RELATIVE}/remmina/desktop/scalable/apps/remmina.svg
+# Enable this when https://github.com/snapcore/snapcraft/pull/1092 is merged
+# 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