| 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-nouveau/Attic/xf86-video-nouveau-0.0.16_pre20120322.ebuild,v 1.6 2012/07/12 17:35:45 ranger Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
XORG_EAUTORECONF="yes"
|
| 7 |
XORG_DRI="always"
|
| 8 |
inherit linux-info xorg-2
|
| 9 |
|
| 10 |
DESCRIPTION="Accelerated Open Source driver for nVidia cards"
|
| 11 |
HOMEPAGE="http://nouveau.freedesktop.org/"
|
| 12 |
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
| 13 |
|
| 14 |
KEYWORDS="amd64 ppc ppc64 x86"
|
| 15 |
IUSE=""
|
| 16 |
|
| 17 |
RDEPEND=">=x11-libs/libdrm-2.4.24[video_cards_nouveau]
|
| 18 |
<x11-libs/libdrm-2.4.34[video_cards_nouveau]"
|
| 19 |
DEPEND="${RDEPEND}
|
| 20 |
x11-proto/glproto
|
| 21 |
x11-proto/xf86driproto
|
| 22 |
x11-proto/dri2proto"
|
| 23 |
|
| 24 |
pkg_postinst() {
|
| 25 |
xorg-2_pkg_postinst
|
| 26 |
if ! has_version x11-base/nouveau-drm; then
|
| 27 |
if ! linux_config_exists || ! linux_chkconfig_present DRM_NOUVEAU; then
|
| 28 |
ewarn "Nouveau DRM not detected. If you want any kind of"
|
| 29 |
ewarn "acceleration with nouveau, enable CONFIG_DRM_NOUVEAU"
|
| 30 |
ewarn "in the kernel."
|
| 31 |
fi
|
| 32 |
fi
|
| 33 |
}
|