blob: 3652dd7480e52c3b386abdd998095042c17a4dd9 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
# Must be before x-modular eclass is inherited
SNAPSHOT="yes"
XDPVER=4
inherit x-modular git
EGIT_REPO_URI="git://anongit.freedesktop.org/git/nouveau/${PN}"
DESCRIPTION="Nouveau video driver"
HOMEPAGE="http://nouveau.freedesktop.org/"
SRC_URI=""
LICENSE="MIT"
KEYWORDS=""
IUSE=""
COMMON_DEPEND="|| ( >=x11-base/xorg-server-1.5[dri] >=x11-base/xorg-server-1.5.3 )"
DEPEND="${COMMON_DEPEND}
x11-misc/util-macros
x11-proto/fontsproto
x11-proto/randrproto
x11-proto/videoproto
x11-proto/xextproto
x11-proto/xproto
x11-proto/glproto
x11-proto/xf86driproto
>=x11-libs/libdrm-2.4.5"
# need x11-base/x11-drm until nouveau drm enters the kernel
RDEPEND="${COMMON_DEPEND}
>=x11-base/x11-drm-20090204[video_cards_nv]"
src_unpack() {
x-modular_specs_check
x-modular_server_supports_drivers_check
x-modular_dri_check
git_src_unpack
cd "${S}"
x-modular_patch_source
x-modular_reconf_source
}
|