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

Contents of /x11-drivers/xf86-video-intel/xf86-video-intel-2.99.906.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Nov 17 22:20:35 2013 UTC (6 years, 2 months ago) by chithanh
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2013 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.905-r1.ebuild,v 1.1 2013/11/04 21:18:00 remi 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="glamor +sna +udev uxa xvmc"
14
15 REQUIRED_USE="
16 || ( sna uxa )
17 glamor? ( uxa )
18 "
19
20 RDEPEND="x11-libs/libXext
21 x11-libs/libXfixes
22 >=x11-libs/pixman-0.27.1
23 >=x11-libs/libdrm-2.4.29[video_cards_intel]
24 glamor? (
25 x11-libs/glamor
26 )
27 sna? (
28 >=x11-base/xorg-server-1.10
29 )
30 udev? (
31 virtual/udev
32 )
33 xvmc? (
34 x11-libs/libXvMC
35 >=x11-libs/libxcb-1.5
36 x11-libs/xcb-util
37 )
38 "
39 DEPEND="${RDEPEND}
40 >=x11-proto/dri2proto-2.6
41 x11-proto/resourceproto"
42
43 PATCHES=(
44 "${FILESDIR}"/${P}-server-crash.patch
45 )
46
47 src_configure() {
48 XORG_CONFIGURE_OPTIONS=(
49 $(use_enable dri)
50 $(use_enable glamor)
51 $(use_enable sna)
52 $(use_enable uxa)
53 $(use_enable udev)
54 $(use_enable xvmc)
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