• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1wayland_egl = library(
2	'wayland-egl',
3	sources: [
4		'wayland-egl.c',
5		wayland_client_protocol_h
6	],
7	include_directories: src_inc,
8	version: '1.0.0',
9	install: true
10)
11
12executable('wayland-egl-abi-check', 'wayland-egl-abi-check.c')
13
14nm_path = find_program('nm').path()
15
16test(
17	'wayland-egl symbols check',
18	find_program('wayland-egl-symbols-check'),
19	env: [
20		'WAYLAND_EGL_LIB=@0@'.format(wayland_egl.full_path()),
21		'NM=@0@'.format(nm_path)
22	]
23)
24
25install_headers([
26	'wayland-egl.h',
27	'wayland-egl-core.h',
28	'wayland-egl-backend.h'
29])
30
31pkgconfig.generate(
32	name: 'wayland-egl',
33	description: 'Frontend wayland-egl library',
34	version: '18.1.0',
35	requires: 'wayland-client',
36	libraries: wayland_egl
37)
38
39pkgconfig.generate(
40	name: 'wayland-egl-backend',
41	description: 'Backend wayland-egl interface',
42	version: '3'
43)
44