update buildroot to 2017.02.11
This commit is contained in:
315
bsp/buildroot-2017.02.11/package/efl/Config.in
Normal file
315
bsp/buildroot-2017.02.11/package/efl/Config.in
Normal file
@@ -0,0 +1,315 @@
|
||||
config BR2_PACKAGE_EFL
|
||||
bool "efl"
|
||||
# g++ issue with 4.4.5, tested with g++ 4.7.2
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_7
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS # luajit
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # untested without threads
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_USE_WCHAR # use wchar_t
|
||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||
select BR2_PACKAGE_DBUS
|
||||
select BR2_PACKAGE_FREETYPE
|
||||
select BR2_PACKAGE_JPEG # Emile needs libjpeg
|
||||
select BR2_PACKAGE_LIBCURL # Ecore_con_url, runtime dependency
|
||||
# https://phab.enlightenment.org/T2728
|
||||
select BR2_PACKAGE_LUAJIT # Lua support broken
|
||||
select BR2_PACKAGE_LZ4
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Enlightenment Foundation Libraries
|
||||
|
||||
https://enlightenment.org
|
||||
|
||||
if BR2_PACKAGE_EFL
|
||||
|
||||
config BR2_PACKAGE_EFL_BULLET
|
||||
bool "Enable bullet support (recommended)"
|
||||
select BR2_PACKAGE_BULLET
|
||||
default y
|
||||
help
|
||||
If you have chosen to disable physics support, this disables
|
||||
lots of core functionality and is effectively never
|
||||
tested. You are going to find features that suddenly don't
|
||||
work and as a result cause a series of breakages. This is
|
||||
simply not tested so you are on your own in terms of
|
||||
ensuring everything works if you do this.
|
||||
|
||||
config BR2_PACKAGE_EFL_EEZE
|
||||
bool "Enable eeze (udev) support (recommended)"
|
||||
depends on BR2_PACKAGE_HAS_UDEV # libudev
|
||||
default y
|
||||
help
|
||||
Eeze is EFL's hardware abstraction layer on top of udev.
|
||||
Having it off will disable some hardware detection, such as
|
||||
'drm' graphics engine or 'elput', as well as mounting
|
||||
removable media.
|
||||
|
||||
comment "eeze needs udev /dev management"
|
||||
depends on !BR2_PACKAGE_HAS_UDEV
|
||||
|
||||
config BR2_PACKAGE_EFL_FONTCONFIG
|
||||
bool "Enable fontconfig support (recommended)"
|
||||
select BR2_PACKAGE_FONTCONFIG
|
||||
default y
|
||||
help
|
||||
If fontconfig is disabled, this is going to make general
|
||||
font searching not work, and only some very direct 'load
|
||||
/path/file.ttf' will work alongside some old-school ttf file
|
||||
path searching. This is very likely not what you want, so
|
||||
highly reconsider turning fontconfig off. Having it off will
|
||||
lead to visual problems like missing text in many UI areas
|
||||
etc...
|
||||
|
||||
config BR2_PACKAGE_EFL_GSTREAMER1
|
||||
bool "Enable gstreamer1 support (recommended)"
|
||||
select BR2_PACKAGE_GSTREAMER1
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
||||
default y
|
||||
help
|
||||
If Gstreamer 1.x support is disabled, it will heavily limit
|
||||
your media support options and render some functionality as
|
||||
useless, leading to visible application bugs.
|
||||
|
||||
config BR2_PACKAGE_EFL_LIBFRIBIDI
|
||||
bool "Enable libfribidi support (recommended)"
|
||||
select BR2_PACKAGE_LIBFRIBIDI
|
||||
default y
|
||||
help
|
||||
Fribidi is used for handling right-to-left text (like
|
||||
Arabic, Hebrew, Farsi, Persian etc.) and is very likely not
|
||||
a feature you want to disable unless you know for absolute
|
||||
certain you will never encounter and have to display such
|
||||
scripts. Also note that we don't test with fribidi disabled
|
||||
so you may also trigger code paths with bugs that are never
|
||||
normally used.
|
||||
|
||||
config BR2_PACKAGE_EFL_LIBSNDFILE
|
||||
bool "Enable libsndfile support (recommended)"
|
||||
select BR2_PACKAGE_LIBSNDFILE
|
||||
default y
|
||||
help
|
||||
If you disabled audio support in Ecore, this is not tested
|
||||
and may create bugs for you due to it creating untested code
|
||||
paths. Reconsider disabling audio.
|
||||
|
||||
config BR2_PACKAGE_EFL_PULSEAUDIO
|
||||
bool "Enable pulseaudio support (recommended)"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c
|
||||
select BR2_PACKAGE_PULSEAUDIO
|
||||
default y
|
||||
help
|
||||
The only audio output method supported by Ecore right now is
|
||||
via Pulseaudio. You have disabled that and likely have
|
||||
broken a whole bunch of things in the process. Reconsider
|
||||
your configure options.
|
||||
|
||||
NOTE: multisense support is automatically enabled with
|
||||
pulseaudio.
|
||||
|
||||
config BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT
|
||||
bool "Enable libmount support (recommended)"
|
||||
depends on BR2_PACKAGE_EFL_EEZE
|
||||
select BR2_PACKAGE_UTIL_LINUX
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
|
||||
# libblkid is part of required tools, see EFL's README.
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
|
||||
default y
|
||||
help
|
||||
Libmount is used heavily inside Eeze for support of removable
|
||||
devices etc... and disabling this will hurt support for
|
||||
Enlightenment and its filemanager.
|
||||
|
||||
comment "efl's libmount support needs udev /dev management (eeze)"
|
||||
depends on !BR2_PACKAGE_EFL_EEZE
|
||||
|
||||
config BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG
|
||||
bool
|
||||
default y if BR2_PACKAGE_EFL_BULLET && \
|
||||
BR2_PACKAGE_EFL_EEZE && \
|
||||
BR2_PACKAGE_EFL_FONTCONFIG && \
|
||||
BR2_PACKAGE_EFL_GSTREAMER1 && \
|
||||
BR2_PACKAGE_EFL_LIBFRIBIDI && \
|
||||
BR2_PACKAGE_EFL_LIBSNDFILE && \
|
||||
BR2_PACKAGE_EFL_PULSEAUDIO && \
|
||||
BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT
|
||||
|
||||
|
||||
comment "Warning: one of the recommended option for EFL is not enabled"
|
||||
depends on !BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG
|
||||
|
||||
config BR2_PACKAGE_EFL_EOLIAN_CPP
|
||||
bool "Enable Eolian C++ bindings"
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_8 # Eolian (host) needs C++11
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # Eolian needs C++11
|
||||
help
|
||||
Eolian is an EO object parser and code generator.
|
||||
With this option enabled Eolian will handle automatic generation
|
||||
of EFL bindings for the C++11 language.
|
||||
|
||||
comment "Eolian needs host and target gcc >= 4.8"
|
||||
depends on !BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
|
||||
comment "libecore video support"
|
||||
|
||||
config BR2_PACKAGE_EFL_FB
|
||||
bool "FB support"
|
||||
|
||||
config BR2_PACKAGE_EFL_X_XLIB
|
||||
bool "X11 support (xlib)"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT
|
||||
select BR2_PACKAGE_XLIB_LIBXCOMPOSITE
|
||||
select BR2_PACKAGE_XLIB_LIBXCURSOR
|
||||
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
||||
select BR2_PACKAGE_XLIB_LIBXINERAMA
|
||||
select BR2_PACKAGE_XLIB_LIBXP
|
||||
select BR2_PACKAGE_XLIB_LIBXRANDR
|
||||
select BR2_PACKAGE_XLIB_LIBXRENDER
|
||||
select BR2_PACKAGE_XLIB_LIBXSCRNSAVER
|
||||
select BR2_PACKAGE_XLIB_LIBXTST
|
||||
select BR2_PACKAGE_XPROTO_GLPROTO
|
||||
|
||||
config BR2_PACKAGE_EFL_WAYLAND
|
||||
bool "Wayland support"
|
||||
depends on BR2_PACKAGE_WAYLAND
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # Evas DRM Engine -> libdrm
|
||||
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # Evas DRM Engine
|
||||
depends on BR2_PACKAGE_EFL_EEZE # efl drm
|
||||
depends on BR2_PACKAGE_EFL_OPENGLES # OpenGL ES with EGL support only
|
||||
depends on BR2_ENABLE_LOCALE # efl-drm <- efl-elput <- libinput
|
||||
select BR2_PACKAGE_EFL_DRM
|
||||
|
||||
comment "Wayland support needs udev /dev management (eeze), OpenGL ES w/ EGL, threads, locales"
|
||||
depends on BR2_PACKAGE_WAYLAND
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL \
|
||||
|| !BR2_PACKAGE_EFL_OPENGLES || !BR2_PACKAGE_EFL_EEZE \
|
||||
|| !BR2_ENABLE_LOCALE
|
||||
|
||||
choice
|
||||
bool "OpenGL support"
|
||||
help
|
||||
libevas can be configured to use HW acceleration with OpenGL or
|
||||
OpenGL ES.
|
||||
|
||||
config BR2_PACKAGE_EFL_OPENGL
|
||||
bool "OpenGL"
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_EFL_X_XLIB
|
||||
|
||||
comment "OpenGL support needs X11 and an OpenGL provider"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7
|
||||
|
||||
config BR2_PACKAGE_EFL_OPENGLES
|
||||
bool "OpenGL ES (w/ EGL)"
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
|
||||
comment "OpenGL ES support needs an OpenGL ES w/ EGL provider"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGLES || !BR2_PACKAGE_HAS_LIBEGL
|
||||
|
||||
config BR2_PACKAGE_EFL_OPENGL_NONE
|
||||
bool "none"
|
||||
|
||||
endchoice # OpenGL support
|
||||
|
||||
config BR2_PACKAGE_EFL_ELPUT
|
||||
bool "Elput"
|
||||
depends on BR2_ENABLE_LOCALE # libinput
|
||||
depends on BR2_PACKAGE_EFL_EEZE
|
||||
select BR2_PACKAGE_LIBINPUT
|
||||
select BR2_PACKAGE_LIBXKBCOMMON
|
||||
help
|
||||
The elput library is an efl abstraction for the libinput library
|
||||
which can be used by various other subsystems (ecore_fb,
|
||||
ecore_drm, etc) to handle interfacing with libinput without
|
||||
having to duplicate the code in each subsystem.
|
||||
|
||||
comment "Elput support needs udev /dev management (eeze), locales"
|
||||
depends on !BR2_PACKAGE_EFL_EEZE || !BR2_ENABLE_LOCALE
|
||||
|
||||
config BR2_PACKAGE_EFL_DRM
|
||||
bool "Evas DRM Engine"
|
||||
depends on BR2_PACKAGE_EFL_EEZE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
|
||||
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # require libgbm from mesa3d
|
||||
depends on BR2_ENABLE_LOCALE # efl-elput <- libinput
|
||||
select BR2_PACKAGE_EFL_ELPUT
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
select BR2_PACKAGE_LIBXKBCOMMON
|
||||
help
|
||||
This option enable building support for the Evas DRM Engine.
|
||||
|
||||
comment "Evas DRM Engine needs udev /dev management (eeze), mesa3d w/ EGL support, threads, locales"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL \
|
||||
|| !BR2_PACKAGE_EFL_EEZE || !BR2_ENABLE_LOCALE
|
||||
|
||||
comment "libevas loaders"
|
||||
|
||||
config BR2_PACKAGE_EFL_PNG
|
||||
bool "libevas png loader"
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
help
|
||||
This enables the loader code that loads png files using
|
||||
libpng.
|
||||
|
||||
# JP2K support require openjpeg 1.x (libopenjpeg1.pc) which is not
|
||||
# available in Buildroot anymore.
|
||||
config BR2_PACKAGE_EFL_JP2K
|
||||
bool "libevas jp2k loader"
|
||||
select BR2_PACKAGE_OPENJPEG
|
||||
depends on BROKEN # require openjpeg 1.x
|
||||
help
|
||||
This enables the loader code that loads jp2k files using
|
||||
openjpeg.
|
||||
|
||||
config BR2_PACKAGE_EFL_JPEG
|
||||
bool "libevas jpeg loader"
|
||||
help
|
||||
This enables the loader code that loads jpeg files using
|
||||
libjpeg.
|
||||
|
||||
config BR2_PACKAGE_EFL_GIF
|
||||
bool "libevas gif loader"
|
||||
select BR2_PACKAGE_GIFLIB
|
||||
help
|
||||
This enables the loader code that loads gif files using
|
||||
giflib.
|
||||
|
||||
config BR2_PACKAGE_EFL_TIFF
|
||||
bool "libevas tiff loader"
|
||||
select BR2_PACKAGE_TIFF
|
||||
help
|
||||
This enables the loader code that loads tiff files.
|
||||
|
||||
config BR2_PACKAGE_EFL_WEBP
|
||||
bool "libevas webp image loader"
|
||||
select BR2_PACKAGE_WEBP
|
||||
help
|
||||
This enables the loader code that loads images using WebP.
|
||||
|
||||
config BR2_PACKAGE_EFL_LIBRAW
|
||||
bool "libraw loader"
|
||||
select BR2_PACKAGE_LIBRAW
|
||||
help
|
||||
This option enables the Evas generic Libraw loader
|
||||
|
||||
config BR2_PACKAGE_EFL_SVG
|
||||
bool "SVG loader"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # librsvg -> pango -> harfbuzz
|
||||
select BR2_PACKAGE_LIBRSVG
|
||||
select BR2_PACKAGE_CAIRO
|
||||
help
|
||||
This option enables the Evas generic SVG loader
|
||||
|
||||
endif # BR2_PACKAGE_EFL
|
||||
|
||||
comment "efl needs a toolchain w/ C++, dynamic library, gcc >= 4.7, threads, wchar"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_HOST_GCC_AT_LEAST_4_7 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 \
|
||||
|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU
|
||||
2
bsp/buildroot-2017.02.11/package/efl/efl.hash
Normal file
2
bsp/buildroot-2017.02.11/package/efl/efl.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://download.enlightenment.org/rel/libs/efl/efl-1.18.4.tar.xz.sha256
|
||||
sha256 39ebc07e37437d6ecdeb0f645783484e28a882b38f7e619ad12c2bf9b5548025 efl-1.18.4.tar.xz
|
||||
383
bsp/buildroot-2017.02.11/package/efl/efl.mk
Normal file
383
bsp/buildroot-2017.02.11/package/efl/efl.mk
Normal file
@@ -0,0 +1,383 @@
|
||||
################################################################################
|
||||
#
|
||||
# efl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EFL_VERSION = 1.18.4
|
||||
EFL_SOURCE = efl-$(EFL_VERSION).tar.xz
|
||||
EFL_SITE = http://download.enlightenment.org/rel/libs/efl
|
||||
EFL_LICENSE = BSD-2c, LGPLv2.1+, GPLv2+
|
||||
EFL_LICENSE_FILES = \
|
||||
COMPLIANCE \
|
||||
COPYING \
|
||||
licenses/COPYING.BSD \
|
||||
licenses/COPYING.FTL \
|
||||
licenses/COPYING.GPL \
|
||||
licenses/COPYING.LGPL \
|
||||
licenses/COPYING.SMALL
|
||||
|
||||
EFL_INSTALL_STAGING = YES
|
||||
|
||||
EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \
|
||||
jpeg luajit lz4 zlib
|
||||
|
||||
# Configure options:
|
||||
# --disable-lua-old: build elua for the target.
|
||||
# --disable-poppler: disable poppler image loader.
|
||||
# --disable-sdl: disable sdl2 support.
|
||||
# --disable-spectre: disable spectre image loader.
|
||||
# --disable-xinput22: disable X11 XInput v2.2+ support.
|
||||
# --enable-liblz4: use liblz4 from lz4 package.
|
||||
# --with-doxygen: disable doxygen documentation
|
||||
EFL_CONF_OPTS = \
|
||||
--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
|
||||
--with-eet-eet=$(HOST_DIR)/usr/bin/eet \
|
||||
--with-eldbus_codegen=$(HOST_DIR)/usr/bin/eldbus-codegen \
|
||||
--with-elementary-codegen=$(HOST_DIR)/usr/bin/elementary_codegen \
|
||||
--with-elm-prefs-cc=$(HOST_DIR)/usr/bin/elm_prefs_cc \
|
||||
--with-elua=$(HOST_DIR)/usr/bin/elua \
|
||||
--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
|
||||
--disable-lua-old \
|
||||
--disable-poppler \
|
||||
--disable-sdl \
|
||||
--disable-spectre \
|
||||
--disable-xinput22 \
|
||||
--disable-wayland \
|
||||
--enable-liblz4 \
|
||||
--with-doxygen=no
|
||||
|
||||
# Disable untested configuration warning.
|
||||
ifeq ($(BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG),)
|
||||
EFL_CONF_OPTS += --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y)
|
||||
EFL_CONF_OPTS += --enable-cxx-bindings \
|
||||
--with-eolian-cxx=$(HOST_DIR)/usr/bin/eolian_cxx
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-cxx-bindings
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_EEZE),y)
|
||||
EFL_DEPENDENCIES += udev
|
||||
EFL_CONF_OPTS += --enable-libeeze
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-libeeze
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT),y)
|
||||
EFL_DEPENDENCIES += util-linux
|
||||
EFL_CONF_OPTS += --enable-libmount
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-libmount
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
EFL_CONF_OPTS += --enable-systemd
|
||||
EFL_DEPENDENCIES += systemd
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-systemd
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
|
||||
EFL_CONF_OPTS += --enable-fontconfig
|
||||
EFL_DEPENDENCIES += fontconfig
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-fontconfig
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y)
|
||||
EFL_CONF_OPTS += --enable-fribidi
|
||||
EFL_DEPENDENCIES += libfribidi
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-fribidi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GSTREAMER1)$(BR2_PACKAGE_GST1_PLUGINS_BASE),yy)
|
||||
EFL_CONF_OPTS += --enable-gstreamer1
|
||||
EFL_DEPENDENCIES += gstreamer1 gst1-plugins-base
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-gstreamer1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BULLET),y)
|
||||
EFL_CONF_OPTS += --enable-physics
|
||||
EFL_DEPENDENCIES += bullet
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-physics
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
|
||||
EFL_CONF_OPTS += --enable-audio
|
||||
EFL_DEPENDENCIES += libsndfile
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-audio
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
|
||||
EFL_CONF_OPTS += --enable-pulseaudio
|
||||
EFL_DEPENDENCIES += pulseaudio
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-pulseaudio
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
|
||||
EFL_DEPENDENCIES += harfbuzz
|
||||
EFL_CONF_OPTS += --enable-harfbuzz
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-harfbuzz
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TSLIB),y)
|
||||
EFL_DEPENDENCIES += tslib
|
||||
EFL_CONF_OPTS += --enable-tslib
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-tslib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
||||
EFL_DEPENDENCIES += libglib2
|
||||
EFL_CONF_OPTS += --with-glib=yes
|
||||
else
|
||||
EFL_CONF_OPTS += --with-glib=no
|
||||
endif
|
||||
|
||||
# Prefer openssl (the default) over gnutls.
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
EFL_DEPENDENCIES += openssl
|
||||
EFL_CONF_OPTS += --with-crypto=openssl
|
||||
else ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
|
||||
EFL_DEPENDENCIES += gnutls libgcrypt
|
||||
EFL_CONF_OPTS += --with-crypto=gnutls \
|
||||
--with-libgcrypt-prefix=$(STAGING_DIR)/usr
|
||||
else
|
||||
EFL_CONF_OPTS += --with-crypto=none
|
||||
endif # BR2_PACKAGE_OPENSSL
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_ELPUT),y)
|
||||
EFL_CONF_OPTS += --enable-elput
|
||||
EFL_DEPENDENCIES += libinput
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-elput
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_FB),y)
|
||||
EFL_CONF_OPTS += --enable-fb
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-fb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_X_XLIB),y)
|
||||
EFL_CONF_OPTS += \
|
||||
--with-x11=xlib \
|
||||
--with-x=$(STAGING_DIR) \
|
||||
--x-includes=$(STAGING_DIR)/usr/include \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib
|
||||
|
||||
EFL_DEPENDENCIES += \
|
||||
xlib_libX11 \
|
||||
xlib_libXcomposite \
|
||||
xlib_libXcursor \
|
||||
xlib_libXdamage \
|
||||
xlib_libXext \
|
||||
xlib_libXinerama \
|
||||
xlib_libXrandr \
|
||||
xlib_libXrender \
|
||||
xlib_libXScrnSaver \
|
||||
xlib_libXtst
|
||||
else
|
||||
EFL_CONF_OPTS += --with-x11=none
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_OPENGL),y)
|
||||
EFL_CONF_OPTS += --with-opengl=full
|
||||
EFL_DEPENDENCIES += libgl
|
||||
# OpenGL ES requires EGL
|
||||
else ifeq ($(BR2_PACKAGE_EFL_OPENGLES),y)
|
||||
EFL_CONF_OPTS += --with-opengl=es --enable-egl
|
||||
EFL_DEPENDENCIES += libegl libgles
|
||||
else ifeq ($(BR2_PACKAGE_EFL_OPENGL_NONE),y)
|
||||
EFL_CONF_OPTS += --with-opengl=none
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_DRM),y)
|
||||
EFL_CONF_OPTS += --enable-drm
|
||||
EFL_DEPENDENCIES += libdrm libegl mesa3d
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-drm
|
||||
endif
|
||||
|
||||
# The EFL Wayland support requires Evas GLES DRM engine support
|
||||
# which depends on wayland-client to build.
|
||||
# So enable gl_drm only when wayland support is selected.
|
||||
ifeq ($(BR2_PACKAGE_EFL_WAYLAND),y)
|
||||
EFL_DEPENDENCIES += wayland
|
||||
EFL_CONF_OPTS += --enable-wayland --enable-gl-drm
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-wayland --disable-gl-drm
|
||||
endif
|
||||
|
||||
EFL_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBXKBCOMMON),libxkbcommon)
|
||||
|
||||
# Loaders that need external dependencies needs to be --enable-XXX=yes
|
||||
# otherwise the default is '=static'.
|
||||
# All other loaders are statically built-in
|
||||
ifeq ($(BR2_PACKAGE_EFL_PNG),y)
|
||||
EFL_CONF_OPTS += --enable-image-loader-png=yes
|
||||
EFL_DEPENDENCIES += libpng
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-image-loader-png
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_JPEG),y)
|
||||
EFL_CONF_OPTS += --enable-image-loader-jpeg=yes
|
||||
# efl already depends on jpeg.
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-image-loader-jpeg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_GIF),y)
|
||||
EFL_CONF_OPTS += --enable-image-loader-gif=yes
|
||||
EFL_DEPENDENCIES += giflib
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-image-loader-gif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_TIFF),y)
|
||||
EFL_CONF_OPTS += --enable-image-loader-tiff=yes
|
||||
EFL_DEPENDENCIES += tiff
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-image-loader-tiff
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_JP2K),y)
|
||||
EFL_CONF_OPTS += --enable-image-loader-jp2k=yes
|
||||
EFL_DEPENDENCIES += openjpeg
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-image-loader-jp2k
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_WEBP),y)
|
||||
EFL_CONF_OPTS += --enable-image-loader-webp=yes
|
||||
EFL_DEPENDENCIES += webp
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-image-loader-webp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_LIBRAW),y)
|
||||
EFL_DEPENDENCIES += libraw
|
||||
EFL_CONF_OPTS += --enable-libraw
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-libraw
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EFL_SVG),y)
|
||||
EFL_DEPENDENCIES += librsvg cairo
|
||||
EFL_CONF_OPTS += --enable-librsvg
|
||||
else
|
||||
EFL_CONF_OPTS += --disable-librsvg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_UPOWER),)
|
||||
# upower ecore system module is only useful if upower
|
||||
# dbus service is available.
|
||||
# It's not essential, only used to notify applications
|
||||
# of power state, such as low battery or AC power, so
|
||||
# they can adapt their power consumption.
|
||||
define EFL_HOOK_REMOVE_UPOWER
|
||||
rm -fr $(TARGET_DIR)/usr/lib/ecore/system/upower
|
||||
endef
|
||||
EFL_POST_INSTALL_TARGET_HOOKS = EFL_HOOK_REMOVE_UPOWER
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
################################################################################
|
||||
#
|
||||
# host-efl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# We want to build only some host tools used later in the build.
|
||||
# Actually we want: edje_cc, eet and embryo_cc. eolian_cxx is built only
|
||||
# if selected for the target.
|
||||
|
||||
# Host dependencies:
|
||||
# * host-dbus: for Eldbus
|
||||
# * host-freetype: for libevas
|
||||
# * host-libglib2: for libecore
|
||||
# * host-libjpeg, host-libpng: for libevas image loader
|
||||
# * host-luajit for Elua tool for the host
|
||||
HOST_EFL_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
host-dbus \
|
||||
host-freetype \
|
||||
host-libglib2 \
|
||||
host-libjpeg \
|
||||
host-libpng \
|
||||
host-luajit \
|
||||
host-zlib
|
||||
|
||||
# Configure options:
|
||||
# --disable-audio, --disable-multisense remove libsndfile dependency.
|
||||
# --disable-fontconfig: remove dependency on fontconfig.
|
||||
# --disable-fribidi: remove dependency on libfribidi.
|
||||
# --disable-gstreamer1: remove dependency on gtreamer 1.0.
|
||||
# --disable-libeeze: remove libudev dependency.
|
||||
# --disable-libmount: remove dependency on host-util-linux libmount.
|
||||
# --disable-lua-old: build elua for the host.
|
||||
# --disable-physics: remove Bullet dependency.
|
||||
# --disable-poppler: disable poppler image loader.
|
||||
# --disable-spectre: disable spectre image loader.
|
||||
# --enable-image-loader-gif=no: disable Gif dependency.
|
||||
# --enable-image-loader-tiff=no: disable Tiff dependency.
|
||||
# --with-crypto=none: remove dependencies on openssl or gnutls.
|
||||
# --with-doxygen: disable doxygen documentation
|
||||
# --with-x11=none: remove dependency on X.org.
|
||||
# Yes I really know what I am doing.
|
||||
HOST_EFL_CONF_OPTS += \
|
||||
--disable-audio \
|
||||
--disable-fontconfig \
|
||||
--disable-fribidi \
|
||||
--disable-gstreamer1 \
|
||||
--disable-libeeze \
|
||||
--disable-libmount \
|
||||
--disable-libraw \
|
||||
--disable-librsvg \
|
||||
--disable-lua-old \
|
||||
--disable-multisense \
|
||||
--disable-physics \
|
||||
--disable-poppler \
|
||||
--disable-spectre \
|
||||
--disable-xcf \
|
||||
--enable-image-loader-gif=no \
|
||||
--enable-image-loader-jpeg=yes \
|
||||
--enable-image-loader-png=yes \
|
||||
--enable-image-loader-tiff=no \
|
||||
--with-crypto=none \
|
||||
--with-doxygen=no \
|
||||
--with-glib=yes \
|
||||
--with-opengl=none \
|
||||
--with-x11=none \
|
||||
--enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb
|
||||
|
||||
# Enable Eolian language bindings to provide eolian_cxx tool for the
|
||||
# host which is required to build Eolian language bindings for the
|
||||
# target.
|
||||
ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y)
|
||||
HOST_EFL_CONF_OPTS += --enable-cxx-bindings
|
||||
else
|
||||
HOST_EFL_CONF_OPTS += --disable-cxx-bindings
|
||||
endif
|
||||
|
||||
# Always disable upower system module from host as it's
|
||||
# not useful and would try to use the output/host/var
|
||||
# system bus which is non-existent and does not contain
|
||||
# any upower service in it.
|
||||
define HOST_EFL_HOOK_REMOVE_UPOWER
|
||||
rm -fr $(HOST_DIR)/usr/lib/ecore/system/upower
|
||||
endef
|
||||
HOST_EFL_POST_INSTALL_HOOKS = HOST_EFL_HOOK_REMOVE_UPOWER
|
||||
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user