Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update kde-neon extension #123

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ plugs:
shared-memory:
private: true
# QT5 libs
kf5-5-108-qt-5-15-10-core22:
content: kf5-5-108-qt-5-15-10-core22-all
kf5-5-113-qt-5-15-11-core22:
content: kf5-5-113-qt-5-15-11-core22-all
interface: content
default-provider: kf5-5-108-qt-5-15-10-core22
default-provider: kf5-5-113-qt-5-15-11-core22
target: $SNAP/kf5

environment:
Expand Down Expand Up @@ -252,7 +252,7 @@ parts:
- elmerfem-csc # FEM
- openscad # OpenSCAD
override-build: |
kde_sdk_dir="/snap/kf5-5-108-qt-5-15-10-core22-sdk/current"
kde_sdk_dir="/snap/kf5-5-113-qt-5-15-11-core22-sdk/current"
mkdir -p /etc/xdg/qtchooser
cp "$kde_sdk_dir/etc/xdg/qtchooser/default.conf" "/etc/xdg/qtchooser/default.conf"
SHIBOKEN_BIN_PATH="/workspace/usr/bin/shiboken2"
Expand Down Expand Up @@ -313,10 +313,10 @@ parts:
cleanup:
after: [stub-chown, freecad, python-packages, snap-setup-mod, graphviz]
plugin: nil
build-snaps: [kf5-5-108-qt-5-15-10-core22-sdk]
build-snaps: [kf5-5-113-qt-5-15-11-core22-sdk]
override-prime: |
set -eux
for snap in "kf5-5-108-qt-5-15-10-core22-sdk"; do # List all content-snaps you're using here
for snap in "kf5-5-113-qt-5-15-11-core22-sdk"; do # List all content-snaps you're using here
cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$CRAFT_PRIME/{}" "$CRAFT_PRIME/usr/{}" \;
done
for cruft in bug lintian man; do
Expand Down