Developing new plugin out of tree

Russel Winder russel at winder.org.uk
Sun Apr 23 12:46:22 UTC 2017


On Sun, 2017-04-23 at 12:45 +0100, Sebastian Dröge wrote:
> 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 :)

Exactly why I was asking. :-)

The gst-plugins-bad sys/dvb build assumes the values are handed down
from above. I was hoping to avoid trying to workout from the Meson
build how to find the correct values, but I may have to.

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

No worries, thanks for taking time to respond.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170423/4be21fa6/attachment.sig>


More information about the gstreamer-devel mailing list