Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-intel/
Date: Sat, 21 Oct 2017 01:00:52
Message-Id: 1508547636.2b5619285cf01bd620ce624d0803d799cc30e1c7.mattst88@gentoo
1 commit: 2b5619285cf01bd620ce624d0803d799cc30e1c7
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 21 00:58:23 2017 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 21 01:00:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b561928
7
8 x11-drivers/xf86-video-intel: Version bump to 20171018
9
10 Closes: https://bugs.gentoo.org/616354
11
12 x11-drivers/xf86-video-intel/Manifest | 1 +
13 .../xf86-video-intel-2.99.917_p20171018.ebuild | 90 ++++++++++++++++++++++
14 2 files changed, 91 insertions(+)
15
16 diff --git a/x11-drivers/xf86-video-intel/Manifest b/x11-drivers/xf86-video-intel/Manifest
17 index de908caf9d2..231fbf4fa3f 100644
18 --- a/x11-drivers/xf86-video-intel/Manifest
19 +++ b/x11-drivers/xf86-video-intel/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xf86-video-intel-2.99.917_p20170216.tar.xz 945436 SHA256 59819df652f605de06203add06a8e9659c15f06a4a99f88b534f1d67be07da77 SHA512 75d1f76238c4452cf6cd04df4e6cb4b0b17a33e759409f87bbfcdef80d79908e984e2adb2adfd6f98df34e49782c8f77d5ed645dd31e83045e4c687affefffbf WHIRLPOOL 23bbd37679593b186f8791098d4636c68cb9f6ca1bc5b0e8f622fdbd487fb6668ee95e4b34059eb6d59ee65fbac573fde6b71faef1217fc91964cfa2d6e73f33
22 DIST xf86-video-intel-2.99.917_p20170313.tar.xz 945604 SHA256 eb4e4acc88616149092238fb4fbb0b386b72c9ad15c4a9f1753af02a5d069ef0 SHA512 c3cb91c9ce843fee4ba45c41fa2c69dae4d193ce778e0988ffb0ef3c77e4da40b8879cfc7333adb97084c179502cd4b5233181b5c825de619d839cc045181740 WHIRLPOOL 323306f35a6944c6d93f31d5a3cf8f3fa4058f60c8fe3ed9ddee9c5d364a1acc5c479a59a6d4fd8dccb53e0b94bf8e142f03f4b9163a435a5318cabfb9fa40dd
23 +DIST xf86-video-intel-2.99.917_p20171018.tar.xz 947052 SHA256 92eebbe515d3e70bedc48a1136f2d2fb48688e317a0612d6c869f1dfa6a54601 SHA512 50aff2c6807e1d3dcc857a21501e37ab3d04598f03cde0d788aac5876feb54f5c4892ad7c34a6adda696405bfa3135a14ebd4fe41b359b34cc7ac2df1618dd88 WHIRLPOOL 042d178056aed435da824b15718226fc7475ff55511c6ac22d6e947b4ce4872863d56c45a7463de9c501af8d24cfa3f50dbe164a4b94c0d4c399d4883ef699bc
24
25 diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20171018.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20171018.ebuild
26 new file mode 100644
27 index 00000000000..f3a9c8d55b0
28 --- /dev/null
29 +++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20171018.ebuild
30 @@ -0,0 +1,90 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=5
35 +
36 +XORG_DRI=dri
37 +XORG_EAUTORECONF=yes
38 +inherit linux-info xorg-2 flag-o-matic
39 +
40 +DESCRIPTION="X.Org driver for Intel cards"
41 +
42 +KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd"
43 +IUSE="debug dri3 +sna tools +udev uxa xvmc"
44 +COMMIT_ID="4798e18b2b2c8b0a05dc967e6140fd9962bc1a73"
45 +SRC_URI="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/snapshot/${COMMIT_ID}.tar.xz -> ${P}.tar.xz"
46 +
47 +S=${WORKDIR}/${COMMIT_ID}
48 +
49 +REQUIRED_USE="
50 + || ( sna uxa )
51 +"
52 +RDEPEND="
53 + x11-libs/libXext
54 + x11-libs/libXfixes
55 + x11-libs/libXScrnSaver
56 + >=x11-libs/pixman-0.27.1
57 + >=x11-libs/libdrm-2.4.52[video_cards_intel]
58 + dri3? (
59 + >=x11-base/xorg-server-1.18
60 + !<=media-libs/mesa-12.0.4
61 + )
62 + sna? (
63 + >=x11-base/xorg-server-1.10
64 + )
65 + tools? (
66 + x11-libs/libX11
67 + x11-libs/libxcb
68 + x11-libs/libXcursor
69 + x11-libs/libXdamage
70 + x11-libs/libXinerama
71 + x11-libs/libXrandr
72 + x11-libs/libXrender
73 + x11-libs/libxshmfence
74 + x11-libs/libXtst
75 + )
76 + udev? (
77 + virtual/udev
78 + )
79 + xvmc? (
80 + x11-libs/libXvMC
81 + >=x11-libs/libxcb-1.5
82 + x11-libs/xcb-util
83 + )
84 +"
85 +DEPEND="${RDEPEND}
86 + >=x11-proto/dri2proto-2.6
87 + x11-proto/dri3proto
88 + x11-proto/presentproto
89 + x11-proto/resourceproto"
90 +
91 +src_configure() {
92 + replace-flags -Os -O2
93 + XORG_CONFIGURE_OPTIONS=(
94 + $(use_enable debug)
95 + $(use_enable dri)
96 + $(use_enable dri dri3)
97 + $(usex dri3 "--with-default-dri=3")
98 + $(use_enable sna)
99 + $(use_enable tools)
100 + $(use_enable udev)
101 + $(use_enable uxa)
102 + $(use_enable xvmc)
103 + )
104 + xorg-2_src_configure
105 +}
106 +
107 +pkg_postinst() {
108 + if linux_config_exists && \
109 + kernel_is -lt 4 3 && ! linux_chkconfig_present DRM_I915_KMS; then
110 + echo
111 + ewarn "This driver requires KMS support in your kernel"
112 + ewarn " Device Drivers --->"
113 + ewarn " Graphics support --->"
114 + ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->"
115 + ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->"
116 + ewarn " i915 driver"
117 + ewarn " [*] Enable modesetting on intel by default"
118 + echo
119 + fi
120 +}