代码拉取完成,页面将自动刷新
同步操作将从 openKylin/intel-vaapi-driver 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
project(
'intel-vaapi-driver', 'c',
version : '2.4.0.0',
meson_version : '>= 0.43.0',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized' ])
version_arr = meson.project_version().split('.')
intel_vaapi_driver_major_version = version_arr[0]
intel_vaapi_driver_minor_version = version_arr[1]
intel_vaapi_driver_micro_version = version_arr[2]
intel_vaapi_driver_version = '@0@.@1@.@2@'.format(intel_vaapi_driver_major_version,
intel_vaapi_driver_minor_version,
intel_vaapi_driver_micro_version)
if version_arr.length() == 4
intel_vaapi_driver_pre_version = version_arr[3]
intel_vaapi_driver_version = '@0@.pre@1@'.format(intel_vaapi_driver_version,
intel_vaapi_driver_pre_version)
endif
cc = meson.get_compiler('c')
dl_dep = cc.find_library('dl')
mathlib_dep = cc.find_library('m', required : false)
git = find_program('git', required : false)
thread_dep = dependency('threads')
libdrm_dep = dependency('libdrm', version : '>= 2.4.52')
libdrm_intel_dep = dependency('libdrm_intel')
libva_version = '>= 1.1.0'
libva_dep = dependency('libva', version : libva_version,
fallback : [ 'libva', 'libva_dep' ])
if get_option ('enable_tests')
libva_drm_dep = dependency('libva-drm', version : libva_version,
fallback : [ 'libva', 'libva_drm_dep' ])
endif
va_api_major_version = '0'
va_api_minor_version = '33'
driverdir = get_option('driverdir')
if libva_dep.type_name() == 'pkgconfig'
if driverdir == ''
driverdir = libva_dep.get_pkgconfig_variable('driverdir')
endif
va_api_version_array = libva_dep.version().split('.')
va_api_major_version = va_api_version_array[0]
va_api_minor_version = va_api_version_array[1]
else
libva = subproject('libva')
if driverdir == ''
driverdir = libva.get_variable('driverdir')
endif
va_api_major_version = libva.get_variable('va_api_major_version')
va_api_minor_version = libva.get_variable('va_api_minor_version')
endif
if driverdir == ''
driverdir = '@0@/@1@/@2@'.format(get_option('prefix'), get_option('libdir'), 'dri')
endif
va_driver_init_func = '__vaDriverInit_@0@_@1@'.format(va_api_major_version,
va_api_minor_version)
WITH_X11 = false
if get_option('with_x11') != 'no'
libva_x11_dep = dependency(
'libva-x11',
version : libva_version,
required : get_option('with_x11') == 'yes')
WITH_X11 = libva_x11_dep.found()
endif
WITH_WAYLAND = false
if get_option('with_wayland') != 'no'
wayland_client_dep = dependency(
'wayland-client',
version : '>= 1.11.0',
required : get_option('with_wayland') == 'yes')
if wayland_client_dep.found()
prefix = wayland_client_dep.get_pkgconfig_variable('prefix')
wayland_scanner = join_paths(prefix, 'bin', 'wayland-scanner')
else
wayland_scanner = ''
endif
wl_scanner = find_program('wayland-scanner', wayland_scanner,
required : get_option('with_wayland') == 'yes')
libva_wayland_dep = dependency(
'libva-wayland',
version : libva_version,
required : get_option('with_wayland') == 'yes')
WITH_WAYLAND = (wayland_client_dep.found()
and wl_scanner.found()
and libva_wayland_dep.found())
endif
subdir('src')
if get_option('enable_tests')
srcdir = include_directories('src')
subdir('test')
endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。