remove quirc

This commit is contained in:
2025-11-25 23:36:56 -06:00
parent 311a57b1e2
commit 155d0bf4b5
12 changed files with 20 additions and 3036 deletions

View File

@@ -8,8 +8,6 @@ libtype = get_option('default_library')
link = []
src = []
fs = import('fs')
add_project_arguments('-Wno-gnu-label-as-value', language: ['c'])
git_tag_cmd = run_command('git', 'describe', '--tags', '--abbrev=0', check: false)
@@ -80,17 +78,9 @@ sdl3_opts.add_cmake_defines({
cc = meson.get_compiler('c')
if host_machine.system() == 'darwin'
# deps += dependency('appleframeworks', modules: 'accelerate')
# add_project_arguments('-DACCELERATE_NEW_LAPACK=1', language:'c')
# add_project_arguments('-DACCELERATE_LAPACK_ILP64=1', language:'c')
endif
if host_machine.system() == 'linux'
deps += cc.find_library('asound', required:true)
deps += [dependency('x11'), dependency('xi'), dependency('xcursor'), dependency('egl'), dependency('gl')]
# deps += cc.find_library('blas', required:true)
# deps += cc.find_library('lapacke', required:true)
endif
if host_machine.system() == 'windows'
@@ -231,18 +221,15 @@ endif
link_args = link
sources = []
src += [
'qjs_http.c',
src += [ # core
'qjs_blob.c',
'qjs_nota.c',
'monocypher.c',
'qjs_crypto.c',
'qjs_time.c',
'qjs_js.c',
'qjs_debug.c',
'qjs_miniz.c',
'timer.c',
'qjs_socket.c',
'qjs_kim.c',
'qjs_utf8.c',
'qjs_fit.c',
@@ -251,14 +238,24 @@ src += [
'cell.c',
'wildmatch.c',
'qjs_wildstar.c',
'qjs_fd.c',
'qjs_qop.c',
'qjs_os.c',
'qjs_actor.c',
'qjs_wota.c',
]
src += [
src += [ # optional core
'qjs_debug.c',
]
src += [ # os specific
'qjs_os.c',
'qjs_fd.c',
'qjs_socket.c',
]
src += 'qjs_http.c'
src += [ # engine
'anim.c',
'config.c',
'datastream.c',
@@ -285,13 +282,7 @@ src += [
'qjs_staef.c',
'cell_qoi.c'
]
# quirc src
src += [
'thirdparty/quirc/quirc.c', 'thirdparty/quirc/decode.c',
'thirdparty/quirc/identify.c', 'thirdparty/quirc/version_db.c'
]
# quickjs src
src += ['quickjs.c', 'libregexp.c', 'libunicode.c', 'cutils.c', 'dtoa.c']
imsrc = [
@@ -308,7 +299,7 @@ srceng = 'source'
tp = srceng / 'thirdparty'
includes = [
srceng, tp / 'cgltf', tp / 'imgui', tp / 'imgui/backends', tp / 'par', tp / 'stb',
tp, tp / 'pl_mpeg/include', tp / 'quirc'
tp, tp / 'pl_mpeg/include'
]
foreach file : src