As long as the dependency is optional and controlled via PACKAGECONFIG
and off by default, the recipe does not have to be in core, and we
have plenty of examples of similar arrangements.

Alex

On Wed, 1 Jun 2022 at 10:05, Marcel Ziswiler <[email protected]> wrote:
>
> On Wed, 2022-06-01 at 09:30 +0200, Alexander Kanavin wrote:
> > This should go to meta-oe I think. Does it have to be in core, and if so 
> > why?
>
> Good question. However, alsa-plugins (and gstreamer1.0-plugins-bad for that 
> matter) also live there and may
> depend on it.
>
> > Alex
>
> Cheers
>
> Marcel
>
> > On Tue, 31 May 2022 at 23:32, Marcel Ziswiler <[email protected]> wrote:
> > >
> > > From: Peter Bergin <[email protected]>
> > >
> > > In order to enable configuration option aaf (AVTP Audio Format)
> > > used for AVB the library libavtp is a dependency but no recipe for
> > > this library was present. aaf support for alsa-plugins was
> > > introduced in ddf5421331180bc45697511b44cdd4a4e6dda6ff.
> > >
> > > Signed-off-by: Peter Bergin <[email protected]>
> > > Signed-off-by: Marcel Ziswiler <[email protected]>
> > >
> > > ---
> > > Resurrect from mailing list [1] as this is still not upstream.
> > > End-to-end tested on Verdin iMX8M Plus.
> > > Will talk about it at the Embedded World Conference in the TSN & Linux
> > > track next month [2].
> > >
> > > [1] 
> > > https://lore.kernel.org/all/[email protected]/
> > > [2] https://events.weka-fachmedien.de/embedded-world-conference/program/
> > >
> > > Changes in v3:
> > > - Rename recipe to officially released PV of 0.2.0.
> > > - Drop PROVIDES of avtp which just works around alsa-plugins refering to
> > >   it as such instead of libavtp. Will update PACKAGECONFIG in
> > >   alsa-plugins instead.
> > >
> > > Changes in v2:
> > > - Updated SRC_URI specifying mandatory protocol as https.
> > > - Updated SRCREV to latest.
> > >
> > >  meta/recipes-multimedia/libavtp/libavtp_0.2.0.bb | 14 ++++++++++++++
> > >  1 file changed, 14 insertions(+)
> > >  create mode 100644 meta/recipes-multimedia/libavtp/libavtp_0.2.0.bb
> > >
> > > diff --git a/meta/recipes-multimedia/libavtp/libavtp_0.2.0.bb 
> > > b/meta/recipes-
> > > multimedia/libavtp/libavtp_0.2.0.bb
> > > new file mode 100644
> > > index 0000000000..563debde3c
> > > --- /dev/null
> > > +++ b/meta/recipes-multimedia/libavtp/libavtp_0.2.0.bb
> > > @@ -0,0 +1,14 @@
> > > +DESCRIPTION = "Open source implementation of Audio Video Transport 
> > > Protocol (AVTP) \
> > > +               specified in IEEE 1722-2016 spec."
> > > +HOMEPAGE = "https://github.com/Avnu/libavtp";
> > > +LICENSE = "BSD-3-Clause"
> > > +LIC_FILES_CHKSUM = "file://LICENSE;md5=7fcb4331e23e45e171cd5693c1ff7d3e"
> > > +
> > > +SRC_URI = 
> > > "git://github.com/Avnu/libavtp.git;branch=v${PV};protocol=https;nobranch=1"
> > > +SRCREV = "3599a5bf2d18fc3ae89b64f208d8380e6ee3a866"
> > > +
> > > +S = "${WORKDIR}/git"
> > > +
> > > +inherit meson pkgconfig
> > > +
> > > +EXTRA_OEMESON = "-Dtests=disabled"
> > > --
> > > 2.36.1
> > >
> > >
> > > 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#166364): 
https://lists.openembedded.org/g/openembedded-core/message/166364
Mute This Topic: https://lists.openembedded.org/mt/91462033/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to