commit:     ad9802bb04cb4d4056538fdbbd333489741413d9
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 10:13:38 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 10:13:38 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad9802bb

x11-drivers/xf86-video-intel: Version bump. Enable dri3 by default

Package-Manager: portage-2.2.27

 x11-drivers/xf86-video-intel/Manifest              |  1 +
 .../xf86-video-intel-2.99.917_p20160224.ebuild     | 75 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/x11-drivers/xf86-video-intel/Manifest 
b/x11-drivers/xf86-video-intel/Manifest
index b88caba..078670b 100644
--- a/x11-drivers/xf86-video-intel/Manifest
+++ b/x11-drivers/xf86-video-intel/Manifest
@@ -3,3 +3,4 @@ DIST xf86-video-intel-2.9.1.tar.bz2 789001 SHA256 
95347c88854c2b41c07ab3bcdfadd1
 DIST xf86-video-intel-2.99.917.tar.bz2 2259040 SHA256 
00b781eea055582820a123c47b62411bdf6aabf4f03dc0568faec55faf9667c9 SHA512 
cbf4d46ad1ad5e5587c0f1f620ff534ef0645270517b60056b9f03e83d8216e2f456de46352a06c37c0c46963cc4ed20b71b815b20ec1bf680ff046e535f580f
 WHIRLPOOL 
b26f1b303a27825120e1036f15493119e8869ebae74a2663204fe1ee63cf9fc217e593c469d6c33151a73c9ea6e9df88d0e3a0bb74ece5109b51593785fd4d7d
 DIST xf86-video-intel-2.99.917_p20160213.tar.xz 933036 SHA256 
0c0b67ef52d02080f1361bde45b7bd4f901e6d64028e1a768223d63769f72616 SHA512 
b762afdde5ef8eaf0e310985fbfd0c192f7463b3114507e3ed7edb16c99bbcf28e4c439d257d59d937c5b1e9f240d512a1025ebd23a0984160a8339df3a30995
 WHIRLPOOL 
723474bba515f222f2aa5392fc9dc8dc6d3cf548f6ffd1b0396f9c78b148588424da703fe9ade5730bd33f99ce10f4de77738e6a7d46212f1425ab2e82faa205
 DIST xf86-video-intel-2.99.917_p20160218.tar.xz 933036 SHA256 
0c0b67ef52d02080f1361bde45b7bd4f901e6d64028e1a768223d63769f72616 SHA512 
b762afdde5ef8eaf0e310985fbfd0c192f7463b3114507e3ed7edb16c99bbcf28e4c439d257d59d937c5b1e9f240d512a1025ebd23a0984160a8339df3a30995
 WHIRLPOOL 
723474bba515f222f2aa5392fc9dc8dc6d3cf548f6ffd1b0396f9c78b148588424da703fe9ade5730bd33f99ce10f4de77738e6a7d46212f1425ab2e82faa205
+DIST xf86-video-intel-2.99.917_p20160224.tar.xz 933972 SHA256 
7406ef1646be39d1130f76f8d60d29a9278d0561f1fcb8b6bfe0851533755e2b SHA512 
a0d78ec9db62447c1851fc24952b02a0c0ac063b229053ab6c11cde7fee4e81c3ae7b9ae93d0d9e2171c3dfe986312f6cb433208362b5b5c7dac65e8b1984391
 WHIRLPOOL 
497225db28fba4c5a92934d6ec92095061819876b3fbfca0987c76a9dbe786a78666dc470dad9a901356e2c380d0f1eb7ee4ee44c68e8e31a55e2544a1408fdb

diff --git 
a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160224.ebuild 
b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160224.ebuild
new file mode 100644
index 0000000..b13f3a0
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160224.ebuild
@@ -0,0 +1,75 @@
+# 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
+
+DESCRIPTION="X.Org driver for Intel cards"
+
+KEYWORDS="~amd64 ~x86 ~amd64-fbsd -x86-fbsd"
+IUSE="debug +dri3 +sna +udev uxa xvmc"
+COMMIT_ID="d1672806a5222f00dcc2eb24ccddd03f727f71bc"
+SRC_URI="http://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() {
+       XORG_CONFIGURE_OPTIONS=(
+               $(use_enable debug)
+               $(use_enable dri)
+               $(use_enable 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
+}

Reply via email to