[OE-core] [PATCH] xorgproto: move pc files to libdir

Ross Burton ross at burtonini.com
Sat Feb 29 11:33:30 UTC 2020


Can you file a bug upstream so they can fix this?

Ross

On Fri, 28 Feb 2020 at 23:00, Jeremy A. Puhlman <jpuhlman at mvista.com> wrote:
>
> From: Jeremy Puhlman <jpuhlman at mvista.com>
>
> We fixed this two years go:
> http://lists.openembedded.org/pipermail/openembedded-core/2018-June/151922.html
>
> However xorgproto moved to meson and uses pkgconfig module to generate the .pc
> which does not provide a method of omitting the libdir, which now means any
> pc generated from meson using the module will always be mulitlib incompatible.
>
> Signed-off-by: Jeremy A. Puhlman <jpuhlman at mvista.com>
> ---
>  meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb b/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb
> index fb3f3aed3d..c0785ccd64 100644
> --- a/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb
> +++ b/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb
> @@ -19,6 +19,8 @@ inherit meson
>  PACKAGECONFIG ??= ""
>  PACKAGECONFIG[legacy] = "-Dlegacy=true,-Dlegacy=false"
>
> +# Datadir only used to install pc files, $datadir/pkgconfig
> +datadir="${libdir}"
>  # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
>  RDEPENDS_${PN}-dev = ""
>  RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list