From c416c036ea774c5522f2f3be7441874f85c6ebb3 Mon Sep 17 00:00:00 2001 From: Omer Argov Date: Sun, 3 May 2020 21:48:12 +0300 Subject: [PATCH] Add xclip into snap --- snap/snapcraft.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c03e302bf..53cd3abe6 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -36,7 +36,7 @@ apps: DISABLE_WAYLAND: 1 cli: command: keepassxc-cli - plugs: [gsettings, home, removable-media, raw-usb] + plugs: [x11, gsettings, home, removable-media, raw-usb] proxy: command: keepassxc-proxy plugs: [home] @@ -87,6 +87,7 @@ parts: - qtwayland5 - qt5-gtk-platformtheme # for theming, font settings, cursor and to use gtk3 file chooser - libqrencode3 + - xclip override-build: | snapcraftctl build sed -i 's|Icon=keepassxc|Icon=${SNAP}/usr/share/icons/hicolor/256x256/apps/keepassxc.png|g' $SNAPCRAFT_PART_INSTALL/usr/share/applications/org.keepassxc.KeePassXC.desktop