Snapcraft, snap store and linux

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Snapcraft, snap store and linux

Davide Perini
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Snapcraft, snap store and linux

Tyler Compton
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 <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Snapcraft, snap store and linux

Davide Perini
Wonderful, love GStreamer, love its community.
I am trying to understand how to create a snap from my .apk/.rpm but this is a problem of another list :D

Thank you so much for the snippet!

Kind Regards,
Davide

Il 23/10/2020 02:15, Tyler Compton ha scritto:
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 <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel