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:
Diffstat (limited to 'snap')
-rw-r--r--snap/CMakeLists.txt1
-rw-r--r--snap/snapcraft.yaml.in6
2 files changed, 4 insertions, 3 deletions
diff --git a/snap/CMakeLists.txt b/snap/CMakeLists.txt
index b95c58d0c..668bc5442 100644
--- a/snap/CMakeLists.txt
+++ b/snap/CMakeLists.txt
@@ -30,6 +30,7 @@
# version. If you delete this exception statement from all source
# files in the program, then also delete it here.
+set(SNAP_NAME "remmina")
set(SNAP_VERSION ${REMMINA_VERSION})
if (NOT ${GIT_REVISION} STREQUAL ${REMMINA_VERSION_SUFFIX} AND
NOT ${GIT_REVISION} MATCHES "^rcgit-[0-9]*")
diff --git a/snap/snapcraft.yaml.in b/snap/snapcraft.yaml.in
index 36330c227..7dcdb9202 100644
--- a/snap/snapcraft.yaml.in
+++ b/snap/snapcraft.yaml.in
@@ -1,4 +1,4 @@
-name: remmina
+name: ${SNAP_NAME}
version: ${SNAP_VERSION}
summary: The GTK+ Remote Desktop Client
# Enable this when https://github.com/snapcore/snapcraft/pull/1092 is merged
@@ -60,7 +60,7 @@ parts:
# 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/remmina/current: .
+ snap/${SNAP_NAME}/current: .
prime:
- -usr/include
@@ -92,7 +92,7 @@ parts:
# 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/remmina/current: .
+ snap/${SNAP_NAME}/current: .
after:
- freerdp