Snapcraft, snap store and linux

Tyler Compton xaviosx at gmail.com
Fri Oct 23 00:15:03 UTC 2020


I am! Snap makes using GStreamer pretty easy, as long as you're willing to
use the version of GStreamer available in Ubuntu's package repositories. If
you have any specific questions, I might be able to help. Check out the
following example, which makes a version of `gst-inspect-1.0` that you can
run as a Snap.

name: gst-inspect
summary: Shows GStreamer elements
description: |
  blah blah blah
version: "1.0"
base: core18
grade: devel
confinement: strict

parts:
  gst-launch:
    plugin: nil
    stage-packages:
      # A list of apt packages to include with the Snap
      - gstreamer1.0-tools
      - gstreamer1.0-plugins-base
      - gstreamer1.0-plugins-good
      - gstreamer1.0-plugins-bad
      - gstreamer1.0-plugins-ugly
    source: .

apps:
  gst-inspect:
    command: usr/bin/gst-inspect-1.0
    environment:
      # Tell GStreamer where to find plugins in the Snap
      GST_PLUGIN_PATH: $SNAP/usr/lib/x86_64-linux-gnu/gstreamer-1.0


On Thu, Oct 22, 2020 at 3:15 PM Davide Perini <perini.davide at dpsoftware.org>
wrote:

> Hi all,
> is there someone bundling gstreamer with an app using the snap store in
> linux?
>
> If yes, how can I bundle gstreamer in my snapcraft.yaml?
>
> Thanks,
> Davide
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201022/0590f184/attachment.htm>


More information about the gstreamer-devel mailing list