Files
graphene/meson.build
Wojtek Porczyk 2b8e81b0ce [meson] Fix for compatibility with 0.45
This is the version bionic (Ubuntu 18.04) has. Users of xenial (16.04)
can install from pypi.
2020-12-02 22:45:07 +01:00

32 lines
943 B
Meson

project(
'graphene', 'c',
version: '1.0',
license: 'LGPLv3+',
# DISTRO EOL meson_version
# xenial 2021.04 0.29
# xenial-backports 2021.04 0.40
# bionic 2023.04 0.45
# buster 2022 0.49
# buster-backports 2022 0.52
# focal 2025.04 0.53
#
# https://wiki.ubuntu.com/Releases
# https://wiki.debian.org/DebianReleases#Production_Releases
meson_version: '>=0.45',
)
prefix = get_option('prefix')
pkglibexecdir = join_paths(get_option('libexecdir'), meson.project_name())
pkgdatadir = join_paths(get_option('datadir'), meson.project_name())
direct = get_option('direct') == 'enabled'
sgx = get_option('sgx') == 'enabled'
# TODO: after deprecating 18.04/bionic, update this to import('python')
python3mod = import('python3')
python3 = python3mod.find_python()
subdir('Runtime')
subdir('python')