[neon/snap-packaging/qt-common-themes-sdk] /: Initial commit.
Scarlett Moore
null at kde.org
Tue Jun 25 12:23:56 BST 2024
Git commit bf9ba29bae91e8b6843b89515b34d3c92f80f6bd by Scarlett Moore.
Committed on 25/06/2024 at 11:23.
Pushed by scarlettmoore into branch 'master'.
Initial commit.
A +117 -0 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/qt-common-themes-sdk/-/commit/bf9ba29bae91e8b6843b89515b34d3c92f80f6bd
diff --git a/snapcraft.yaml b/snapcraft.yaml
new file mode 100644
index 0000000..6715631
--- /dev/null
+++ b/snapcraft.yaml
@@ -0,0 +1,117 @@
+name: qt-common-themes-sdk
+grade: stable
+summary: 'Common themes used in Qt based distributions'
+description: 'Popular themes used in Qt/KDE based distributions, Eg: Breeze, Breeze-Dark, Kvnantum'
+confinement: strict
+base: core22
+version: '6.1'
+
+slots: {}
+
+package-repositories:
+- type: apt
+ components:
+ - main
+ suites:
+ - jammy
+ key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
+ url: http://origin.archive.neon.kde.org/user
+ key-server: keyserver.ubuntu.com
+
+parts:
+ 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
+ - -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"
+ build-environment: &buildenvironment
+ - PATH: /snap/kde-qt6-core22-sdk/current/usr/bin${PATH:+:$PATH}
+ - PKG_CONFIG_PATH: /snap/kde-qt6-core22-sdk/current/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
+ - 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}"
+ oxygen-sounds:
+ after:
+ - ocean-sound-theme
+ source: https://invent.kde.org/plasma/oxygen-sounds.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
+ breeze-gtk:
+ after:
+ - ocean-sound-theme
+ source: https://invent.kde.org/plasma/breeze-gtk.git
+ source-type: git
+ source-branch: 'Plasma/6.1'
+ source-depth: 1
+ build-packages:
+ - cmake
+ - gtk2-engines-pixbuf
+ - libglib2.0-dev
+ - libgtk-3-dev
+ - libgtk2.0-dev
+ - python3-cairo
+ - sassc
+ build-snaps:
+ - kf6-core22-sdk
+ - kde-qt6-core22-sdk
+ stage-packages:
+ - gtk2-engines-pixbuf
+ plugin: cmake
+ cmake-parameters: *cmakeparameters
+ build-environment: *buildenvironment
+ oxygen-gtk:
+ after:
+ - ocean-sound-theme
+ source: https://invent.kde.org/plasma/oxygen-gtk.git
+ source-type: git
+ source-branch: 'master'
+ 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: *cmakeparameters
+ build-environment: *buildenvironment
More information about the Neon-commits
mailing list