1- diff -ru8bBwd a/meson.build b/meson.build
2- --- a/meson.build 2025-04-16 16:25:54.000000000 +0200
3- +++ b/meson.build 2025-04-17 10:43:03.788695092 +0200
4- @@ -1,16 +1,18 @@
1+ diff --git a/meson.build b/meson.build
2+ index c35c7ce..a77e993 100644
3+ --- a/meson.build
4+ +++ b/meson.build
5+ @@ -1,11 +1,13 @@
56 project('cefbrowser', 'cpp', 'c',
67 version : '0.1',
78 default_options : ['warning_level=1', 'cpp_std=c++17', 'default_library=static', 'optimization=3', 'buildtype=debug' ],
@@ -16,17 +17,7 @@ diff -ru8bBwd a/meson.build b/meson.build
1617
1718 cmake = import('cmake')
1819 CXX = meson.get_compiler('cpp')
19-
20- #
21- # Download and extract subprojects
22- #
23- run_command('./setup.sh', arch, meson.current_build_dir(), check: false)
24- @@ -18,19 +20,24 @@
25- #
26- # Build cef
27- #
28- cef_opt_var = cmake.subproject_options()
29-
20+ @@ -23,9 +25,14 @@ cef_opt_var = cmake.subproject_options()
3021 if arch == 'arm'
3122 cef_opt_var.add_cmake_defines({'PROJECT_ARCH': 'armhf'})
3223 elif arch == 'arm64'
@@ -42,17 +33,7 @@ diff -ru8bBwd a/meson.build b/meson.build
4233 cef_opt_var.append_compile_args('cpp', '-Wno-unused-variable')
4334 cef_opt_var.add_cmake_defines({'CMAKE_BUILD_TYPE': 'Debug'})
4435 cef_proj = cmake.subproject('cef', options: cef_opt_var)
45- cef_lib = cef_proj.dependency('libcef_dll_wrapper')
46-
47- #
48- # spdlog
49- #
50- @@ -58,32 +65,17 @@
51- #
52- # ssl
53- #
54- dep_ssl = dependency('libssl')
55- dep_crypto = dependency('libcrypto')
36+ @@ -63,22 +70,7 @@ dep_crypto = dependency('libcrypto')
5637
5738 # thrift
5839 # thrift
@@ -76,19 +57,9 @@ diff -ru8bBwd a/meson.build b/meson.build
7657
7758 #
7859 # Build browser
79- #
80- shared_libs = ['cef', 'z']
81- deps = []
82- foreach lib_name : shared_libs
83- deps += CXX.find_library(lib_name, dirs : [meson.project_source_root() + '/subprojects/cef/Release'])
84- @@ -98,19 +90,19 @@
85- 'thrift-services/src-client/VdrClient.cpp', 'thrift-services/src-client/TranscoderClient.cpp',
86- 'thrift-services/src-gen/CommonService.cpp', 'thrift-services/src-gen/common_types.cpp',
87- 'thrift-services/src-gen/CefBrowser.cpp', 'thrift-services/src-gen/cefbrowser_types.cpp',
88- 'thrift-services/src-gen/VdrPluginWeb.cpp', 'thrift-services/src-gen/pluginweb_types.cpp',
89- 'thrift-services/src-gen/RemoteTranscoder.cpp', 'thrift-services/src-gen/remotetranscoder_types.cpp',
60+ @@ -108,14 +100,14 @@ exe = executable('cefbrowser', 'main.cpp', 'mainapp.cpp', 'logger.cpp',
9061 include_directories : incdir,
91- cpp_args : ['-DPHTTPLIB_ZLIB_SUPPORT', '-DCPPHTTPLIB_OPENSSL_SUPPORT'] ,
62+ cpp_args : browser_compile_args ,
9263 install : true,
9364- install_dir : meson.current_build_dir() + '/Release',
9465+ link_args: '-lrt',
@@ -106,49 +77,12 @@ diff -ru8bBwd a/meson.build b/meson.build
10677+ install_subdir('static-content/css', install_dir : 'cefbrowser')
10778+ install_subdir('static-content/database', install_dir : 'cefbrowser')
10879+ install_subdir('static-content/application', install_dir : 'cefbrowser')
109- diff -ru8bBwd a/meson_options.txt b/meson_options.txt
110- --- a/meson_options.txt 2025-04-16 16:25:54.000000000 +0200
111- +++ b/meson_options.txt 2025-04-17 10:42:27.152531287 +0200
112- @@ -1 +1,2 @@
80+ diff --git a/meson_options.txt b/meson_options.txt
81+ index 83e87ea..c543615 100644
82+ --- a/meson_options.txt
83+ +++ b/meson_options.txt
84+ @@ -1,2 +1,3 @@
11385 option('arch', type : 'combo', choices : ['x86', 'arm', 'arm64'], value : 'x86')
11486+ option('subarch', type : 'string', value : 'armv8-a')
115- diff -ru8bBwd a/subprojects/packagefiles/mini-0.9.14/meson.build b/subprojects/packagefiles/mini-0.9.14/meson.build
116- --- a/subprojects/packagefiles/mini-0.9.14/meson.build 2025-04-16 16:25:54.000000000 +0200
117- +++ b/subprojects/packagefiles/mini-0.9.14/meson.build 2025-04-17 10:42:27.152531287 +0200
118- @@ -1,15 +1,15 @@
119- project(
120- 'mINI',
121- 'c', 'cpp',
122- version: '0.8.5',
123- license: 'Apache-2.0 license',
124- default_options: ['cpp_std=c++17'],
125- - meson_version: '>=0.63.0',
126- + meson_version: '>=0.57.1',
127- )
128-
129- inc = include_directories('src')
130-
131- mini_dependencies = []
132- mini_compile_args = ['-O3']
133-
134- mini_dep = declare_dependency(
135- diff -ru8bBwd a/subprojects/packagefiles/tiny-process-library-4bf0e59e64f18d3080a1ce4e853775de2181e993/meson.build b/subprojects/packagefiles/tiny-process-library-4bf0e59e64f18d3080a1ce4e853775de2181e993/meson.build
136- --- a/subprojects/packagefiles/tiny-process-library-4bf0e59e64f18d3080a1ce4e853775de2181e993/meson.build 2025-04-16 16:25:54.000000000 +0200
137- +++ b/subprojects/packagefiles/tiny-process-library-4bf0e59e64f18d3080a1ce4e853775de2181e993/meson.build 2025-04-17 10:42:27.152531287 +0200
138- @@ -1,15 +1,15 @@
139- project(
140- 'tiny_process_library',
141- 'cpp',
142- version: '4bf0e59e64f18d3080a1ce4e853775de2181e993',
143- license: 'MIT',
144- default_options: ['cpp_std=c++17'],
145- - meson_version: '>=0.63.0',
146- + meson_version: '>=0.57.1',
147- )
148-
149- src = files(
150- 'process.cpp',
151- 'process_unix.cpp',
152- )
153-
154- inc = include_directories('.')
87+ option('debug_thrift', type: 'boolean', value: false, description: 'Enable more debug logging')
88+ \ No newline at end of file
0 commit comments