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:
authorAntenore Gatta <antenore@simbiosi.org>2020-08-10 02:35:39 +0300
committerAntenore Gatta <antenore@simbiosi.org>2020-08-10 02:35:39 +0300
commit1d627d970737fa243f82418047582613d0a09cd8 (patch)
treee7ca3addf283f297c59cc5ffd414e9ecc6ecad19 /snap
parentd5f7e69f8940c0a3148cae36c2a7be3b7eef4dd9 (diff)
Aligning snap receipt from DAGUniverse
Signed-off-by: Antenore Gatta <antenore@simbiosi.org>
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml11
1 files changed, 9 insertions, 2 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index c88c90a7c..043b84c1c 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -91,6 +91,10 @@ parts:
- libusb-1.0-0
- libzvbi0
configflags:
+ # Workaround for ubuntu 18.04 armhf: build fails with "unable to find a register to spill"
+ # remember to remove when snapcraft will be built in ubuntu >= 20.04
+ # This must be at the beginning
+ - -DCMAKE_C_FLAGS_RELEASE=-O1 -g -DNDEBUG
- -DCMAKE_BUILD_TYPE=Release
- -DWITH_WAYLAND=on
- -DWITH_CLIENT=off
@@ -99,13 +103,16 @@ parts:
- -DWITH_GSTREAMER=off
- -DWITH_FFMPEG=on
- -DWITH_CHANNELS=on
- - -DSTATIC_CHANNELS=off
+ - -DBUILTIN_CHANNELS=on
- -DWITH_CUPS=on
- -DWITH_PCSC=on
- -DWITH_JPEG=on
+ - -DWITH_LIBSYSTEMD=off
+ # - -DCMAKE_VERBOSE_MAKEFILE:BOOL=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/remmina/current: .
@@ -174,6 +181,7 @@ parts:
snapcraftctl build
mkdir -pv $SNAPCRAFT_PART_INSTALL/meta/gui/
cp $SNAPCRAFT_PART_INSTALL/snap/$SNAPCRAFT_PROJECT_NAME/current/usr/share/icons/hicolor/scalable/apps/org.remmina.Remmina.svg $SNAPCRAFT_PART_INSTALL/meta/gui/icon.svg
+ cp -r $SNAPCRAFT_PART_INSTALL/snap/$SNAPCRAFT_PROJECT_NAME/current/usr/share/metainfo $SNAPCRAFT_PART_INSTALL/usr/share/
cp -r $SNAPCRAFT_PART_INSTALL/snap/$SNAPCRAFT_PROJECT_NAME/current/usr/share/icons $SNAPCRAFT_PART_INSTALL/meta/gui/
for i in `find $SNAPCRAFT_PART_INSTALL/meta/gui/icons -name "*.svg" -o -name "*.png"`
do
@@ -205,7 +213,6 @@ parts:
- libopus0
- libswresample2
- libpulse-mainloop-glib0
- - libcrystalhd3
- libcacard0
- libva2
- libzvbi0