summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-intel/Manifest1
-rw-r--r--x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20180214.ebuild90
2 files changed, 91 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-intel/Manifest b/x11-drivers/xf86-video-intel/Manifest
index 153cb14167f1..106bf28912db 100644
--- a/x11-drivers/xf86-video-intel/Manifest
+++ b/x11-drivers/xf86-video-intel/Manifest
@@ -1,3 +1,4 @@
DIST xf86-video-intel-2.99.917_p20170216.tar.xz 945436 BLAKE2B 14e74941b6c0a5e97bebbe5eee0f07f4cf72a958c78aa5ad5e4fbc2ffcfb0245e7a393e0a7942a7c3910470f681c6ecf451df4f9b92382ee14d0afd464c39b85 SHA512 75d1f76238c4452cf6cd04df4e6cb4b0b17a33e759409f87bbfcdef80d79908e984e2adb2adfd6f98df34e49782c8f77d5ed645dd31e83045e4c687affefffbf
DIST xf86-video-intel-2.99.917_p20170313.tar.xz 945604 BLAKE2B 45f206db10ffdeae8734571b115915904eeabe4564e1127a7889e51c2f7dab2502d0918c0351267a945aed8e087e62bdea2de13971fd7bc5e2445c7e837ea958 SHA512 c3cb91c9ce843fee4ba45c41fa2c69dae4d193ce778e0988ffb0ef3c77e4da40b8879cfc7333adb97084c179502cd4b5233181b5c825de619d839cc045181740
DIST xf86-video-intel-2.99.917_p20171018.tar.xz 947052 BLAKE2B d1c54f54b1c3f1cc714b9093b537a582128232393cc2a77dec264a6ca4a32c4b02cb69bf163bc9bd0c27849ada44f81a32453647badab2403b191b40db900236 SHA512 50aff2c6807e1d3dcc857a21501e37ab3d04598f03cde0d788aac5876feb54f5c4892ad7c34a6adda696405bfa3135a14ebd4fe41b359b34cc7ac2df1618dd88
+DIST xf86-video-intel-2.99.917_p20180214.tar.xz 951544 BLAKE2B 57df523168c6bf650ddf6ca27bbc799a8a9d183c9a6a4d2e232288124b57bfff7bb36a8fcc55e2845c4ece2653d39c0830c4ea2ecef4f1968a3ee7413506bae3 SHA512 afc8a4db550aa5567fa6f5eb9b480fac7c3e496eb62ae62a6a7b7e317515e24d21bf78bf1b03ba90cfd909dd37a5f65247c7aa2314234aec3d575e53db825912
diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20180214.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20180214.ebuild
new file mode 100644
index 000000000000..70fbe1a0ea4b
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20180214.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+IUSE="debug dri3 +sna tools +udev uxa xvmc"
+COMMIT_ID="75795523003798d789d417e82aaa81c7ea1ed616"
+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/libXScrnSaver
+ >=x11-libs/pixman-0.27.1
+ >=x11-libs/libdrm-2.4.52[video_cards_intel]
+ dri3? (
+ >=x11-base/xorg-server-1.18
+ !<=media-libs/mesa-12.0.4
+ )
+ sna? (
+ >=x11-base/xorg-server-1.10
+ )
+ tools? (
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libxshmfence
+ x11-libs/libXtst
+ )
+ 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 tools)
+ $(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
+}