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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Nov 8 19:02:54 2013 UTC (6 years, 3 months ago) by remi
Branch: MAIN
Changes since 1.3: +8 -1 lines
x11-drivers/xf86-video-intel: Fix build failure (wrong CFLAGS variable), see bug #490342

(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.21.15.ebuild,v 1.3 2013/10/08 05:06:11 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="glamor +sna +udev uxa xvmc"
14
15 REQUIRED_USE="|| ( glamor sna uxa )"
16
17 RDEPEND="x11-libs/libXext
18 x11-libs/libXfixes
19 >=x11-libs/pixman-0.27.1
20 >=x11-libs/libdrm-2.4.29[video_cards_intel]
21 glamor? (
22 x11-libs/glamor
23 )
24 sna? (
25 >=x11-base/xorg-server-1.10
26 )
27 udev? (
28 virtual/udev
29 )
30 xvmc? (
31 x11-libs/libXvMC
32 >=x11-libs/libxcb-1.5
33 x11-libs/xcb-util
34 )
35 "
36 DEPEND="${RDEPEND}
37 >=x11-proto/dri2proto-2.6
38 x11-proto/resourceproto"
39
40 src_prepare() {
41 # wrong variable name, fix configure directly to avoid autoreconf
42 # see bug #490342
43 sed -e "s/DRI_CFLAGS/DRI1_CFLAGS/g" -i configure
44 xorg-2_src_prepare
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