[neon/snap-packaging/elisa-snap] /: Use full paths for kf6 snap.

Scarlett Moore null at kde.org
Tue Jul 23 15:26:11 BST 2024


Git commit 49f026c32482a8ccdea6b95b924304596df8bf7b by Scarlett Moore.
Committed on 23/07/2024 at 14:25.
Pushed by scarlettmoore into branch 'master'.

Use full paths for kf6 snap.

M  +6    -6    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/elisa-snap/-/commit/49f026c32482a8ccdea6b95b924304596df8bf7b

diff --git a/snapcraft.yaml b/snapcraft.yaml
index b42add3..eb244fe 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -25,15 +25,15 @@ apps:
         - audio-record
 environment:
   LD_LIBRARY_PATH: "/snap/kf6-core22/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$SNAP/usr/lib:$SNAP/lib/:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/elisa:/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pulseaudio:$SNAP/ffmpeg-platform/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR${LD_LIBRARY_PATH}"
-  PATH: $SNAP/kf6/usr/bin:$SNAP/usr/bin:$SNAP/ffmpeg-platform/usr/bin:${PATH}
+  PATH: /snap/kf6-core22/current/usr/bin:$SNAP/usr/bin:$SNAP/ffmpeg-platform/usr/bin:${PATH}
   XDG_DATA_DIRS: $SNAP/usr/share:/snap/kf6-core22/current/usr/share:$SNAP/.local/usr/share:$SNAP/usr/share:$SNAP/data-dir
   XDG_CONFIG_HOME: $SNAP/etc/xdg:/snap/kf6-core22/current/etc/xdg:/etc/xdg
-  GST_PLUGIN_PATH: "$SNAP/kf6/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gstreamer-1.0"
-  GST_PLUGIN_SYSTEM_PATH: "$SNAP/kf6/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gstreamer-1.0"
-  GST_PLUGIN_SCANNER: "$SNAP/kf6/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
-  ALSA_CONFIG_PATH: "$SNAP/kf6/etc/asound.conf"
+  GST_PLUGIN_PATH: "/snap/kf6-core22/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gstreamer-1.0"
+  GST_PLUGIN_SYSTEM_PATH: "/snap/kf6-core22/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gstreamer-1.0"
+  GST_PLUGIN_SCANNER: "/snap/kf6-core22/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
+  ALSA_CONFIG_PATH: "/snap/kf6-core22/current/etc/asound.conf"
   QT_MEDIA_BACKEND: "ffmpeg"
-  QT_PLUGIN_PATH: $SNAP/kf6/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6/plugins
+  QT_PLUGIN_PATH: /snap/kf6-core22/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6/plugins
 layout:
   /usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/alsa-lib:
     bind: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/alsa-lib


More information about the Neon-commits mailing list