Skip to content

Commit

Permalink
ci: tweak lint compilation flags (#591)
Browse files Browse the repository at this point in the history
- ci: drop unused define when linting
- ci: align linting compiling flags with koreader
Enable all image formats, except for lunasvg (which needs a custom patched version).
  • Loading branch information
benoit-pierre authored Jul 28, 2024
1 parent 5037c1c commit e95789c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ jobs:
libfribidi-dev
libharfbuzz-dev
libjpeg-turbo8-dev
libpng-dev
libunibreak-dev
libutf8proc-dev
libwebp-dev
libxml2-utils
libzstd-dev
)
Expand Down
5 changes: 4 additions & 1 deletion utils/lint.mk
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,15 @@ define CPPFLAGS+=
-DBUILD_LITE=0
-DCR3_PATCH=1
-DCR_EMULATE_GETTEXT
-DCR_RENDER_32BPP_RGB_PXFMT
-DUSE_FONTCONFIG=0
-DUSE_FREETYPE=1
-DUSE_FRIBIDI=1
-DUSE_GIF=1
-DUSE_HARFBUZZ=1
-DUSE_LIBJPEG=1
-DUSE_LIBPNG=1
-DUSE_LIBUNIBREAK=1
-DUSE_LIBWEBP=1
-DUSE_NANOSVG=0
-DUSE_UTF8PROC=1
-DUSE_ZSTD=1
Expand Down

0 comments on commit e95789c

Please sign in to comment.