summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-intel')
-rw-r--r--x11-drivers/xf86-video-intel/Manifest1
-rw-r--r--x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161110.ebuild83
2 files changed, 84 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-intel/Manifest b/x11-drivers/xf86-video-intel/Manifest
index cf604ebad38c..4ec0e88d7794 100644
--- a/x11-drivers/xf86-video-intel/Manifest
+++ b/x11-drivers/xf86-video-intel/Manifest
@@ -4,3 +4,4 @@ DIST xf86-video-intel-2.99.917.tar.bz2 2259040 SHA256 00b781eea055582820a123c47b
DIST xf86-video-intel-2.99.917_p20160621.tar.xz 941280 SHA256 1dcb1ba06321921f7de84d95ba25e18277df74bb09d143b3ec759ffe5c6be392 SHA512 9face5d348a0805b9bdd98fa42a466ad4dcca1050f8abdc114f8475e713ae7315d2ac19ff50756071f305bcca8526fe9be0d448d2d10fab51300d0d2d50fe60a WHIRLPOOL 886064d7f75c59be7a24429eb04dc70f47ae48a580734234a71f1a570c39926f11b8d6807082b537f0bb843ae677c54b3a303dbd1830b29186d0338ce88a36ba
DIST xf86-video-intel-2.99.917_p20161007.tar.xz 944344 SHA256 5769028d523f37224eaba94db346b97e27b36d6e4a9f5633db8757203ca218c2 SHA512 84f3f5fb86a94d7817a3f1ed63e83d0608090df33344f1f9d5a1ccadc450b54847495872c4ee60dde97ca5bfdc9ec2aa1935b06600acc302c16d766a468ea76d WHIRLPOOL 3f5f38e28754511133ccf3cc05bc3f07d78a79c4657109cdeb667338a6e45e94e593d3ea92a4deaffbd49727551203a5e4e71f3af5c76853591fe6be8018ed3f
DIST xf86-video-intel-2.99.917_p20161103.tar.xz 944872 SHA256 9e25c8fb59434152d1f85490b8a97d31994b071bd2086c77ed64d638fccf0700 SHA512 bba0b16c6f562ab53340cb3f3e85b8bcad20acea7dfd0816cb067ca53a0ea69b2846dd53e16564445c3d84b19b3b6bc67ee955867db9612cc64d4afbd49b2470 WHIRLPOOL cccff2c713f046d3cf76e3023e5d5c93b45e1e841aad5ad02371970563a30502061605f2e322706b30934bdfcd48233383be7bc722cfeb827a3dc4c972bcdeb1
+DIST xf86-video-intel-2.99.917_p20161110.tar.xz 944812 SHA256 d6f5db5321241fa06a5f31b66301d5d2501ac1825ac3f59abc453ea91cb45db8 SHA512 8977436725ecf3689298a790b3386814e38915ca98035756c6af1dfcf3a18e5f7581e05321808fae4c21b496ab208e8deb43599d0eb07e9b036e526cabb5e1c8 WHIRLPOOL fdfe81a057c76acf5c0ff49af5d74c4d303ab9363de4a7be369b66927f900bd597411b18f6ffb1bde07a56646eba5794dbada836ca4d3f7d0b304b41179e184e
diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161110.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161110.ebuild
new file mode 100644
index 000000000000..45158dc42abc
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161110.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+XORG_DRI=dri
+XORG_EAUTORECONF=yes
+inherit linux-info xorg-2 flag-o-matic
+
+DESCRIPTION="X.Org driver for Intel cards"
+
+KEYWORDS="~amd64 ~x86 ~amd64-fbsd -x86-fbsd"
+IUSE="debug dri3 +sna +udev uxa xvmc"
+COMMIT_ID="dad64e9f76c718033402be7bfd2129866d492304"
+SRC_URI="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/snapshot/${COMMIT_ID}.tar.xz -> ${P}.tar.xz"
+
+S=${WORKDIR}/${COMMIT_ID}
+
+REQUIRED_USE="
+ || ( sna uxa )
+"
+RDEPEND="x11-libs/libXext
+ x11-libs/libXfixes
+ >=x11-libs/pixman-0.27.1
+ >=x11-libs/libdrm-2.4.29[video_cards_intel]
+ dri3? (
+ >=x11-base/xorg-server-1.18
+ )
+ sna? (
+ >=x11-base/xorg-server-1.10
+ )
+ udev? (
+ virtual/udev
+ )
+ xvmc? (
+ x11-libs/libXvMC
+ >=x11-libs/libxcb-1.5
+ x11-libs/xcb-util
+ )
+"
+DEPEND="${RDEPEND}
+ >=x11-proto/dri2proto-2.6
+ x11-proto/dri3proto
+ x11-proto/presentproto
+ x11-proto/resourceproto"
+
+src_configure() {
+ replace-flags -Os -O2
+ XORG_CONFIGURE_OPTIONS=(
+ $(use_enable debug)
+ $(use_enable dri)
+ $(use_enable dri dri3)
+ $(usex dri3 "--with-default-dri=3")
+ $(use_enable sna)
+ $(use_enable udev)
+ $(use_enable uxa)
+ $(use_enable xvmc)
+ )
+ xorg-2_src_configure
+}
+
+pkg_postinst() {
+ if linux_config_exists && \
+ kernel_is -lt 4 3 && ! 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
+ if use dri3; then
+ ewarn "There are reports of crashes when using DRI3, we recommend"
+ ewarn "to be careful when enabling this option. Check the following"
+ ewarn "bugs for discussion and a workaround patch for libdrm:"
+ ewarn "https://bugs.freedesktop.org/show_bug.cgi?id=71759"
+ ewarn "https://bugs.gentoo.org/show_bug.cgi?id=582544"
+ fi
+}