Lines 1-21
Link Here
|
1 |
# Copyright 1999-2012 Gentoo Foundation |
1 |
# Copyright 1999-2014 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-apps/intel-gpu-tools/intel-gpu-tools-1.3.ebuild,v 1.5 2012/11/18 12:07:31 ago Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-apps/intel-gpu-tools/intel-gpu-tools-1.3.ebuild,v 1.5 2012/11/18 12:07:31 ago Exp $ |
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=4 |
6 |
inherit xorg-2 |
6 |
inherit xorg-2 |
7 |
|
7 |
|
8 |
DESCRIPTION="intel gpu userland tools" |
8 |
DESCRIPTION="Intel GPU userland tools" |
9 |
KEYWORDS="amd64 x86" |
9 |
KEYWORDS="amd64 x86" |
10 |
IUSE="video_cards_nouveau" |
10 |
IUSE="video_cards_nouveau" |
11 |
RESTRICT="test" |
11 |
RESTRICT="test" |
12 |
|
12 |
|
13 |
DEPEND="dev-libs/glib:2 |
13 |
DEPEND="dev-libs/glib:2 |
14 |
x11-libs/cairo |
14 |
>=x11-libs/cairo-1.12.0 |
15 |
>=x11-libs/libdrm-2.4.31[video_cards_intel,video_cards_nouveau?] |
15 |
>=x11-libs/libdrm-2.4.47[video_cards_intel,video_cards_nouveau?] |
16 |
>=x11-libs/libpciaccess-0.10" |
16 |
>=x11-libs/libpciaccess-0.10" |
17 |
RDEPEND="${DEPEND}" |
17 |
RDEPEND="${DEPEND}" |
18 |
|
18 |
|
|
|
19 |
src_prepare() { |
20 |
epatch "${FILESDIR}/${PN}-1.6-add-missing-header.patch" |
21 |
epatch "${FILESDIR}/${PN}-1.6-fix-out-of-tree-builds.patch" |
22 |
eautoreconf |
23 |
xorg-2_src_prepare |
24 |
} |
25 |
|
19 |
src_configure() { |
26 |
src_configure() { |
20 |
XORG_CONFIGURE_OPTIONS=( |
27 |
XORG_CONFIGURE_OPTIONS=( |
21 |
$(use_enable video_cards_nouveau nouveau) |
28 |
$(use_enable video_cards_nouveau nouveau) |