summaryrefslogtreecommitdiff
blob: fdc2029ad03a1ce071da1ce7eaecb0068bab681e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=4
inherit xorg-2

DESCRIPTION="intel gpu userland tools"
KEYWORDS="amd64 x86"
IUSE="video_cards_nouveau"
RESTRICT="test"

DEPEND="dev-libs/glib:2
	x11-libs/cairo
	>=x11-libs/libdrm-2.4.31[video_cards_intel,video_cards_nouveau?]
	>=x11-libs/libpciaccess-0.10"
RDEPEND="${DEPEND}"

src_configure() {
	XORG_CONFIGURE_OPTIONS=(
		$(use_enable video_cards_nouveau nouveau)
	)
	xorg-2_src_configure
}