# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-intel/xf86-video-intel-2.10.0-r1.ebuild,v 1.2 2010/03/14 22:42:25 remi Exp $
+# $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 $
EAPI=3
x11-proto/randrproto
x11-proto/renderproto
x11-proto/xextproto
- x11-proto/xineramaproto
x11-proto/xproto
dri? ( x11-proto/xf86driproto
x11-proto/glproto )"
-PATCHES=(
-)
-
pkg_setup() {
xorg-2_pkg_setup
CONFIGURE_OPTIONS="$(use_enable dri) --enable-xvmc"
}
+src_prepare() {
+ epatch "${FILESDIR}/0001-Revert-Xv-fixup-XvMC-on-i915.patch"
+}
+
pkg_postinst() {
if linux_config_exists \
- && ! linux_chkconfig_present CONFIG_DRM_I915_KMS; then
+ && ! linux_chkconfig_present DRM_I915_KMS; then
echo
ewarn "This driver requires KMS support in your kernel"
ewarn " Device Drivers --->"