[neon/snap-packaging/qt-common-themes-sdk] /: split gtk wants files in /share

Scarlett Moore null at kde.org
Mon Jul 1 13:02:07 BST 2024


Git commit 2ad2cefdbbde8f3dfbe8b57691b8d145410ff7c8 by Scarlett Moore.
Committed on 01/07/2024 at 12:01.
Pushed by scarlettmoore into branch 'master'.

split gtk wants files in /share

M  +40   -2    snapcraft.yaml

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

diff --git a/snapcraft.yaml b/snapcraft.yaml
index d03d488..0476d3e 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -208,7 +208,26 @@ parts:
         stage-packages:
         - gtk2-engines-pixbuf
         plugin: cmake
-        cmake-parameters: *cmakeparameters
+        cmake-parameters: &cmakeparameters
+        - -DCMAKE_INSTALL_PREFIX=/
+        - -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"
         build-environment: *buildenvironment
     oxygen:
         after:
@@ -276,7 +295,26 @@ parts:
         - libx11-6
         - libxxf86vm1
         plugin: cmake
-        cmake-parameters: *cmakeparameters
+        cmake-parameters: &cmakeparameters
+        - -DCMAKE_INSTALL_PREFIX=/
+        - -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"
         build-environment: *buildenvironment
 
     qt6gtk2:


More information about the Neon-commits mailing list