[neon/snap-packaging/kf6-snap] /: Fix the appstream build so that it produces the Qt bindings

Benjamin Port null at kde.org
Mon Apr 22 21:01:59 BST 2024


Git commit 819eecbd19062ae4cef3a6a61993ad8f9df17f12 by Benjamin Port, on behalf of Kevin Ottens.
Committed on 22/04/2024 at 08:29.
Pushed by bport into branch 'master'.

Fix the appstream build so that it produces the Qt bindings

Also make sure it installs in the right prefix, it was ending up in
/usr/local otherwise

M  +5    -0    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kf6-snap/-/commit/819eecbd19062ae4cef3a6a61993ad8f9df17f12

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 1ce2c15..4171a28 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -914,6 +914,11 @@ parts:
         - libxmlb2
         - libyaml-0-2
         - libzstd1
+        build-snaps:
+        - kde-qt6-core22-sdk
+        meson-parameters:
+        - -Dqt=true
+        - --prefix=/usr
         build-environment: *buildenvironment
     libdbusmenu-qt6:
         after:



More information about the Neon-commits mailing list