diff options
-rw-r--r-- | x11-drivers/xf86-video-intel/Manifest | 1 | ||||
-rw-r--r-- | x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161118.ebuild | 83 |
2 files changed, 84 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-intel/Manifest b/x11-drivers/xf86-video-intel/Manifest index 4ec0e88d7794..da4b9dc6ae39 100644 --- a/x11-drivers/xf86-video-intel/Manifest +++ b/x11-drivers/xf86-video-intel/Manifest @@ -5,3 +5,4 @@ DIST xf86-video-intel-2.99.917_p20160621.tar.xz 941280 SHA256 1dcb1ba06321921f7d 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 +DIST xf86-video-intel-2.99.917_p20161118.tar.xz 945020 SHA256 dbe2d60a5281a7350143cafb4b2286bfcec4a0b08a9dd677e8cfe6ae23e1edfd SHA512 8e72ec8554642e38ab22467e81ee17f1cceb67cd6364c16a2600504ca25f3ce210db0e8c69f9fe882fb26084f28ad9801749fbf0715f13e3bcbad9d781dd8959 WHIRLPOOL aa454ef66160b4c3a67339146cc586f6bcc546fe686eef527db90d1300b2528bdb23bf07e80d9daa955d94303b05955d153ca04a27b4e270b9a47a726d8ee8f6 diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161118.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161118.ebuild new file mode 100644 index 000000000000..d9d2e250dad9 --- /dev/null +++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161118.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="bde946054efbc1c7ae1483b84c3b4fa3c2c7e2ec" +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 +} |