You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/expedite/expedite-1.7.9.ebuild,v 1.1 2013/11/12 18:32:58 tommy Exp $
|
|
|
|
EAPI=3
|
|
|
|
inherit enlightenment
|
|
|
|
DESCRIPTION="Performance and correctness test suite for Evas"
|
|
SRC_URI="http://download.enlightenment.org/releases/${P}.tar.bz2"
|
|
|
|
LICENSE="BSD-2"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="directfb fbcon opengl X xcb"
|
|
|
|
RDEPEND=">=dev-libs/eina-1.7.9
|
|
>=media-libs/evas-1.7.9[directfb?,fbcon?,opengl?,X?,xcb?]"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
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-xrender-xcb
|
|
$(use_enable opengl opengl-x11)
|
|
"
|
|
elif use xcb ; then
|
|
MY_ECONF="
|
|
--enable-xrender-xcb
|
|
"
|
|
else
|
|
MY_ECONF="
|
|
--disable-gl-xlib
|
|
--disable-software-xcb
|
|
--disable-gl-xcb
|
|
"
|
|
fi
|
|
MY_ECONF+="
|
|
$(use_enable directfb)
|
|
$(use_enable fbcon fb)
|
|
$(use_enable X simple-x11)
|
|
$(use_enable X software-x11)
|
|
$(use_enable X xrender-x11)
|
|
"
|
|
enlightenment_src_configure
|
|
}
|