summaryrefslogtreecommitdiffstats
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-03-17 11:27:09 -0700
commit412c242c10bba270314fe0bee9a14a0547f97014 (patch)
tree95c2cccf14e3e425168f2fb67020f032a1c1976f
parent2af1e23b2ca8880f25377036a2b07b235b2c00ac (diff)
downloadsubsurface-412c242c10bba270314fe0bee9a14a0547f97014.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>
-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: .