aboutsummaryrefslogtreecommitdiffstats
path: root/snap/snapcraft.yaml
diff options
context:
space:
mode:
authorGravatar Michał Sawicz <michal@sawicz.net>2019-03-15 13:23:35 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-04 15:06:18 -0700
commitd1b46693041fd60731bd8f964ccf0e54b84bcd56 (patch)
treead055efd5c6ea7113b1b4dd0a47651528518ca8d /snap/snapcraft.yaml
parent737d8f9c9ee44f1a6e79e4edf57bcc5cf0768757 (diff)
downloadsubsurface-d1b46693041fd60731bd8f964ccf0e54b84bcd56.tar.gz
[snap] pull the `desktop-qt5` part in
snapcraft doesn't support remote parts any more, and there's no extension (the replacement for remote parts) for Qt yet. Signed-off-by: Michał Sawicz <michal.sawicz@canonical.com>
Diffstat (limited to 'snap/snapcraft.yaml')
-rw-r--r--snap/snapcraft.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 797b1767e..9cbaf3c60 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -75,6 +75,30 @@ parts:
options:
- INCLUDEPATH+=QtHeaders
+ desktop-qt5:
+ source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
+ source-subdir: qt
+ plugin: make
+ make-parameters: ["FLAVOR=qt5"]
+ build-packages:
+ - build-essential
+ - qtbase5-dev
+ - dpkg-dev
+ stage-packages:
+ - libxkbcommon0
+ - ttf-ubuntu-font-family
+ - dmz-cursor-theme
+ - light-themes
+ - adwaita-icon-theme
+ - gnome-themes-standard
+ - shared-mime-info
+ - libqt5gui5
+ - libgdk-pixbuf2.0-0
+ - libqt5svg5 # for loading icon themes which are svg
+ - locales-all
+ - xdg-user-dirs
+ - fcitx-frontend-qt5
+
libdc:
plugin: autotools
source: .