mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
package/efl/libefl: add jp2k config option
Like for webp format, add an option to enable the JPEG 2000 codec support in the efl libraries. Signed-off-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
f781a12df0
commit
5b93493ffa
@ -123,6 +123,13 @@ config BR2_PACKAGE_LIBEFL_PNG
|
|||||||
This enables the loader code that loads png files using
|
This enables the loader code that loads png files using
|
||||||
libpng.
|
libpng.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LIBEFL_JP2K
|
||||||
|
bool "libevas jp2k loader"
|
||||||
|
select BR2_PACKAGE_OPENJPEG
|
||||||
|
help
|
||||||
|
This enables the loader code that loads jp2k files using
|
||||||
|
openjpeg.
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBEFL_JPEG
|
config BR2_PACKAGE_LIBEFL_JPEG
|
||||||
bool "libevas jpeg loader"
|
bool "libevas jpeg loader"
|
||||||
help
|
help
|
||||||
|
@ -30,7 +30,6 @@ LIBEFL_GETTEXTIZE = YES
|
|||||||
|
|
||||||
# Configure options:
|
# Configure options:
|
||||||
# --disable-cxx-bindings: disable C++11 bindings.
|
# --disable-cxx-bindings: disable C++11 bindings.
|
||||||
# --disable-image-loader-jp2k: disable JPEG 2000 support.
|
|
||||||
# --disable-sdl: disable sdl2 support.
|
# --disable-sdl: disable sdl2 support.
|
||||||
# --disable-systemd: disable systemd support.
|
# --disable-systemd: disable systemd support.
|
||||||
# --enable-lua-old: disable Elua and remove luajit dependency.
|
# --enable-lua-old: disable Elua and remove luajit dependency.
|
||||||
@ -40,7 +39,6 @@ LIBEFL_CONF_OPTS = \
|
|||||||
--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
|
--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
|
||||||
--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
|
--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
|
||||||
--disable-cxx-bindings \
|
--disable-cxx-bindings \
|
||||||
--disable-image-loader-jp2k \
|
|
||||||
--disable-sdl \
|
--disable-sdl \
|
||||||
--disable-systemd \
|
--disable-systemd \
|
||||||
--enable-lua-old \
|
--enable-lua-old \
|
||||||
@ -178,6 +176,13 @@ else
|
|||||||
LIBEFL_CONF_OPTS += --disable-image-loader-tiff
|
LIBEFL_CONF_OPTS += --disable-image-loader-tiff
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBEFL_JP2K),y)
|
||||||
|
LIBEFL_CONF_OPTS += --enable-image-loader-jp2k=yes
|
||||||
|
LIBEFL_DEPENDENCIES += openjpeg
|
||||||
|
else
|
||||||
|
LIBEFL_CONF_OPTS += --disable-image-loader-jp2k
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBEFL_WEBP),y)
|
ifeq ($(BR2_PACKAGE_LIBEFL_WEBP),y)
|
||||||
LIBEFL_CONF_OPTS += --enable-image-loader-webp=yes
|
LIBEFL_CONF_OPTS += --enable-image-loader-webp=yes
|
||||||
LIBEFL_DEPENDENCIES += webp
|
LIBEFL_DEPENDENCIES += webp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user