Update LVGL. Enable FFMPEG if available
This commit is contained in:
parent
31d12a2f7d
commit
e8fb6581ba
@ -1 +1 @@
|
|||||||
Subproject commit 84c751afdb013f50da672dfcc55393c9277f23c5
|
Subproject commit a04f5372ee760090978007ec4f67fdc2bd9e8b75
|
||||||
@ -233,6 +233,14 @@ CFLAGS_MOD += $(FREETYPE_CFLAGS_MOD) -DMICROPY_FREETYPE=1
|
|||||||
LDFLAGS_MOD += $(FREETYPE_LDFLAGS_MOD)
|
LDFLAGS_MOD += $(FREETYPE_LDFLAGS_MOD)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
FFMPEG_LIBS := libavformat libavcodec libswscale
|
||||||
|
FFMPEG_CFLAGS_MOD := $(shell pkg-config --silence-errors --cflags $(FFMPEG_LIBS))
|
||||||
|
FFMPEG_LDFLAGS_MOD := $(shell pkg-config --silence-errors --libs $(FFMPEG_LIBS))
|
||||||
|
ifneq ($(FFMPEG_LDFLAGS_MOD),)
|
||||||
|
CFLAGS_MOD += $(FFMPEG_CFLAGS_MOD) -DMICROPY_FFMPEG=1
|
||||||
|
LDFLAGS_MOD += $(FFMPEG_LDFLAGS_MOD)
|
||||||
|
endif
|
||||||
|
|
||||||
# source files
|
# source files
|
||||||
SRC_C += \
|
SRC_C += \
|
||||||
main.c \
|
main.c \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user