package/efl/libefl: new host-package
authorRomain Naour <romain.naour@openwide.fr>
Sat, 12 Dec 2015 13:33:08 +0000 (14:33 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 12 Dec 2015 13:41:57 +0000 (14:41 +0100)
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 <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/efl/libefl/libefl.hash [new file with mode: 0644]
package/efl/libefl/libefl.mk [new file with mode: 0644]

diff --git a/package/efl/libefl/libefl.hash b/package/efl/libefl/libefl.hash
new file mode 100644 (file)
index 0000000..7ac26f4
--- /dev/null
@@ -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 (file)
index 0000000..d070131
--- /dev/null
@@ -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))