summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2010-11-18 13:54:42 +0000
committerThomas Sachau <tommy@gentoo.org>2010-11-18 13:54:42 +0000
commit016b140f18c36d8f95224583c7081c42aa26965f (patch)
tree9727f417483ec0d6eed4069640fa5c35ade2f55b /dev-libs
parentAutomated update of use.local.desc (diff)
downloadhistorical-016b140f18c36d8f95224583c7081c42aa26965f.tar.gz
historical-016b140f18c36d8f95224583c7081c42aa26965f.tar.bz2
historical-016b140f18c36d8f95224583c7081c42aa26965f.zip
Initial commit, based on ebuild in enlightenment overlay
Package-Manager: portage-2.2.0_alpha2-r1/cvs/Linux x86_64
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/ecore/ChangeLog10
-rw-r--r--dev-libs/ecore/Manifest16
-rw-r--r--dev-libs/ecore/ecore-1.0.0_beta2.ebuild197
-rw-r--r--dev-libs/ecore/metadata.xml65
4 files changed, 288 insertions, 0 deletions
diff --git a/dev-libs/ecore/ChangeLog b/dev-libs/ecore/ChangeLog
new file mode 100644
index 000000000000..6d765ee1ac77
--- /dev/null
+++ b/dev-libs/ecore/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/ecore
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ecore/ChangeLog,v 1.1 2010/11/18 13:54:42 tommy Exp $
+
+*ecore-1.0.0_beta2 (18 Nov 2010)
+
+ 18 Nov 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ +ecore-1.0.0_beta2.ebuild, +metadata.xml:
+ Initial commit, based on ebuild in enlightenment overlay
+
diff --git a/dev-libs/ecore/Manifest b/dev-libs/ecore/Manifest
new file mode 100644
index 000000000000..ed164ec4f18c
--- /dev/null
+++ b/dev-libs/ecore/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST ecore-1.0.0.beta2.tar.bz2 913064 RMD160 451f9b2e365c7ac3a65a30f000c825c54c4d6ce9 SHA1 d7c86fcb15515a157fb4332d88cf419d26f885c1 SHA256 ba9cece374814390c990ae38c8d9c05167f400c429a17e212bdf1ab60ab35a36
+EBUILD ecore-1.0.0_beta2.ebuild 4847 RMD160 bb41cd73d56e1e2345f5d89c262ff5b1e85fcc40 SHA1 c4dd63615b4893d92dc2c8f8bb8d2c55920b02a3 SHA256 7d7e861a29280c53c451e9637fbb707995efce547e16333b51c81c75706b4187
+MISC ChangeLog 397 RMD160 1190215331d996e765e32d39cdf4b2d51dc85ef0 SHA1 9f49c680bb9807f0fba224cb5ce29bd2cce23700 SHA256 27243831a0c919c984e4204914536e28bf156c1831b6f25f353aec10e4035882
+MISC metadata.xml 2938 RMD160 935d28f040fcd7037dbb2d698e3d4f901a86e4da SHA1 65aebf9cc8633aacaaf377b9a9786a33600e6db7 SHA256 0cdb73abefbd88bc47155e4e29ed5f34796459544a80d31e71422bf44c52d114
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iJwEAQECAAYFAkzlMKEACgkQG7kqcTWJkGcatwP/XrxzZGb+EQ4AzPfdDBb6a8nG
+Tv6G0G/oPcPDpUJBtHJ1h+6xaYuh7A/HZBBPs9uHKrzYwSZyf5CbCwM9efxWgYxL
+wPhQcjt5cEttzASYFjOOcQayPjyqHmE5jilENk8QH80U5N4m6gs8MxrXt/3d3YiA
+avjg2D3Ncu7FrrhokPw=
+=Ihxo
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/ecore/ecore-1.0.0_beta2.ebuild b/dev-libs/ecore/ecore-1.0.0_beta2.ebuild
new file mode 100644
index 000000000000..742f6e9318ea
--- /dev/null
+++ b/dev-libs/ecore/ecore-1.0.0_beta2.ebuild
@@ -0,0 +1,197 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ecore/ecore-1.0.0_beta2.ebuild,v 1.1 2010/11/18 13:54:42 tommy Exp $
+
+EAPI=2
+
+MY_P=${P/_beta/.beta}
+
+inherit enlightenment
+
+DESCRIPTION="Enlightenment's core event abstraction layer and OS abstraction layer"
+SRC_URI="http://download.enlightenment.org/releases/${MY_P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="ares curl directfb +evas fbcon glib gnutls +inotify opengl sdl ssl static-libs +threads tslib +X xcb xinerama xprint xscreensaver"
+
+RDEPEND=">=dev-libs/eina-1.0.0_beta
+ ares? ( net-dns/c-ares )
+ glib? ( dev-libs/glib )
+ curl? ( net-misc/curl )
+ gnutls? ( net-libs/gnutls )
+ !gnutls? ( ssl? ( dev-libs/openssl ) )
+ evas? (
+ >=media-libs/evas-1.0.0_beta[directfb?,fbcon?,opengl?,sdl?,X?,xcb?]
+ opengl? ( virtual/opengl )
+ )
+ directfb? ( >=dev-libs/DirectFB-0.9.16 )
+ tslib? ( x11-libs/tslib )
+ sdl? ( media-libs/libsdl )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXtst
+ xinerama? ( x11-libs/libXinerama x11-libs/libXrandr )
+ xprint? ( x11-libs/libXp )
+ xscreensaver? ( x11-libs/libXScrnSaver )
+ )
+ !X? ( xcb? ( x11-libs/xcb-util ) )"
+DEPEND="${RDEPEND}"
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ local SSL_FLAGS="" EVAS_FLAGS="" X_FLAGS=""
+
+ if use gnutls; then
+ if use ssl; then
+ einfo "You have enabled both 'ssl' and 'gnutls', so we will use"
+ einfo "gnutls and not openssl for ecore-con support"
+ fi
+ SSL_FLAGS="
+ --disable-openssl
+ --enable-gnutls
+ "
+ elif use ssl; then
+ SSL_FLAGS="
+ --enable-openssl
+ --disable-gnutls
+ "
+ else
+ SSL_FLAGS="
+ --disable-openssl
+ --disable-gnutls
+ "
+ fi
+
+ local x_or_xcb=""
+ if use X; then
+ x_or_xcb="X"
+ elif use xcb; then
+ x_or_xcb="xcb"
+ fi
+
+ if use evas; then
+
+ if use opengl && [[ -z "$x_or_xcb" ]]; then
+ ewarn "Ecore/Evas usage of OpenGL requires X11."
+ ewarn "Compile dev-libs/ecore with USE=X or xcb."
+ ewarn "Compiling without opengl support."
+ EVAS_FLAGS+="
+ --disable-ecore-evas-software-x11
+ --disable-ecore-evas-xrender-x11
+ --disable-ecore-evas-software-16-x11
+ "
+ else
+ EVAS_FLAGS+="
+ --enable-ecore-evas-software-x11
+ --enable-ecore-evas-xrender-x11
+ --enable-ecore-evas-software-16-x11
+ "
+ fi
+ EVAS_FLAGS+="
+ $(use_enable directfb ecore-evas-directfb)
+ $(use_enable fbcon ecore-evas-fb)
+ $(use_enable sdl ecore-evas-software-sdl)
+ $(use_enable xcb ecore-evas-xrender-xcb)
+ $(use_enable opengl ecore-evas-opengl-x11)
+ "
+ else
+ EVAS_FLAGS+="
+ --disable-ecore-evas-directfb
+ --disable-ecore-evas-fb
+ --disable-ecore-evas-software-sdl
+ --disable-ecore-evas-software-x11
+ --disable-ecore-evas-xrender-x11
+ --disable-ecore-evas-software-16-x11
+ --disable-ecore-evas-xrender-xcb
+ --disable-ecore-evas-opengl-x11
+ "
+ if use opengl; then
+ ewarn "Ecore usage of OpenGL is dependent on media-libs/evas."
+ ewarn "Compile dev-libs/ecore with USE=evas."
+ fi
+ fi
+
+ if use X; then
+ if use xcb; then
+ ewarn "You have enabled both 'X' and 'xcb', so we will use"
+ ewarn "X as it's considered the most stable for ecore-x"
+ fi
+ X_FLAGS="
+ --enable-ecore-x
+ --disable-ecore-x-xcb
+ "
+
+ elif use xcb; then
+ X_FLAGS="
+ --enable-ecore-x
+ --enable-ecore-x-xcb
+ "
+ else
+ X_FLAGS="
+ --disable-ecore-x
+ --disable-ecore-x-xcb
+ "
+ fi
+
+ if [[ ! -z "$x_or_xcb" ]]; then
+ X_FLAGS+="
+ $(use_enable xinerama ecore-x-xinerama)
+ $(use_enable xprint ecore-x-xprint)
+ $(use_enable xscreensaver ecore-x-screensaver)
+ "
+ else
+ X_FLAGS+="
+ --disable-ecore-x-xinerama
+ --disable-ecore-x-xprint
+ --disable-ecore-x-screensaver
+ "
+ fi
+
+ if use tslib && ! use fbcon; then
+ ewarn "Ecore just uses tslib for framebuffer input."
+ ewarn "Compile dev-libs/ecore with USE=fbcon."
+ fi
+
+ MY_ECONF="
+ --enable-ecore-con
+ --enable-ecore-ipc
+ --enable-ecore-file
+ --enable-ecore-imf
+ --enable-ecore-input
+ --disable-ecore-win32
+ --disable-ecore-wince
+ --disable-ecore-evas-software-gdi
+ --disable-ecore-evas-software-ddraw
+ --disable-ecore-evas-direct3d
+ --disable-ecore-evas-opengl-glew
+ --disable-ecore-evas-software-16-ddraw
+ --disable-ecore-evas-software-16-wince
+ $(use_enable ares cares)
+ $(use_enable curl)
+ $(use_enable directfb ecore-directfb)
+ $(use_enable doc)
+ $(use_enable evas ecore-evas)
+ $(use_enable evas ecore-input-evas)
+ $(use_enable evas ecore-imf-evas)
+ $(use_enable evas ecore-evas-software-buffer)
+ $(use_enable fbcon ecore-fb)
+ $(use_enable glib)
+ $(use_enable inotify)
+ $(use_enable sdl ecore-sdl)
+ $(use_enable test tests)
+ $(use_enable threads pthread)
+ $(use_enable tslib)
+ $(use_enable X xim)
+ ${SSL_FLAGS}
+ ${EVAS_FLAGS}
+ ${X_FLAGS}
+ "
+ enlightenment_src_configure
+}
diff --git a/dev-libs/ecore/metadata.xml b/dev-libs/ecore/metadata.xml
new file mode 100644
index 000000000000..8c60c11fde06
--- /dev/null
+++ b/dev-libs/ecore/metadata.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>enlightenment</herd>
+<use>
+ <flag name="ares">Enables support for asynchronous DNS using the <pkg>net-dns/c-ares</pkg> library</flag>
+ <flag name="glib">Enable <pkg>dev-libs/glib</pkg> eventloop support</flag>
+ <flag name="xprint">Enable X11 Xprint support</flag>
+ <flag name="inotify">Enable support for inotify</flag>
+ <flag name="evas">Provides easy to use canvas by gluing <pkg>media-libs/evas</pkg> and various input/output systems.</flag>
+ <flag name="tslib">Build with tslib support for touchscreen devices.</flag>
+</use>
+<longdescription>
+Ecore is a clean and tiny event loop library with many modules to do
+lots of convenient things for a programmer, to save time and effort.
+
+It's small and lean, designed to work on embedded systems all the way
+to large and powerful multi-cpu workstations. It serialises all system
+signals, events etc. into a single event queue, that is easily
+processed without needing to worry about concurrency. A properly
+written, event-driven program using this kind of programming doesn't
+need threads, nor has to worry about concurrency. It turns a program
+into a state machine, and makes it very robust and easy to follow.
+
+Ecore gives you other handy primitives, such as timers to tick over
+for you and call specified functions at particular times so the
+programmer can use this to do things, like animate, or time out on
+connections or tasks that take too long etc.
+
+Idle handlers are provided too, as well as calls on entering an idle
+state (often a very good time to update the state of the program). All
+events that enter the system are passed to specific callback functions
+that the program sets up to handle those events. Handling them is
+simple and other Ecore modules produce more events on the queue,
+coming from other sources such as file descriptors etc.
+
+Ecore also lets you have functions called when file descriptors become
+active for reading or writing, allowing for streamlined, non-blocking
+IO.
+
+Ecore may provide (if enabled) the following libraries:
+
+ * ecore: main loop, signals, and base;
+
+ * ecore_con: http/ftp (curl) access;
+
+ * ecore_file: easy file manipulation (copy, move, symlink, remove),
+ monitoring and directory (mkdir, mkdir -p, rm -fr);
+
+ * ecore_txt: text charset conversion (iconv wrapper);
+
+ * ecore_evas: integrates <pkg>media-libs/evas</pkg> into different
+ input and output systems, providing easy to use canvas;
+
+ * ecore_x, ecore_sdl, ecore_quartz, ecore_directfb, ecore_win32,
+ ecore_wince, ecore_fb: access to different input/output systems,
+ mapping them to ecore main loop and events;
+
+ * ecore_imf, ecore_imf_evas: input-method framework used to integrate
+ with different input methods such as virtual keyboards;
+
+ * ecore_input, ecore_input_evas: abstraction of input events.
+
+</longdescription>
+</pkgmetadata>