meson: Lower version requirement to 0.53.0

Change-Id: I0daf2e72ece536bcd161bf0d7ea39e56fde23e27
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
Jeffy Chen
2023-11-23 16:55:43 +08:00
committed by Caesar Wang
parent f450951d02
commit 38ae3b4935
2 changed files with 9 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
project(
'libmali', 'c',
version : '1.9.0',
meson_version : '>=0.58.0')
meson_version : '>=0.53.0')
mali_version = meson.project_version()
@@ -43,8 +43,9 @@ endif
message('Source libraries: @0@'.format(libs))
# Load original mali library for later function checks and linking
mali = cc.find_library(fs.stem(default_lib).replace('lib',''),
dirs : meson.current_source_dir() / fs.parent(default_lib))
run_command('ln', '-rsf', meson.current_source_dir() / default_lib,
meson.current_build_dir() / 'libmali-prebuilt.so', check : false)
mali = cc.find_library('mali-prebuilt', dirs : meson.current_build_dir())
is_rk3288 = gpu == 'midgard-t76x'
is_utgard = gpu.split('-')[0] == 'utgard'

View File

@@ -8,15 +8,15 @@ option('subversion', type: 'string', value: 'none',
description: 'subversion (default: none)')
option('platform', type: 'string', value: 'gbm',
description: 'platform (default: gbm)')
option('with-overlay', type: 'boolean', value: 'false',
option('with-overlay', type: 'boolean', value: false,
description: 'Install overlay (default: false)')
option('opencl-icd', type: 'boolean', value: 'true',
option('opencl-icd', type: 'boolean', value: true,
description: 'OpenCL Installable Client Driver (ICD) (default: true)')
option('khr-header', type: 'boolean', value: 'false',
option('khr-header', type: 'boolean', value: false,
description: 'Install KHR header (default: false)')
option('vendor-package', type: 'boolean', value: 'false',
option('vendor-package', type: 'boolean', value: false,
description: 'Install as vendor package (default: false)')
option('hooks', type: 'boolean', value: 'true',
option('hooks', type: 'boolean', value: true,
description: 'Enable hook library (default: true)')
option('wrappers', type: 'feature', value: 'auto',
description: 'Install with wrappers (default: auto)')