1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit x-modular subversion
7 DESCRIPTION
="openChrome graphics driver for VIA/S3G cards"
8 HOMEPAGE
="http://www.openchrome.org"
11 ESVN_PROJECT
="openchrome-svn"
12 ESVN_BOOTSTRAP
="eautoreconf"
13 # ESVN_REPO_URI="http://svn.openchrome.org/svn/trunk"
18 # http://wiki.openchrome.org/pipermail/openchrome-users/2007-October/003641.html
20 #CONFIGURE_OPTIONS="$(use_enable dri)"
21 IUSE
="experimental xrandr"
23 RDEPEND
=">=x11-base/xorg-server-1.2
27 !x11-drivers/openchrome
28 !x11-drivers/xf86-video-via
34 x11-proto/xf86driproto
38 # dri? ( x11-proto/xf86driproto
44 if use experimental
; then
46 die
"You can choose only one custom branch"
48 einfo
"Using experimental openChrome driver branch"
49 export ESVN_REPO_URI
="http://svn.openchrome.org/svn/branches/experimental_branch"
52 einfo
"Using xrandr openChrome driver branch"
53 export ESVN_REPO_URI
="http://svn.openchrome.org/svn/branches/randr_branch"
55 einfo
"Using trunk openChrome driver branch"
56 export ESVN_REPO_URI
="http://svn.openchrome.org/svn/trunk"
64 # as we currently can't turn dri support off
65 #if use dri && ! built_with_use x11-base/xorg-server dri; then
66 if ! built_with_use x11-base
/xorg-server dri
; then
67 die
"Build x11-base/xorg-server with USE=\"dri\"."