|
|
|
@ -5,7 +5,7 @@ project('libepoxy', 'c', version: '1.4.1', |
|
|
|
|
'warning_level=1', |
|
|
|
|
], |
|
|
|
|
license: 'MIT', |
|
|
|
|
meson_version: '>= 0.36.0') |
|
|
|
|
meson_version: '>= 0.38.1') |
|
|
|
|
|
|
|
|
|
epoxy_version = meson.project_version().split('.') |
|
|
|
|
epoxy_major_version = epoxy_version[0].to_int() |
|
|
|
@ -223,17 +223,13 @@ configure_file(input: 'epoxy.pc.in', |
|
|
|
|
install_dir: join_paths(epoxy_libdir, 'pkgconfig')) |
|
|
|
|
|
|
|
|
|
# Python |
|
|
|
|
# XXX: Depend on 0.37.1 for: |
|
|
|
|
# python = import('python3').find_python() |
|
|
|
|
python = find_program('python3', required: false) |
|
|
|
|
python = import('python3').find_python() |
|
|
|
|
if not python.found() |
|
|
|
|
python = find_program('python', required: true) |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
# Generates the dispatch tables |
|
|
|
|
# XXX: Depend on 0.38.1 for: |
|
|
|
|
# gen_dispatch_py = files('src/gen_dispatch.py') |
|
|
|
|
gen_dispatch_py = join_paths(meson.source_root(), 'src/gen_dispatch.py') |
|
|
|
|
gen_dispatch_py = files('src/gen_dispatch.py') |
|
|
|
|
|
|
|
|
|
gl_registry = files('registry/gl.xml') |
|
|
|
|
egl_registry = files('registry/egl.xml') |
|
|
|
|