[OE-core] [PATCH 2/5] libva-initial: New recipe to carry only pkgconfig files and headers
Böszörményi Zoltán
zboszor at pr.hu
Wed Feb 26 17:38:02 UTC 2020
2020. 02. 26. 18:16 keltezéssel, Alexander Kanavin írta:
> Right, then I am okay with this, as long as there are proper commit messages, and no
> version in .inc filename.
>
> Alex
Thank you, I'll send a v2 patchset with proper commit messages and a cover mail tomorrow.
>
> On Wed, 26 Feb 2020 at 17:37, Böszörményi Zoltán <zboszor at pr.hu <mailto:zboszor at pr.hu>> wrote:
>
> 2020. 02. 26. 17:35 keltezéssel, Böszörményi Zoltán via Openembedded-core írta:
> > 2020. 02. 26. 17:12 keltezéssel, Alexander Kanavin írta:
> >> The 'circular dependency' thing must be explained in the commits, and not in a
> >> discussion link to some email elsewhere.
> >>
> >> I still don't get why this is needed. The -initial recipe is identical to the
> eventual
> >> 'real' recipe, so where is the circularity coming from?
> >
> > libva -> mesa -> libva
>
> And the -initial recipe is NOT identical to the real one.
> The real one always had DEPENDS = "virtual/mesa"
>
> >
> >>
> >> Alex
> >>
> >> On Wed, 26 Feb 2020 at 15:05, Böszörményi Zoltán via Openembedded-core
> >> <openembedded-core at lists.openembedded.org
> <mailto:openembedded-core at lists.openembedded.org>
> >> <mailto:openembedded-core at lists.openembedded.org
> <mailto:openembedded-core at lists.openembedded.org>>> wrote:
> >>
> >> The package name exploits sstate.bbclass so it's not added as
> >> implicit dependency to packages.
> >>
> >> Signed-off-by: Böszörményi Zoltán <zboszor at pr.hu <mailto:zboszor at pr.hu>
> <mailto:zboszor at pr.hu <mailto:zboszor at pr.hu>>>
> >> ---
> >> meta/recipes-graphics/libva/libva-2.6.1.inc | 4 +++-
> >> meta/recipes-graphics/libva/libva-initial_2.6.1.bb
> <http://libva-initial_2.6.1.bb> <http://libva-initial_2.6.1.bb> |
> >> 5 +++++
> >> 2 files changed, 8 insertions(+), 1 deletion(-)
> >> create mode 100644 meta/recipes-graphics/libva/libva-initial_2.6.1.bb
> <http://libva-initial_2.6.1.bb>
> >> <http://libva-initial_2.6.1.bb>
> >>
> >> diff --git a/meta/recipes-graphics/libva/libva-2.6.1.inc
> >> b/meta/recipes-graphics/libva/libva-2.6.1.inc
> >> index ca1386d80b..5b1cdee7e3 100644
> >> --- a/meta/recipes-graphics/libva/libva-2.6.1.inc
> >> +++ b/meta/recipes-graphics/libva/libva-2.6.1.inc
> >> @@ -17,10 +17,12 @@ SECTION = "x11"
> >> LICENSE = "MIT"
> >> LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"
> >>
> >> -SRC_URI =
> "https://github.com/intel/${BPN}/releases/download/${PV}/${BP}.tar.bz2
> <https://github.com/intel/$%7BBPN%7D/releases/download/$%7BPV%7D/$%7BBP%7D.tar.bz2>
> >>
> <https://github.com/intel/$%7BBPN%7D/releases/download/$%7BPV%7D/$%7BBP%7D.tar.bz2>"
> >> +SRC_URI =
> "https://github.com/intel/libva/releases/download/${PV}/libva-${PV}.tar.bz2
> <https://github.com/intel/libva/releases/download/$%7BPV%7D/libva-$%7BPV%7D.tar.bz2>
> >>
> <https://github.com/intel/libva/releases/download/$%7BPV%7D/libva-$%7BPV%7D.tar.bz2>"
> >> SRC_URI[md5sum] = "aef13eb48e01a47d1416d97462a22a11"
> >> SRC_URI[sha256sum] =
> >> "6c57eb642d828af2411aa38f55dc10111e8c98976dbab8fd62e48629401eaea5"
> >>
> >> +S = "${WORKDIR}/libva-${PV}"
> >> +
> >> UPSTREAM_CHECK_URI = "https://github.com/intel/libva/releases"
> >>
> >> DEPENDS = "libdrm"
> >> diff --git a/meta/recipes-graphics/libva/libva-initial_2.6.1.bb
> <http://libva-initial_2.6.1.bb>
> >> <http://libva-initial_2.6.1.bb>
> b/meta/recipes-graphics/libva/libva-initial_2.6.1.bb <http://libva-initial_2.6.1.bb>
> >> <http://libva-initial_2.6.1.bb>
> >> new file mode 100644
> >> index 0000000000..828ef6fbca
> >> --- /dev/null
> >> +++ b/meta/recipes-graphics/libva/libva-initial_2.6.1.bb
> <http://libva-initial_2.6.1.bb>
> >> <http://libva-initial_2.6.1.bb>
> >> @@ -0,0 +1,5 @@
> >> +require libva-${PV}.inc
> >> +
> >> +do_install_append () {
> >> + rm -f ${D}${libdir}/*.so*
> >> +}
> >> -- 2.24.1
> >>
> >> -- _______________________________________________
> >> Openembedded-core mailing list
> >> Openembedded-core at lists.openembedded.org
> <mailto:Openembedded-core at lists.openembedded.org>
> >> <mailto:Openembedded-core at lists.openembedded.org
> <mailto:Openembedded-core at lists.openembedded.org>>
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >>
> >
>
More information about the Openembedded-core
mailing list