[neon/snap-packaging/gwenview-snap] /: Sound working, no video yet, for me.

Scarlett Moore null at kde.org
Wed Jun 19 15:29:23 BST 2024


Git commit aa82117aaed6ed65d81efae4c6fec372253fbe06 by Scarlett Moore.
Committed on 19/06/2024 at 14:29.
Pushed by scarlettmoore into branch 'master'.

Sound working, no video yet, for me.

M  +10   -6    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/gwenview-snap/-/commit/aa82117aaed6ed65d81efae4c6fec372253fbe06

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 2a91dbb..4818b2e 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -25,14 +25,14 @@ apps:
         - snap/command-chain/desktop-launch6
 environment:
   LD_LIBRARY_PATH: "/snap/kf6-core22/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/kde-qt6-core22-sdk/current/usr/lib:$SNAP/usr/lib:$SNAP/lib/:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pulseaudio:/usr/lib:/lib"
-  GST_PLUGIN_PATH: "$SNAP/kf6/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gstreamer-1.0"
+  GST_PLUGIN_PATH: "$SNAP/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-core22/current/etc/asound.conf"
   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/kf6-core22/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/alsa-lib
+    bind: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/alsa-lib
 slots:
     session-dbus-interface:
         interface: dbus
@@ -144,7 +144,14 @@ parts:
         - libcfitsio-dev
         - libpulse0
         - libfreetype-dev
+        build-snaps:
+        - ffmpeg-2204-sdk
+        stage-snaps:
+        - ffmpeg-2204
         stage-packages:
+        - libasound2
+        - libasound2-plugins
+        - libasound2-data
         - libwayland-client0
         - libxkbcommon0
         - wayland-protocols
@@ -153,11 +160,8 @@ parts:
         - libexiv2-27
         - libcfitsio9
         - libpulse0
-        - vlc-plugin-base
-        - vlc-plugin-video-output
-        - libvlc5
-        - libvlccore9
         - libfreetype6
+        - libopenh264-6
         cmake-parameters:
         - -DCMAKE_INSTALL_PREFIX=/usr
         - -DCMAKE_BUILD_TYPE=Release


More information about the Neon-commits mailing list