I’d like to donate: https://github.com/diddledan/libopenh264-helper for use on the remote parts thingy (https://wiki.ubuntu.com/snapcraft/parts) I’m happy for it to be forked into a more central and official location so that accountability can be maintained if it is required to do so.
Usage:
- add [1] to your launcher (once included in remote parts list)
- prepend your command with
libopenh264-launch
, like [2] or in combination with a desktop-helper, like [3] if foo is in the $PATH. You can as well specify [4] to include the full path to the SNAP’s filesystem. - add needed plugs to your application:
- for a graphical application (Think about adding opengl for hardware acceleration).[5]
- if your application needs access to sound. [6]
- access to user’s home directory. [7]
- access to Mir. [8]
YAML Code:
[1] after: [libopenh264-helper]
[2] command: libopenh264-launch foo
[3] command: desktop-launch libopenh264-launch foo
[4] command: libopenh264-launch $SNAP/foo
[5] plugs: [X11 (or unity7 for appmenu integration)]
[6] plugs: [pulseaudio]
[7] plugs: [home]
[8]
plugs:
mir:
mir-libs:
default-provider: mir-libs
interface: content
target: mir-libs