[Buildroot] [PATCH v2 2/3] package/mesa3d-headers: fix install of dri.pc

Bernd Kuhls bernd.kuhls at t-online.de
Sat Apr 25 21:15:32 UTC 2020


[posted and mailed]

Thomas Petazzoni <thomas.petazzoni at bootlin.com> 
wrote in news:20200425225823.2f68e8ef at windsurf.home:

> Hello Bernd,
> 
> On Wed, 23 Oct 2019 08:22:19 +0200
> Bernd Kuhls <bernd.kuhls at t-online.de> wrote:
> 
>> Due to the switch of mesa3d to the meson build system the upstream
>> tarball does not include dri.pc.in anymore, it is created during the
>> build now:
>> 
https://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/meson.build?
h=19.2#n93
>> 
>> In order to provide dri.pc we need to add a version taken from a dri-
>> based mesa3d build to our source repository, by doing so we can reduce
>> the number of sed commands.
> 
> I am sorry, but I don't understand the reasoning behind this patch. If
> the new meson build system produces a dri.pc file, why don't we use it?
> What is wrong with it?

Hi Thomas,

the mesa3d-headers package does not use the mesa3d meson build system, it 
uses the buildroot generic-package infrastructure and copies files from the 
mesa3d source tarball, which is lacking dri.pc.in now, to staging dir.

Regards, Bernd




More information about the buildroot mailing list