mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
x11-drivers/xf86-video-intel: Add updated snapshot
Package-Manager: portage-2.3.0
This commit is contained in:
@@ -5,3 +5,4 @@ DIST xf86-video-intel-2.99.917_p20160621.tar.xz 941280 SHA256 1dcb1ba06321921f7d
|
||||
DIST xf86-video-intel-2.99.917_p20160704.tar.xz 941312 SHA256 182bc9c0463fafd82a317222c85572b7dcb49c745e9048f9fce877242cea7994 SHA512 4baa94fcbeb93a3ff50c4b626563d31c313fd100979c0ea1be396dde62bc1a7f999835e4762056117a82f929a88f4bca9f37a09177fad7bb6749900a69f2ec1d WHIRLPOOL 82f1f96cf9a0a1d49418f3506f0079fb89473a51d5add9d0cfc269d5bfe472f9654c4713f3972d1f3d99ef2f0e6fa21b5f29cd22aab2a48bda8a3cea6ba1b782
|
||||
DIST xf86-video-intel-2.99.917_p20160803.tar.xz 942264 SHA256 d7970ecc1ac4c104bc94985bd7df6bdc9ff2791cc9b422f153e691966331d8de SHA512 9d42502323ef08e298fb14a4a4408da2d48dd2fc0fa4b208e3b82b0c57088024f457dcc10710640fddd84feb63c8329dc55b2353e00c6321f927e043b6e3b82b WHIRLPOOL e8844fbbfe0ff1d0d2c0e4bdff490f20698374430c7bde515b1fcd1550b03dca44740b32cd09aa7836951936427d74f62c904540f696f15dfe32e9dec5ccbeaa
|
||||
DIST xf86-video-intel-2.99.917_p20160812.tar.xz 942460 SHA256 1b446b947cd66cca4d3bc42a81f20ffcdee45c652f02d3151aea0386ab6e8935 SHA512 f4e3e1512dceaafab2122a9c9c462bc94660f32baeed1e73c2d03814f9a2da9b720d8caef7a62ae168a6381d19688103c8c02fc89ec86da296e27fc8e5be2b6a WHIRLPOOL 353af2c01c0a33153ad84b6fdfdbeda8aa3b94f29e5c640e814eb809a87d9a0adebf249c1ef668dccab9704ba39b8440962883c3d4f44bc889577984125dd3f9
|
||||
DIST xf86-video-intel-2.99.917_p20160829.tar.xz 942680 SHA256 0541e3a0eb3ee1a30968fa4a2ae0db9a1f5768d0931582f7fc647cc8ee26127e SHA512 7b35f1f994639f017c1201231f659704fb5f2ddbdda73d054780922e7f9a29a0dba859c477651c59be9d84831dd5473794a52cd18e97185dbbdb0c051cef5d26 WHIRLPOOL 53126bfb47e51371420715dbb5dde64828e734899debd022de2efa2d04cc069f70d88dae3e6a3b4f4e70887d315dae1d26605d8b591d1684583ed576f317f614
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
# 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="74e4c131daf99eec381c77bef6611111e74da502"
|
||||
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() {
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user