On 2017年03月17日 20:47, Sebastian Dröge wrote: > On Fri, 17 Mar 2017 18:42:37 +0800 "Ying-Chun Liu (PaulLiu)" > <[email protected]> wrote: >> Package: wnpp >> Owner: "Ying-Chun Liu (PaulLiu)" <[email protected]> >> Severity: wishlist >> >> * Package name : gst-omx >> Version : 1.10.4 >> Upstream Author : Sebastian Dröge <[email protected]> >> * URL : https://gstreamer.freedesktop.org/modules/gst-omx.html >> * License : LGPL-2.1 >> Programming Lang: C >> Description : GStreamer OpenMax plugins >> This plugin wraps available OpenMAX IL components and makes >> them available as standard GStreamer elements. > > Hi, > > Thanks for considering to package gst-omx, but on a generic Debian > system this will never work out of the box (you need a hardware > specific configuration file) and depending on the target embedded > device you will have to compile it specifically for that device. > > How did you plan on packaging gst-omx? > > > Sebastian >
Hi Sebastian,
Sorry forgot to mention my plan.
Currently we have some libomxil-bellago* in Debian.
I plan to package gst-omx by using update-alternatives on libgstomx.so
and /etc/xdg/gstomx.conf on different configs.
So my plan is to have the following binary packages:
* gstreamer1.0-omx-generic: contains libgstomx-generic.so (build with
generic target) and with the lowest priority for libgstomx.so
* gstreamer1.0-omx-generic-bin: usr/bin/listcomponents (I think we
don't need to alternate this right? as it only reads the component names
of openmax IL).
* gstreamer1.0-omx-generic-config: contains
/etc/xdg/gstomx-generic.conf which is an empty config and provides
/etc/xdg/gstomx.conf with lowest priority.
* gstreamer1.0-omx-bellagio: contains libgstomx-bellagio.so (build with
bellagoi target) and with the mid priority for libgstomx.so. This
package will be set priority: extra.
* gstreamer1.0-omx-bellagio-config: contains
/etc/xdg/gstomx-bellagio.conf modify with current Debian
libomxil-bellagio path. And provides /etc/xdg/gstomx.conf with mid
priority. This package will be set priority: extra.
Do you think this is good?
I tried to build RPi but it needs to Build-Depends on proprietary
headers so I'm not going to build it.
For RPi they can use update-alternatives to override libgstomx.so.
Please give me more comments if this is possible. Thank you very much.
Yours,
Paul
--
PaulLiu (劉穎駿)
E-mail: Ying-Chun Liu (PaulLiu) <[email protected]>
signature.asc
Description: OpenPGP digital signature

