Skip to content

Commit

Permalink
snapcraft: Fix package on core24
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiChinoune committed Jun 8, 2024
1 parent 8f7a25d commit ef92bc9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ apps:
command: bin/desktop-launch $SNAP/usr/bin/makhber
environment:
PYTHONPATH: $SNAP/usr/lib/python3/dist-packages
QT_QPA_PLATFORM_PLUGIN_PATH: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/plugins/platforms
plugs:
- home
- network
Expand All @@ -49,6 +50,7 @@ parts:
- "-DMAKHBER_SCRIPTING_PYTHON=ON"
- "-DMAKHBER_SEARCH_FOR_UPDATES=OFF"
- "-DCMAKE_PREFIX_PATH=$CRAFT_STAGE/usr"
- "-DPYTHON_INSTALL_PATH=lib/python3/dist-packages"
build-environment:
- PATH: $HOME/.local/bin:$PATH
- PYTHONPATH: $CRAFT_STAGE/usr/lib/python3/dist-packages:$HOME/.local/lib/python3.12/site-packages:/usr/local/lib/python3.12/dist-packages:/usr/lib/python3/dist-packages
Expand All @@ -65,8 +67,10 @@ parts:
- libqt5svg5
- libqt5opengl5
- libqt5printsupport5
- libqt5dbus5
- qttranslations5-l10n
- qtwayland5
- xkb-data
override-pull: |
craftctl default
craftctl set version="$(git describe --tags)"
Expand Down

0 comments on commit ef92bc9

Please sign in to comment.