[RFC wayland 3/9] wayland-egl: introduce wayland-egl-backend.pc

Duncan Roe duncan_roe at optusnet.com.au
Sun Sep 17 12:28:06 UTC 2017


On Fri, Sep 15, 2017 at 11:29:21AM +0100, Emil Velikov wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> File will be installed alongside the backend header.
>
> This way Vendor implementations have enough information about the
> interface and they can build their backend/driver library accordingly.
>
> Cc: Miguel A. Vico <mvicomoya at nvidia.com>
> Cc: James Jones <jajones at nvidia.com>
> Cc: Daniel Stone <daniels at collabora.com>
> Cc: duncan-roe <duncan_roe at optusnet.com.au>
> Cc: Takanari Hayama <taki at igel.co.jp>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> Any input on the actual private/backend header name and pkg-config file
> will be greatly appreciated.
> ---
>  egl/wayland-egl-backend.pc.in | 9 +++++++++
>  1 file changed, 9 insertions(+)
>  create mode 100644 egl/wayland-egl-backend.pc.in
>
> diff --git a/egl/wayland-egl-backend.pc.in b/egl/wayland-egl-backend.pc.in
> new file mode 100644
> index 0000000..6cf0ed4
> --- /dev/null
> +++ b/egl/wayland-egl-backend.pc.in
> @@ -0,0 +1,9 @@
> +prefix=@prefix@
> +exec_prefix=@exec_prefix@
> +includedir=@includedir@
> +
> +Name: wayland-egl-backend
> +Description: Backend wayland-egl interface
> +Version: 3
> +Libs:
> +Cflags: -I${includedir}
> --
> 2.14.1
>

Hi Emil,

You only need one pkg-config file per package.

Are you planning to split off a new wayland-egl-backend package consisting
solely of 1 header file?

If wayland-egl-backend.h stays as part of wayland-egl, wayland-egl.pc will
suffice for it.

HTH,

Cheers ... Duncan.


More information about the wayland-devel mailing list