/[gentoo-x86]/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917-r1.ebuild
Gentoo

Contents of /x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jun 13 22:53:00 2015 UTC (4 years, 9 months ago) by chithanh
Branch: MAIN
CVS Tags: HEAD
Add patches to fix building against newer gcc, bug #550784.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x2324E7B566DF2611!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917.ebuild,v 1.3 2015/02/19 08:52:43 ago Exp $
4
5 EAPI=5
6
7 XORG_DRI=dri
8 inherit linux-info xorg-2
9
10 DESCRIPTION="X.Org driver for Intel cards"
11
12 KEYWORDS="~amd64 ~x86 ~amd64-fbsd -x86-fbsd"
13 IUSE="debug +sna +udev uxa xvmc"
14
15 REQUIRED_USE="
16 || ( sna uxa )
17 "
18
19 RDEPEND="x11-libs/libXext
20 x11-libs/libXfixes
21 >=x11-libs/pixman-0.27.1
22 >=x11-libs/libdrm-2.4.29[video_cards_intel]
23 sna? (
24 >=x11-base/xorg-server-1.10
25 )
26 udev? (
27 virtual/udev
28 )
29 xvmc? (
30 x11-libs/libXvMC
31 >=x11-libs/libxcb-1.5
32 x11-libs/xcb-util
33 )
34 "
35 DEPEND="${RDEPEND}
36 >=x11-proto/dri2proto-2.6
37 x11-proto/dri3proto
38 x11-proto/presentproto
39 x11-proto/resourceproto"
40
41 PATCHES=(
42 "${FILESDIR}"/${P}-sna-udev-fstat.patch
43 "${FILESDIR}"/${P}-uxa-udev-fstat.patch
44 )
45
46 src_configure() {
47 XORG_CONFIGURE_OPTIONS=(
48 $(use_enable debug)
49 $(use_enable dri)
50 $(use_enable sna)
51 $(use_enable uxa)
52 $(use_enable udev)
53 $(use_enable xvmc)
54 --disable-dri3
55 )
56 xorg-2_src_configure
57 }
58
59 pkg_postinst() {
60 if linux_config_exists \
61 && ! linux_chkconfig_present DRM_I915_KMS; then
62 echo
63 ewarn "This driver requires KMS support in your kernel"
64 ewarn " Device Drivers --->"
65 ewarn " Graphics support --->"
66 ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->"
67 ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->"
68 ewarn " i915 driver"
69 ewarn " [*] Enable modesetting on intel by default"
70 echo
71 fi
72 }

  ViewVC Help
Powered by ViewVC 1.1.20