# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit x-modular DESCRIPTION="X.Org driver for TV-out on ivtvdev cards" KEYWORDS="~amd64" RDEPEND="x11-base/xorg-server" SRC_URI="${SRC_URI} http://www.mit.edu/~je18337/ivtvdev/${P}.tar.bz2" # http://dev.gentoo.org/~joshuabaergen/distfiles/x11-driver-patches-${XDPVER}.tar.bz2" DEPEND="${RDEPEND} media-tv/ivtv x11-proto/xextproto x11-proto/videoproto x11-proto/xproto" # We remove the manpages, which were for f86-video-fbdev. PATCHES="${FILESDIR}/xf86-video-ivtvdev-0.10.6-gentoo.patch" # I use a big ugly elog because I haven't found a decent static documentation page yet. pkg_postinst() { elog '' elog '' elog "Be sure you add sections for your TV-Out device in /etc/X11/xorg.conf." elog '' elog "Something like:" elog '' elog '' elog ' Section "Device"' elog ' Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"' elog ' Driver "ivtvdev"' elog ' Option "fbdev" "/dev/fb0"' elog ' BusID "PCI:3:10:0"' elog ' EndSection' elog '' elog '' elog ' Section "Screen"' elog ' Identifier "TV Screen"' elog ' Device "Hauppauge PVR 350 iTVC15 Framebuffer"' elog ' Monitor "NTSC Monitor"' elog ' DefaultDepth 24' elog ' DefaultFbbpp 32' elog ' Subsection "Display"' elog ' Depth 24' elog ' FbBpp 32' elog ' Modes "720x480"' elog ' EndSubsection' elog ' EndSection' elog '' elog '' elog ' Section "ServerLayout"' elog ' Identifier "Simple Layout"' elog ' Screen 0 "Screen 0" 0 0' elog ' Screen 1 "TV Screen" RightOf "Screen 0"' elog ' ....' elog ' EndSection' elog '' elog '' }