This adds support for the efl library ecore. Ecore is an event abstraction, and modular convenience library, intended to simplify a number of common tasks.
Signed-off-by: Ryan M. Raasch <ryan.raa...@gmail.com> --- rules/ecore.in | 23 +++++++++++++++++++ rules/ecore.make | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+), 0 deletions(-) create mode 100644 rules/ecore.in create mode 100644 rules/ecore.make diff --git a/rules/ecore.in b/rules/ecore.in new file mode 100644 index 0000000..93ff1bf --- /dev/null +++ b/rules/ecore.in @@ -0,0 +1,23 @@ +## SECTION=multimedia_efl + +config ECORE + tristate + select EINA + select OPENSSL if ECORE_SSL + select XORG_APP_XINPUT if ECORE_ENABLE_INPUT + select XORG if ECORE_ENABLE_INPUT + prompt "ecore" + help + Ecore is the core event abstraction layer that makes event + loops, timeouts and idle handlers fast, optimized, and + convenient. + +if ECORE +config ECORE_SSL + bool + prompt "ssl support" + +config ECORE_ENABLE_INPUT + bool + prompt "xinput support" +endif diff --git a/rules/ecore.make b/rules/ecore.make new file mode 100644 index 0000000..b2d98c1 --- /dev/null +++ b/rules/ecore.make @@ -0,0 +1,63 @@ +# -*-makefile-*- +# +# Copyright (C) 2007 by Lars Munch <l...@segv.dk> +# 2010 by Ryan Raasch <ryan.raa...@gmail.com> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +PACKAGES-$(PTXCONF_ECORE) += ecore + +# +# Paths and names +# +ECORE_VERSION := 0.9.9.49898 +ECORE := ecore-$(ECORE_VERSION) +ECORE_SUFFIX := tar.bz2 +ECORE_URL := http://download.enlightenment.org/snapshots/2010-06-27/$(ECORE).$(ECORE_SUFFIX) +ECORE_SOURCE := $(SRCDIR)/$(ECORE).$(ECORE_SUFFIX) +ECORE_DIR := $(BUILDDIR)/$(ECORE) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +ECORE_CONF_TOOL := autoconf + +ECORE_CONF_OPT = \ + $(CROSS_AUTOCONF_USR) \ + --disable-ecore-file \ + --disable-ecore-con \ + --disable-ecore-config \ + --disable-abstract-sockets \ + --disable-ecore-imf + +ifdef PTXCONF_ECORE_SSL +ECORE_CONF_OPT += --enable-openssl +endif + +ifndef PTXCONF_ECORE_ENABLE_INPUT +ECORE_CONF_OPT += --disable-ecore-input +endif + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/ecore.targetinstall: + @$(call targetinfo, $@) + @$(call install_init, ecore) + @$(call install_fixup, ecore, PRIORITY, optional) + @$(call install_fixup, ecore, SECTION, base) + @$(call install_fixup, ecore, AUTHOR, "Ryan Raasch <ryan.raa...@gmail.com>") + @$(call install_fixup, ecore, DESCRIPTION, missing) + + @$(call install_lib, ecore, 0, 0, 0644, libecore-ver-svn-06) + + @$(call install_finish, ecore) + @$(call touch, $@) + +# vim: syntax=make -- 1.7.1.rc1.GIT -- ptxdist mailing list ptxdist@pengutronix.de