Developing new plugin out of tree

Sebastian Dröge sebastian at centricular.com
Sun Apr 23 11:45:38 UTC 2017


On Sun, 2017-04-23 at 11:51 +0100, Russel Winder wrote:
> Hi,
> 
> I have extracted the sys/dvb directory from the gst-plugins-bad
> repository so as to develop a new version based on libdvbv5 rather
> than
> using the Linux API directly. Following Tim suggestion I have a
> meson.build file that allows the current code to build. However I had
> to add:
> 
> conf_data = configuration_data()
> conf_data.set('VERSION', '"1.11.90"')
> conf_data.set('PACKAGE', '"gst-dvb"')
> conf_data.set('GETTEXT_PACKAGE', '"gst-dvb"')
> conf_data.set('GST_LICENSE', '""')
> conf_data.set('GST_PACKAGE_NAME', '""')
> conf_data.set('GST_PACKAGE_ORIGIN', '""')
> conf_data.set('GST_API_VERSION', '""')
> 
> I am wondering what the right way to populate these symbols is, for
> this "out of repository" context.

You probably want to set correct values for these, at least
GST_API_VERSION and GST_LICENSE will otherwise cause problems when
loading the plugin. Check the values that are defined for the dvb
plugin in gst-plugins-bad for some inspiration :)

For how to let these things best defined with meson, I don't know.
Sorry!

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1000 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170423/746d2f12/attachment.sig>


More information about the gstreamer-devel mailing list