[neon/snap-packaging/qt-common-themes-sdk] /: Add kvantum and qt6gtk2

Scarlett Moore null at kde.org
Fri Jun 28 10:22:58 BST 2024


Git commit 1c9ea4120b11231c7ba52b6d8b4f1e7a97892dad by Scarlett Moore.
Committed on 28/06/2024 at 09:22.
Pushed by scarlettmoore into branch 'master'.

Add kvantum and qt6gtk2

M  +192  -10   snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/qt-common-themes-sdk/-/commit/1c9ea4120b11231c7ba52b6d8b4f1e7a97892dad

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 6715631..c1316a7 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -19,17 +19,15 @@ package-repositories:
     key-server: keyserver.ubuntu.com
 
 parts:
-    ocean-sound-theme:
-        source: https://invent.kde.org/plasma/ocean-sound-theme.git
+    kdecoration:
+        source: https://invent.kde.org/plasma/kdecoration.git
         source-type: git
         source-branch: 'Plasma/6.1'
         source-depth: 1
-        build-packages:
-        - cmake
+        plugin: cmake
         build-snaps:
         - kf6-core22-sdk
         - kde-qt6-core22-sdk
-        plugin: cmake
         cmake-parameters: &cmakeparameters
         - -DCMAKE_INSTALL_PREFIX=/usr
         - -DCMAKE_BUILD_TYPE=Release
@@ -56,9 +54,20 @@ parts:
             - XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kde-qt6-core22-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
             - XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kde-qt6-core22-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
             - LD_LIBRARY_PATH: "/snap/kde-qt6-core22-sdk/current/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:/snap/kde-qt6-core22-sdk/current/usr/lib:$CRAFT_STAGE/usr/lib:$CRAFT_STAGE/lib/:$CRAFT_STAGE/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
+    ocean-sound-theme:
+        source: https://invent.kde.org/plasma/ocean-sound-theme.git
+        source-type: git
+        source-branch: 'Plasma/6.1'
+        source-depth: 1
+        build-packages:
+        - cmake
+        build-snaps:
+        - kf6-core22-sdk
+        - kde-qt6-core22-sdk
+        plugin: cmake
+        cmake-parameters: *cmakeparameters
+        build-environment: *buildenvironment
     oxygen-sounds:
-        after:
-        - ocean-sound-theme
         source: https://invent.kde.org/plasma/oxygen-sounds.git
         source-type: git
         source-branch: 'Plasma/6.1'
@@ -71,9 +80,116 @@ parts:
         plugin: cmake
         cmake-parameters: *cmakeparameters
         build-environment: *buildenvironment
-    breeze-gtk:
+    layer-shell-qt:
+        source: https://invent.kde.org/plasma/layer-shell-qt.git
+        source-type: git
+        source-branch: 'Plasma/6.1'
+        source-depth: 1
+        build-packages:
+        - libwayland-bin
+        - libwayland-dev
+        - libxkbcommon-dev
+        - pkg-config
+        - wayland-protocols
+        build-snaps:
+        - kf6-core22-sdk
+        - kde-qt6-core22-sdk
+        stage-packages:
+        - libwayland-client0
+        plugin: cmake
+        cmake-parameters: *cmakeparameters
+        build-environment: *buildenvironment
+    kwayland:
         after:
-        - ocean-sound-theme
+        - layer-shell-qt
+        source: https://invent.kde.org/plasma/kwayland.git
+        source-type: git
+        source-branch: 'Plasma/6.1'
+        source-depth: 1
+        build-packages:
+        - libegl1-mesa-dev
+        - libwayland-dev
+        - pkg-config
+        - wayland-protocols
+        build-snaps:
+        - kf6-core22-sdk
+        - kde-qt6-core22-sdk
+        stage-packages:
+        - libwayland-client0
+        plugin: cmake
+        cmake-parameters: *cmakeparameters
+        build-environment: *buildenvironment
+    libplasma:
+        source: https://invent.kde.org/plasma/libplasma.git
+        source-type: git
+        source-branch: 'Plasma/6.1'
+        source-depth: 1
+        build-packages:
+        - libegl1-mesa-dev
+        - libsm-dev
+        - libwayland-dev
+        - libx11-xcb-dev
+        - libxcb-composite0-dev
+        - libxcb-damage0-dev
+        - libxcb-shape0-dev
+        - pkg-config
+        build-snaps:
+        - kf6-core22-sdk
+        - kde-qt6-core22-sdk
+        stage-packages:
+        - libegl1
+        - libglx0
+        - libopengl0
+        - libwayland-client0
+        - libx11-6
+        - libxcb-composite0
+        - libxcb-damage0
+        - libxcb-render0
+        - libxcb1
+        plugin: cmake
+        cmake-parameters: *cmakeparameters
+        build-environment: *buildenvironment
+    breeze:
+        after:
+        - kwayland
+        - kdecoration
+        - libplasma
+        source: https://invent.kde.org/plasma/breeze.git
+        source-type: git
+        source-branch: 'Plasma/6.1'
+        source-depth: 1
+        build-packages:
+        - cmake
+        - libfftw3-dev
+        - libx11-dev
+        - pkg-config
+        build-snaps:
+        - kf6-core22-sdk
+        - kde-qt6-core22-sdk
+        plugin: cmake
+        cmake-parameters:
+        - -DCMAKE_INSTALL_PREFIX=/usr
+        - -DCMAKE_BUILD_TYPE=Release
+        - -DQT_MAJOR_VERSION=6
+        - -DBUILD_WITH_QT6=ON
+        - -DBUILD_TESTING=OFF
+        - -DCMAKE_INSTALL_SYSCONFDIR=/etc
+        - -DCMAKE_INSTALL_LOCALSTATEDIR=/var
+        - -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON
+        - -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF
+        - -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
+        - -DCMAKE_INSTALL_RUNSTATEDIR=/run
+        - -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON
+        - -DCMAKE_VERBOSE_MAKEFILE=ON
+        - -DCMAKE_INSTALL_LIBDIR=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
+        - --log-level=STATUS
+        - -DCMAKE_LIBRARY_PATH=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
+        - -DVERBOSE=ON
+        - "-DCMAKE_FIND_ROOT_PATH=$CRAFT_STAGE\\;/snap/kde-qt6-core22-sdk/current\\;/snap/kf6-core22-sdk/current"
+        - "-DCMAKE_PREFIX_PATH=$CRAFT_STAGE\\;/snap/kde-qt6-core22-sdk/current\\;/snap/kf6-core22-sdk/current\\;/usr"
+        - -DBUILD_QT5=OFF
+        build-environment: *buildenvironment
+    breeze-gtk:
         source: https://invent.kde.org/plasma/breeze-gtk.git
         source-type: git
         source-branch: 'Plasma/6.1'
@@ -94,9 +210,56 @@ parts:
         plugin: cmake
         cmake-parameters: *cmakeparameters
         build-environment: *buildenvironment
+    oxygen:
+        after:
+        - kwayland
+        - kdecoration
+        - libplasma
+        - oxygen-sounds
+        source: https://invent.kde.org/plasma/oxygen.git
+        source-type: git
+        source-branch: 'Plasma/6.1'
+        source-depth: 1
+        build-packages:
+        - cmake
+        - libx11-dev
+        - libxcb1-dev
+        - pkg-config
+        build-snaps:
+        - kf6-core22-sdk
+        - kde-qt6-core22-sdk
+        stage-packages:
+        - libx11-6
+        - libxxf86vm1
+        plugin: cmake
+        cmake-parameters:
+        - -DCMAKE_INSTALL_PREFIX=/usr
+        - -DCMAKE_BUILD_TYPE=Release
+        - -DQT_MAJOR_VERSION=6
+        - -DBUILD_WITH_QT6=ON
+        - -DBUILD_TESTING=OFF
+        - -DCMAKE_INSTALL_SYSCONFDIR=/etc
+        - -DCMAKE_INSTALL_LOCALSTATEDIR=/var
+        - -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON
+        - -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF
+        - -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
+        - -DCMAKE_INSTALL_RUNSTATEDIR=/run
+        - -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON
+        - -DCMAKE_VERBOSE_MAKEFILE=ON
+        - -DCMAKE_INSTALL_LIBDIR=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
+        - --log-level=STATUS
+        - -DCMAKE_LIBRARY_PATH=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
+        - -DVERBOSE=ON
+        - "-DCMAKE_FIND_ROOT_PATH=$CRAFT_STAGE\\;/snap/kde-qt6-core22-sdk/current\\;/snap/kf6-core22-sdk/current"
+        - "-DCMAKE_PREFIX_PATH=$CRAFT_STAGE\\;/snap/kde-qt6-core22-sdk/current\\;/snap/kf6-core22-sdk/current\\;/usr"
+        - -DBUILD_QT5=OFF
+        build-environment: *buildenvironment
     oxygen-gtk:
         after:
-        - ocean-sound-theme
+        - kwayland
+        - kdecoration
+        - libplasma
+        - oxygen-sounds
         source: https://invent.kde.org/plasma/oxygen-gtk.git
         source-type: git
         source-branch: 'master'
@@ -115,3 +278,22 @@ parts:
         plugin: cmake
         cmake-parameters: *cmakeparameters
         build-environment: *buildenvironment
+
+    qt6gtk2:
+        after: [utils]
+        source: https://github.com/trialuser02/qt6gtk2.git
+        plugin: qmake
+        qmake_project_file: qt6gtk2.pro
+        qmake_major_version: 6
+        build-snaps:
+        - kde-qt6-core22-sdk
+
+    kvantum:
+        after: [utils]
+        source: https://github.com/tsujan/Kvantum/tree/master/Kvantum
+        plugin: cmake
+        build-snaps:
+        - kf6-core22-sdk
+        - kde-qt6-core22-sdk
+        cmake-parameters: *cmakeparameters
+        build-environment: *buildenvironment


More information about the Neon-commits mailing list