diff options
-rw-r--r-- | media-libs/evas/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/evas/evas-1.0.0_beta2.ebuild | 136 | ||||
-rw-r--r-- | media-libs/evas/metadata.xml | 26 |
3 files changed, 172 insertions, 0 deletions
diff --git a/media-libs/evas/ChangeLog b/media-libs/evas/ChangeLog new file mode 100644 index 000000000000..e6d6887e965e --- /dev/null +++ b/media-libs/evas/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-libs/evas +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/evas/ChangeLog,v 1.1 2010/11/18 13:34:47 tommy Exp $ + +*evas-1.0.0_beta2 (18 Nov 2010) + + 18 Nov 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> + +evas-1.0.0_beta2.ebuild, +metadata.xml: + Initial commit, based on ebuild in enlightenment overlay + diff --git a/media-libs/evas/evas-1.0.0_beta2.ebuild b/media-libs/evas/evas-1.0.0_beta2.ebuild new file mode 100644 index 000000000000..f93558ac48af --- /dev/null +++ b/media-libs/evas/evas-1.0.0_beta2.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/evas/evas-1.0.0_beta2.ebuild,v 1.1 2010/11/18 13:34:47 tommy Exp $ + +EAPI=2 + +MY_P=${P/_beta/.beta} + +inherit enlightenment + +DESCRIPTION="hardware-accelerated retained canvas API" +HOMEPAGE="http://trac.enlightenment.org/e/wiki/Evas" +SRC_URI="http://download.enlightenment.org/releases/${MY_P}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +IUSE="altivec bidi +cache directfb +eet fbcon +fontconfig gif +jpeg mmx opengl +png sdl sse svg static-libs +threads tiff X xcb xpm" + +RDEPEND=">=dev-libs/eina-1.0.0_beta + >=media-libs/freetype-2.3.9 + fontconfig? ( media-libs/fontconfig ) + gif? ( media-libs/giflib ) + jpeg? ( media-libs/jpeg ) + png? ( media-libs/libpng ) + bidi? ( >=dev-libs/fribidi-0.19.1 ) + directfb? ( >=dev-libs/DirectFB-0.9.16 ) + sdl? ( media-libs/libsdl ) + tiff? ( media-libs/tiff ) + xpm? ( x11-libs/libXpm ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + opengl? ( virtual/opengl ) + ) + !X? ( + xcb? ( + x11-libs/xcb-util + ) ) + eet? ( >=dev-libs/eet-1.0.0_beta ) + svg? ( + >=gnome-base/librsvg-2.14.0 + x11-libs/cairo + x11-libs/libsvg-cairo + )" +DEPEND="${RDEPEND}" +S=${WORKDIR}/${MY_P} + +src_configure() { + 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 evas" + fi + MY_ECONF+=" + --disable-software-xcb + --disable-xrender-xcb + $(use_enable opengl gl-x11 static) + " + elif use xcb ; then + use opengl && ewarn "opengl support is not implemented with xcb" + MY_ECONF+=" + --disable-gl-x11 + --enable-software-xcb=static + --enable-xrender-xcb=static + " + else + MY_ECONF+=" + --disable-gl-x11 + --disable-software-xcb + --disable-xrender-xcb + " + fi + + if use opengl ; then + MY_ECONF+=" $(use_enable cache metric-cache)" + else + MY_ECONF+=" $(use_enable cache word-cache)" + fi + + #async-render is considered experimental + #$(use_enable threads async-render) + MY_ECONF="--disable-async-render + $(use_enable altivec cpu-altivec) + $(use_enable bidi fribidi) + $(use_enable directfb) + $(use_enable doc) + $(use_enable fbcon fb) + $(use_enable fontconfig) + $(use_enable gif image-loader-gif) + $(use_enable jpeg image-loader-jpeg) + $(use_enable eet image-loader-eet) + $(use_enable mmx cpu-mmx) + $(use_enable png image-loader-png) + $(use_enable sdl software-sdl) + $(use_enable sse cpu-sse) + $(use_enable svg image-loader-svg static) + $(use_enable tiff image-loader-tiff static) + $(use_enable threads pthreads) + $(use_enable threads async-events) + $(use_enable threads async-preload) + $(use_enable X software-xlib static) + $(use_enable X xrender-x11 static) + $(use_enable xpm image-loader-xpm static) + --enable-evas-magic-debug \ + --enable-static-software-generic \ + --enable-buffer \ + --enable-image-loader-eet \ + --enable-font-loader-eet \ + --enable-cpu-c \ + --enable-scale-sample \ + --enable-scale-smooth \ + --enable-convert-8-rgb-332 \ + --enable-convert-8-rgb-666 \ + --enable-convert-8-rgb-232 \ + --enable-convert-8-rgb-222 \ + --enable-convert-8-rgb-221 \ + --enable-convert-8-rgb-121 \ + --enable-convert-8-rgb-111 \ + --enable-convert-16-rgb-565 \ + --enable-convert-16-rgb-555 \ + --enable-convert-16-rgb-444 \ + --enable-convert-16-rgb-rot-0 \ + --enable-convert-16-rgb-rot-270 \ + --enable-convert-16-rgb-rot-90 \ + --enable-convert-24-rgb-888 \ + --enable-convert-24-bgr-888 \ + --enable-convert-32-rgb-8888 \ + --enable-convert-32-rgbx-8888 \ + --enable-convert-32-bgr-8888 \ + --enable-convert-32-bgrx-8888 \ + --enable-convert-32-rgb-rot-0 \ + --enable-convert-32-rgb-rot-270 \ + --enable-convert-32-rgb-rot-90" + + enlightenment_src_configure +} diff --git a/media-libs/evas/metadata.xml b/media-libs/evas/metadata.xml new file mode 100644 index 000000000000..518026defe39 --- /dev/null +++ b/media-libs/evas/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>enlightenment</herd> +<use> + <flag name='eet'>Support dev-libs/eet</flag> + <flag name='cache'>Enable experimental caching to speed up rendering</flag> +</use> +<longdescription> +Evas is a hardware-accelerated canvas API for X-Windows that can draw +anti-aliased text, smooth super and sub-sampled images, alpha-blend, as well as +drop down to using normal X11 primitives such as pixmaps, lines and rectangles +for speed if your CPU or graphics hardware are too slow. + +Evas abstracts any need to know much about what the characteristics of your +XServer's display are, what depth or what magic visuals etc, it has. The most you +need to tell Evas is how many colors (at a maximum) to use if the display is not +a truecolor display. By default it is suggested to use 216 colors (as this +equates to a 6x6x6 color cube - exactly the same color cube Netscape, Mozilla, +gdkrgb etc. use so colors will be shared). If Evas can't allocate enough colors +it keeps reducing the size of the color cube until it reaches plain black and +white. This way, it can display on anything from a black and white only terminal +to 16 color VGA to 256 color and all the way up through 15, 16, 24 and 32bit +color. +</longdescription> +</pkgmetadata> |