meson: build libEGL
authorDylan Baker <dylan@pnwbakers.com>
Wed, 18 Oct 2017 19:20:43 +0000 (12:20 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 20 Oct 2017 23:46:48 +0000 (16:46 -0700)
commit108d257a16859898f5ce02f4759c5c58f9b8c050
tree0bda907e3e63c9dad56e0656b9336c0ae34a233b
parentddf06a05ad32118854136f9ad0bc2a38f41e6430
meson: build libEGL

This is based heavily on Daniel Stone's work for the same, rebased on
master and with a number of TODO's fixed.

This does not implement glvnd (which is coming in a later patch)

Meson builds egl slightly differently than autotools, namely it doesn't
build an intermediate shared library. It doesn't do this because meson
doesn't have problems with the name of the library being dynamically
generated, so the glvnd and non-glvnd code can follow the same path.

v2: - Don't reuse variable (Eric E.)

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Tested-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
include/meson.build
meson.build
meson_options.txt
src/egl/meson.build [new file with mode: 0644]
src/egl/wayland/wayland-drm/meson.build
src/egl/wayland/wayland-egl/meson.build [new file with mode: 0644]
src/gbm/meson.build
src/glx/meson.build
src/meson.build