# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.2.903.ebuild,v 1.2 2008/10/05 17:14:30 remi Exp $ XDPVER="-1" IUSE="debug dri" inherit x-modular DESCRIPTION="X.Org driver for VIA/S3G cards" HOMEPAGE="http://unichrome.sourceforge.net" #SRC_URI="mirror://sourceforge/unichrome/${P}.tar.gz" EGIT_REPO_URI="git://people.freedesktop.org/~libv/${PN}" EGIT_BOOTSTRAP="./autogen.sh" LICENSE="MIT" KEYWORDS="~amd64 ~x86" RDEPEND=">=x11-base/xorg-server-1.2 dri? ( x11-libs/libdrm )" DEPEND="${RDEPEND} x11-libs/libX11 x11-libs/libXv x11-libs/libXvMC x11-proto/randrproto x11-proto/videoproto x11-proto/xextproto x11-proto/xproto dri? ( x11-proto/xf86driproto x11-proto/glproto )" CONFIGURE_OPTIONS=" $(use_enable debug) $(use_enable debug xv-debug) " DOCS="ChangeLog NEWS README" pkg_setup() { if use dri && ! built_with_use x11-base/xorg-server dri; then die "Build x11-base/xorg-server with the 'dri' USE flag." fi } pkg_postinst() { elog "Supported chipsets:" elog "" elog "CLE266 (VT3122)" elog "KM400, KM400A, KN400, P4M800 (VT7205)" elog "K8M800, K8N800 (VT3108)" elog "CN400, PM800, PM880, PN800 (VT3118)" elog "P4M800Pro, VN800, CN700, P4M800CE (VT3344)" elog "CX700, CX700M, VX700, CX700-M2 (VT3157)" elog "K8M890 (VT3230)" elog "P4M890, VN890 (VT3343)" elog "CN750, CN800 (VT3225)" elog "P4M900, VN896, CN896 (VT3371)" elog "" elog "The driver name is 'via', and this is what you need" elog "to use in your xorg.conf." elog "" elog "See the ChangeLog and release notes for more information." }