diff options
author | 2011-10-28 21:26:02 +0200 | |
---|---|---|
committer | 2011-10-28 21:26:02 +0200 | |
commit | 5b4038713427e6d4b98bb8ca93a7ea1b80c2bea1 (patch) | |
tree | 6c01655f163fd475c933e09fc5dce73c8d4540aa | |
parent | xf86-video-intel: removed, stable version in portage now (diff) | |
download | jensp-5b4038713427e6d4b98bb8ca93a7ea1b80c2bea1.tar.gz jensp-5b4038713427e6d4b98bb8ca93a7ea1b80c2bea1.tar.bz2 jensp-5b4038713427e6d4b98bb8ca93a7ea1b80c2bea1.zip |
added intel gfx driver git ebuild
-rw-r--r-- | x11-drivers/xf86-video-intel/Manifest | 1 | ||||
-rw-r--r-- | x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-intel/Manifest b/x11-drivers/xf86-video-intel/Manifest new file mode 100644 index 0000000..f7d2754 --- /dev/null +++ b/x11-drivers/xf86-video-intel/Manifest @@ -0,0 +1 @@ +EBUILD xf86-video-intel-9999.ebuild 1149 RMD160 eb1c4e5ddf77eb243fc8274d706bf564097b96cb SHA1 20ade9d07f94601a5c0a1b7e821fbc8cf471cd9d SHA256 a895234f9684a3739e450c8d304fef7a80f57705cc1b79d936b331097f587508 diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild new file mode 100644 index 0000000..0f6e1e5 --- /dev/null +++ b/x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +XORG_DRI=dri +inherit linux-info xorg-2 + +DESCRIPTION="X.Org driver for Intel cards" + +KEYWORDS="~amd64 ~ia64 ~x86 -x86-fbsd" +IUSE="sna" + +RDEPEND="x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXvMC + >=x11-libs/libxcb-1.5 + >=x11-libs/libdrm-2.4.23[video_cards_intel] + sna? ( + >=x11-base/xorg-server-1.10 + )" +# Requires dri2proto-2.6 (unreleased) +DEPEND="${RDEPEND} + >=x11-proto/dri2proto-2.6" + +pkg_setup() { + xorg-2_pkg_setup + XORG_CONFIGURE_OPTIONS=( + $(use_enable dri) + $(use_enable sna) + --enable-xvmc + ) +} + +pkg_postinst() { + if linux_config_exists \ + && ! linux_chkconfig_present DRM_I915_KMS; then + echo + ewarn "This driver requires KMS support in your kernel" + ewarn " Device Drivers --->" + ewarn " Graphics support --->" + ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->" + ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->" + ewarn " i915 driver" + ewarn " [*] Enable modesetting on intel by default" + echo + fi +} |