Skip to content

Commit

Permalink
snap: Updated to Qt 6
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn committed Oct 1, 2024
1 parent e7c3952 commit b034ec9
Showing 1 changed file with 24 additions and 31 deletions.
55 changes: 24 additions & 31 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ base: core24

grade: stable
confinement: strict
environment:
QT_PLUGIN_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt6/plugins"

apps:
tiled:
Expand Down Expand Up @@ -54,42 +56,33 @@ parts:
- usr/share/metainfo/org.mapeditor.Tiled.appdata.xml
source: .
build-packages:
- build-essential
- dpkg-dev
- libzstd-dev
- pkg-config
# FIXME: Python plugin compiles and loads, but can't find platform libraries
# - python-dev
- qttools5-dev-tools
- qbs
- libqt5svg5-dev
- qtdeclarative5-dev
- qt6-base-dev
- qt6-declarative-dev
- qt6-l10n-tools
- qt6-svg-dev
- zlib1g-dev
- libzstd-dev
stage-packages:
- libqt5quick5
- qt5-image-formats-plugins
- qtwayland5
# - libpython2.7
- libzstd1
after: [desktop-qt5]

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
# FIXME: Python plugin compiles and loads, but can't find platform libraries
# - python-dev
stage-packages:
- libxkbcommon0
- dmz-cursor-theme
- light-themes
- adwaita-icon-theme
- shared-mime-info
- libqt5concurrent5
- libqt5gui5
- libqt5svg5 # for loading icon themes which are svg
- dmz-cursor-theme
- fcitx-frontend-qt6
- libgdk-pixbuf2.0-0
- libqt6concurrent6t64
- libqt6gui6t64
- libqt6quick6
- libqt6svg6 # for loading icons which are svg
- libxkbcommon0
- libzstd1
- light-themes
- locales-all
- qt6-image-formats-plugins
- qt6-wayland
- shared-mime-info
- xdg-user-dirs
- fcitx-frontend-qt5
# - libpython2.7

0 comments on commit b034ec9

Please sign in to comment.