snapcraft: Sync fixes into stable.
This commit is contained in:
committed by
Scarlett Moore
parent
074e5d4c5a
commit
7ed43044ce
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2024 Scarlett Moore <sgmoore@kde.org>
|
# SPDX-FileCopyrightText: 2024-2025 Scarlett Moore <sgmoore@kde.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: CC0-1.0
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
---
|
---
|
||||||
@@ -24,6 +24,9 @@ apps:
|
|||||||
- network-manager-observe
|
- network-manager-observe
|
||||||
- password-manager-service
|
- password-manager-service
|
||||||
- accounts-service
|
- accounts-service
|
||||||
|
environment:
|
||||||
|
QT_PLUGIN_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/plugins/snap/kf6-core24/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/plugins"
|
||||||
|
QML_IMPORT_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qml:/snap/kf6-core24/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qml"
|
||||||
|
|
||||||
compression: lzo
|
compression: lzo
|
||||||
|
|
||||||
@@ -41,11 +44,12 @@ parts:
|
|||||||
olm:
|
olm:
|
||||||
source: https://gitlab.matrix.org/matrix-org/olm.git
|
source: https://gitlab.matrix.org/matrix-org/olm.git
|
||||||
source-depth: 1
|
source-depth: 1
|
||||||
source-tag: '3.2.12'
|
source-tag: '3.2.16'
|
||||||
plugin: cmake
|
plugin: cmake
|
||||||
cmake-parameters:
|
cmake-parameters:
|
||||||
- -DCMAKE_BUILD_TYPE=Release
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
- -DCMAKE_INSTALL_PREFIX=/usr
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
|
- -DCMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||||
prime:
|
prime:
|
||||||
- -usr/include
|
- -usr/include
|
||||||
- -usr/lib/*/pkgconfig
|
- -usr/lib/*/pkgconfig
|
||||||
@@ -81,8 +85,7 @@ parts:
|
|||||||
plugin: cmake
|
plugin: cmake
|
||||||
build-environment:
|
build-environment:
|
||||||
- PATH: /snap/bin:${PATH}
|
- PATH: /snap/bin:${PATH}
|
||||||
- PKG_CONFIG_PATH: "$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET\
|
- PKG_CONFIG_PATH: "$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET/pkgconfig:$PKG_CONFIG_PATH"
|
||||||
/pkgconfig:$PKG_CONFIG_PATH"
|
|
||||||
cmake-parameters:
|
cmake-parameters:
|
||||||
- -DCMAKE_INSTALL_PREFIX=/usr
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
- -DCMAKE_BUILD_TYPE=Release
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
@@ -137,11 +140,24 @@ parts:
|
|||||||
- -usr/lib/*/pkgconfig
|
- -usr/lib/*/pkgconfig
|
||||||
- -usr/lib/*/cmake
|
- -usr/lib/*/cmake
|
||||||
|
|
||||||
|
kunifiedpush:
|
||||||
|
source: https://invent.kde.org/libraries/kunifiedpush.git
|
||||||
|
plugin: cmake
|
||||||
|
build-environment:
|
||||||
|
- PATH: /snap/bin:${PATH}
|
||||||
|
- PYTHONPATH: ${CRAFT_STAGE}/lib/python3.12/site-packages:${CRAFT_STAGE}/usr/lib/python3/dist-packages
|
||||||
|
- LD_LIBRARY_PATH: "/snap/mesa-2404/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/kde-qt6-core24-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libproxy:$LD_LIBRARY_PATH"
|
||||||
|
cmake-parameters:
|
||||||
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
|
- -DBUILD_TESTING=OFF
|
||||||
|
|
||||||
neochat:
|
neochat:
|
||||||
after:
|
after:
|
||||||
- qtkeychain
|
- qtkeychain
|
||||||
- libquotient
|
- libquotient
|
||||||
- kquickimageeditor
|
- kquickimageeditor
|
||||||
|
- kunifiedpush
|
||||||
parse-info:
|
parse-info:
|
||||||
- usr/share/metainfo/org.kde.neochat.appdata.xml
|
- usr/share/metainfo/org.kde.neochat.appdata.xml
|
||||||
source: .
|
source: .
|
||||||
|
|||||||
Reference in New Issue
Block a user