| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.2.905.ebuild,v 1.3 2012/03/29 13:46:13 jer Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
XORG_DRI="dri"
|
| 7 |
inherit xorg-2
|
| 8 |
|
| 9 |
DESCRIPTION="X.Org driver for VIA/S3G cards"
|
| 10 |
HOMEPAGE="http://www.openchrome.org"
|
| 11 |
SRC_URI="http://www.openchrome.org/releases/${P}.tar.bz2"
|
| 12 |
LICENSE="MIT"
|
| 13 |
|
| 14 |
KEYWORDS="amd64 x86"
|
| 15 |
IUSE="debug viaregtool"
|
| 16 |
|
| 17 |
RDEPEND=">=x11-base/xorg-server-1.9"
|
| 18 |
DEPEND="
|
| 19 |
${RDEPEND}
|
| 20 |
x11-libs/libX11
|
| 21 |
x11-libs/libXext
|
| 22 |
x11-libs/libXv
|
| 23 |
x11-libs/libXvMC
|
| 24 |
x11-libs/libdrm
|
| 25 |
"
|
| 26 |
|
| 27 |
DOCS=( ChangeLog NEWS README )
|
| 28 |
|
| 29 |
pkg_setup() {
|
| 30 |
xorg-2_pkg_setup
|
| 31 |
XORG_CONFIGURE_OPTIONS=(
|
| 32 |
$(use_enable debug)
|
| 33 |
$(use_enable debug xv-debug)
|
| 34 |
$(use_enable viaregtool)
|
| 35 |
)
|
| 36 |
}
|
| 37 |
|
| 38 |
pkg_postinst() {
|
| 39 |
xorg-2_pkg_postinst
|
| 40 |
|
| 41 |
elog "Supported chipsets:"
|
| 42 |
elog "CLE266 (VT3122), KM400/P4M800 (VT3205), K8M800 (VT3204),"
|
| 43 |
elog "PM800/PM880/CN400 (VT3259), VM800/CN700/P4M800Pro (VT3314),"
|
| 44 |
elog "CX700 (VT3324), P4M890 (VT3327), K8M890 (VT3336),"
|
| 45 |
elog "P4M900/VN896 (VT3364), VX800 (VT3353), VX855 (VT3409), VX900"
|
| 46 |
elog
|
| 47 |
elog "The driver name is 'openchrome', and this is what you need"
|
| 48 |
elog "to use in your xorg.conf (and not 'via')."
|
| 49 |
elog
|
| 50 |
elog "See the ChangeLog and release notes for more information."
|
| 51 |
}
|