[neon/snap-packaging/kde-qt6-core-sdk] /: Add qtwayland.

Scarlett Moore null at kde.org
Mon Nov 11 16:15:29 GMT 2024


Git commit 3585ccc7b7523707e771629f75bc72ae40847f8c by Scarlett Moore.
Committed on 11/11/2024 at 16:15.
Pushed by scarlettmoore into branch 'master'.

Add qtwayland.

M  +38   -0    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/3585ccc7b7523707e771629f75bc72ae40847f8c

diff --git a/snapcraft.yaml b/snapcraft.yaml
index e0451d3..066027a 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -35,7 +35,45 @@ package-repositories:
     key-server: keyserver.ubuntu.com
 
 parts:
+  qtwayland:
+    plugin: cmake
+    source: https://invent.kde.org/qt/qtwayland.git
+    source-tag: $SNAPCRAFT_PROJECT_VERSION
+    source-depth: 1
+    cmake-generator: Ninja
+    cmake-parameters:
+      - -DCMAKE_BUILD_TYPE=Release
+      - -DCMAKE_INSTALL_PREFIX=/usr
+      - -DINSTALL_BINDIR=/usr/bin/qt6
+      - -DINSTALL_LIBDIR=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
+      - -DINSTALL_LIBEXECDIR=lib/qt6/libexec
+      - -DINSTALL_ARCHDATADIR=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6
+      - -DINSTALL_EXAMPLESDIR=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6/examples
+      - -DINSTALL_DATADIR=share/qt6
+      - -DINSTALL_HOSTDATADIR=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6
+      - -DINSTALL_SYSCONFDIR=/share
+      - -DINSTALL_INCLUDEDIR=include/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6
+      - -DINSTALL_PLUGINDIR=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6/plugins
+      - -DINSTALL_TRANSLATIONDIR=share/qt6/translations
+      - -DINSTALL_MKSPECSDIR=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6/mkspecs
+      - -DINSTALL_PUBLICBINDIR=bin
+      - -DBUILD_EXAMPLES=OFF
+      - -DBUILD_DOCS=OFF
+    build-snaps:
+      - cmake
+    build-packages:
+      - bison
+      - clang
+      - libwayland-dev
+      - libwayland-egl1-mesa
+      - libwayland-server0
+      - flex
+      - flite1-dev
+      - gettext
+      - gperf
   qt6:
+    after:
+      - qtwayland
     plugin: cmake
     source: https://invent.kde.org/qt/qt/qt5.git
     source-tag: $SNAPCRAFT_PROJECT_VERSION


More information about the Neon-commits mailing list