1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-intel/xf86-video-intel-2.11.0.ebuild,v 1.1 2010/04/01 21:39:23 remi Exp $
7 inherit linux-info xorg-2
9 DESCRIPTION="X.Org driver for Intel cards"
11 KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd"
14 RDEPEND=">=x11-base/xorg-server-1.6
15 >=x11-libs/libdrm-2.4.16
20 >=x11-libs/libxcb-1.5"
22 >=x11-proto/dri2proto-1.99.3
28 dri? ( x11-proto/xf86driproto
33 CONFIGURE_OPTIONS="$(use_enable dri) --enable-xvmc"
37 epatch "${FILESDIR}/0001-Revert-Xv-fixup-XvMC-on-i915.patch"
41 if linux_config_exists \
42 && ! linux_chkconfig_present DRM_I915_KMS; then
44 ewarn "This driver requires KMS support in your kernel"
45 ewarn " Device Drivers --->"
46 ewarn " Graphics support --->"
47 ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->"
48 ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->"
50 ewarn " [*] Enable modesetting on intel by default"