Commit 903c0494 authored by Marco Trevisan's avatar Marco Trevisan

snap: don't snap fonts, use desktop interface

Fonts are now bind-mounted from host by the desktop interface
parent 34cd921a
......@@ -92,7 +92,7 @@ add_custom_target("snap-push-transfer.sh"
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
COMMAND bash -c "snap=$(ls *.snap -1 | head -n1); \
curl --upload-file $snap \
https://transfer.sh/$(basename $snap)"
https://transfer.sh/$(basename $snap); echo"
DEPENDS "${SNAP_DIR}/SNAP_VERSION"
COMMENT "Uploading snap package to transfer.sh ${SNAP_VERSION}"
VERBATIM
......
......@@ -96,6 +96,7 @@ parts:
cp -av $SNAPCRAFT_STAGE/../snap $SNAPCRAFT_PART_INSTALL/../src
stage-packages:
- xauth
- libappindicator3-1
build-packages:
- intltool
- libappindicator3-dev
......@@ -120,12 +121,18 @@ parts:
- -DCMAKE_INSTALL_PREFIX=/snap/$SNAPCRAFT_PROJECT_NAME/current/usr
organize:
snap/remmina/current: .
stage:
- -./usr/share/fonts/**
after:
- libssh-0.7
- freerdp
- desktop-gtk3
- indicator-gtk3
# Removing files that are accessible thanks to desktop plug
desktop-gtk3:
stage:
- -./usr/share/fonts/**
apps:
remmina:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment