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

Yann E. MORIN yann.morin.1998 at free.fr
Sat Apr 25 21:26:22 UTC 2020


On 2020-04-25 22:58 +0200, Thomas Petazzoni spake thusly:
> 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?

Because mesa3d-headers is not a meson package, but a generic package: it
only installs a select set of headers, and dri.pc when xorg is enabled.

So, the dri.pc generated by the meson buildsystem, is not generated.

Since there is now no template anymore in the source tree, we need to
get one from wmewhere...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list