From: Romain Naour Date: Sat, 12 Dec 2015 13:33:08 +0000 (+0100) Subject: package/efl/libefl: new host-package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40afc40cc41073554c284edb4afcf7cbc328ea23;p=buildroot.git package/efl/libefl: new host-package This new host-package provide edje_cc, embryo_cc and eet binaries that will be used by the upcomming libefl packages which will contain the new version of efl libraries. Signed-off-by: Romain Naour Reviewed-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/efl/libefl/libefl.hash b/package/efl/libefl/libefl.hash new file mode 100644 index 0000000000..7ac26f4980 --- /dev/null +++ b/package/efl/libefl/libefl.hash @@ -0,0 +1,2 @@ +# From https://download.enlightenment.org/rel/libs/efl/efl-1.15.2.tar.xz.sha256 +sha256 dd738f19f454621a7fa1fdb4c008457c170989f5f0c535edfed7b6773ae6c2a4 efl-1.15.2.tar.xz diff --git a/package/efl/libefl/libefl.mk b/package/efl/libefl/libefl.mk new file mode 100644 index 0000000000..d0701319f3 --- /dev/null +++ b/package/efl/libefl/libefl.mk @@ -0,0 +1,82 @@ +################################################################################ +# +# libefl +# +################################################################################ + +# hardcode the version here since the bump to 1.15 is not complete in Buildroot +LIBEFL_VERSION = 1.15.2 +LIBEFL_SOURCE = efl-$(LIBEFL_VERSION).tar.xz +LIBEFL_SITE = http://download.enlightenment.org/rel/libs/efl +LIBEFL_LICENSE = BSD-2c, LGPLv2.1+, GPLv2+ +LIBEFL_LICENSE_FILES = \ + COMPLIANCE \ + COPYING \ + licenses/COPYING.BSD \ + licenses/COPYING.FTL \ + licenses/COPYING.GPL \ + licenses/COPYING.LGPL \ + licenses/COPYING.SMALL + +################################################################################ +# +# host-libefl +# +################################################################################ + +# We want to build only some host tools used later in the build. +# Actually we want: edje_cc, embryo_cc and eet. + +# Host dependencies: +# * host-dbus: for Eldbus +# * host-freetype: for libevas +# * host-libglib2: for libecore +# * host-libjpeg, host-libpng: for libevas image loader +# * host-lua: disable luajit dependency +HOST_LIBEFL_DEPENDENCIES = \ + host-pkgconf \ + host-dbus \ + host-freetype \ + host-libglib2 \ + host-libjpeg \ + host-libpng \ + host-lua \ + host-zlib + +# Configure options: +# --disable-audio, --disable-multisense remove libsndfile dependency. +# --disable-cxx-bindings: disable C++11 bindings. +# --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-physics: remove Bullet dependency. +# --enable-image-loader-gif=no: disable Gif dependency. +# --enable-image-loader-tiff=no: disable Tiff dependency. +# --enable-lua-old: disable Elua and remove luajit dependency. +# --with-crypto=none: remove dependencies on openssl or gnutls. +# --with-x11=none: remove dependency on X.org. +# Yes I really know what I am doing. +HOST_LIBEFL_CONF_OPTS += \ + --disable-audio \ + --disable-cxx-bindings \ + --disable-fontconfig \ + --disable-fribidi \ + --disable-gstreamer1 \ + --disable-libeeze \ + --disable-libmount \ + --disable-multisense \ + --disable-physics \ + --enable-image-loader-gif=no \ + --enable-image-loader-jpeg=yes \ + --enable-image-loader-png=yes \ + --enable-image-loader-tiff=no \ + --enable-lua-old \ + --with-crypto=none \ + --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-aba + +$(eval $(host-autotools-package))