diff options
author | Thomas Sachau <tommy@gentoo.org> | 2010-11-18 14:08:52 +0000 |
---|---|---|
committer | Thomas Sachau <tommy@gentoo.org> | 2010-11-18 14:08:52 +0000 |
commit | 5dfc1284ea01e237fdc069dcdad1dccb064500aa (patch) | |
tree | 75eac758ae1ef00309f1184b3627f8e1deae5a26 /media-libs | |
parent | version bump (diff) | |
download | gentoo-2-5dfc1284ea01e237fdc069dcdad1dccb064500aa.tar.gz gentoo-2-5dfc1284ea01e237fdc069dcdad1dccb064500aa.tar.bz2 gentoo-2-5dfc1284ea01e237fdc069dcdad1dccb064500aa.zip |
Initial commit, based on ebuild in enlightenment overlay
(Portage version: 2.2.0_alpha2-r1/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/edje/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/edje/edje-1.0.0_beta2.ebuild | 43 | ||||
-rw-r--r-- | media-libs/edje/metadata.xml | 46 |
3 files changed, 99 insertions, 0 deletions
diff --git a/media-libs/edje/ChangeLog b/media-libs/edje/ChangeLog new file mode 100644 index 000000000000..e32479dcba0f --- /dev/null +++ b/media-libs/edje/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-libs/edje +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/edje/ChangeLog,v 1.8 2010/11/18 14:08:52 tommy Exp $ + +*edje-1.0.0_beta2 (18 Nov 2010) + + 18 Nov 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> + +edje-1.0.0_beta2.ebuild, +metadata.xml: + Initial commit, based on ebuild in enlightenment overlay + diff --git a/media-libs/edje/edje-1.0.0_beta2.ebuild b/media-libs/edje/edje-1.0.0_beta2.ebuild new file mode 100644 index 000000000000..6deaf1f00396 --- /dev/null +++ b/media-libs/edje/edje-1.0.0_beta2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/edje/edje-1.0.0_beta2.ebuild,v 1.1 2010/11/18 14:08:52 tommy Exp $ + +MY_P=${P/_beta/.beta} + +inherit enlightenment + +DESCRIPTION="graphical layout and animation library" +HOMEPAGE="http://www.enlightenment.org/pages/edje.html" +SRC_URI="http://download.enlightenment.org/releases/${MY_P}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +IUSE="debug cache static-libs vim-syntax" + +DEPEND="dev-lang/lua + >=dev-libs/eet-1.0.0_beta + >=dev-libs/eina-1.0.0_beta + >=dev-libs/embryo-1.0.0_beta + >=media-libs/evas-1.0.0_beta + >=dev-libs/ecore-1.0.0_beta" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${MY_P} + +src_compile() { + export MY_ECONF=" + $(use_enable cache edje-program-cache) + $(use_enable cache edje-calc-cache) + $(use_enable !debug amalgamation) + $(use_with vim-syntax vim /usr/share/vim) + " + enlightenment_src_compile +} + +src_install() { + if use vim-syntax ; then + insinto /usr/share/vim/vimfiles/syntax/ + doins data/edc.vim || die + fi + dodoc utils/{gimp-edje-export.py,inkscape2edc} || die + enlightenment_src_install +} diff --git a/media-libs/edje/metadata.xml b/media-libs/edje/metadata.xml new file mode 100644 index 000000000000..c360c1c28536 --- /dev/null +++ b/media-libs/edje/metadata.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>enlightenment</herd> +<use> + <flag name='cache'>Enable caching</flag> +</use> +<longdescription> +Edje is a complex graphical design and layout library. + +It's purpose is to be a sequel to "Ebits" which to date has serviced the needs of +Enlightenment development for version 0.17. The original design paramteres under +which Ebits came about were a lot more restricted than the resulting use of them, +thus Edje was born. + +Edje is a more complex layout engine compared to Ebits. It doesn't pretend to do +containering and regular layout like a widget set. It still inherits the more +simplistic layout ideas behind Ebits, but it now does them a lot more cleanly, +allowing for easy expansion, and the ability to cover much more ground than Ebits +ever could. For the purposes of Enlightenment 0.17, Edje should serve all the +purposes of creating visual elements (borders of windows, scrollbars, etc.) and +allow the designer the ability to animate, layout and control the look and feel of +any program using Edje as its basic GUI constructor. This library allows for +multiple collections of Layouts in one file, sharing the same image database and +thus allowing a whole theme to be conveneintly packaged into 1 file and shipped +around. + +Edje, unlike Ebits, separates the layout and behavior logic. Edje files ship with an +image database, used by all the parts in all the collections to source graphical +data. It has a directory of logical part names pointing to the part collection entry +ID in the file (thus allowing for multiple logical names to point to the same part +collection, allowing for the sharing of data betwene display elements). Each part +collection consists of a list of visual parts, as well as a list of programs. A +program is a conditionally run program that if a particular event occurs (a button +is pressed, a mouse enters or leaves a part) will trigger an action that may affect +other parts. In this way a part collection can be "programmed" via its file as to +hilight buttons when the mouse passes over them or show hidden parts when a button +is clicked somewhere etc. The actions performed in changing from one state to +another ar also allowed to transition over a period of time, allowing animation. + +This separation and simplistic event driven style of programming can produce almost +any look and feel one could want for basic visual elements. Anything more complex is +likely the domain of an application or widget set that may use Edje as a conveneient +way of being able to configure parts of the display. +</longdescription> +</pkgmetadata> |