Skip to content

Commit b323465

Browse files
author
yuwei
committed
build: 更新 host macOS SDL2 LVGL 预编译包
1 parent 32642db commit b323465

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

dist/lvgl/host_macos/include/lv_conf.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@
3434
#define LV_USE_PXP 0
3535
#define LV_USE_ROTATE_PXP 0
3636
#define LV_USE_DRAW_DAVE2D 0
37+
#define LV_USE_DRAW_SDL 0
38+
39+
#define LV_USE_SDL 1
40+
#define LV_SDL_INCLUDE_PATH <SDL2/SDL.h>
41+
#define LV_SDL_RENDER_MODE LV_DISPLAY_RENDER_MODE_PARTIAL
42+
#define LV_SDL_BUF_COUNT 1
43+
#define LV_SDL_ACCELERATED 0
44+
#define LV_SDL_FULLSCREEN 0
45+
#define LV_SDL_DIRECT_EXIT 0
46+
#define LV_SDL_MOUSEWHEEL_MODE LV_SDL_MOUSEWHEEL_MODE_ENCODER
3747

3848
#define LV_USE_LOG 0
3949
#define LV_USE_ASSERT_NULL 1

dist/lvgl/host_macos/lib/liblvgl.a

13.2 KB
Binary file not shown.

dist/lvgl/host_macos/lvgl_package.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ lvgl.version=9.1.0
22
lvgl.tag=v9.1.0
33
lvgl.commit=e1c0b21b2723d391b885de4b2ee5cc997eccca91
44
platform=host_macos
5+
display_backend=sdl2
6+
input_backend=sdl2
57
toolchain=Apple clang version 21.0.0 (clang-2100.0.123.102)
68
arch=arm64
7-
lv_conf_hash=75672b9ddbb6f51a26c8bef62d269d156eaffca988574cf9a205076f5fda9985
8-
lib_hash=f60379df5c6da0cd7341776f7d69facfa2b1bbbab2bad4fb027509ffa07ab8e2
9+
sdl2.version=2.32.10
10+
sdl2.cflags=-I/opt/homebrew/include/SDL2 -D_THREAD_SAFE
11+
sdl2.libs=-L/opt/homebrew/lib -lSDL2
12+
lv_conf_hash=c719a317f5b7e78ef074fffc7ef0d1f399f1e8bab38d000b4f950a14a6273dfb
13+
lib_hash=3758c0a3749cb31fe7275b36acd87533c7d24fcac850d429d5394e6eec01c469

0 commit comments

Comments
 (0)