# $Id$ PNAME="xf86-video-openchrome" PVER="0.3.2" PBUILD="r1" PCAT="x11-drivers" DESCRIPTION="Xorg video driver for ${PNAME/xf86-video-/} devices." HOMEPAGE="http://xorg.freedesktop.org" DEPEND=">= x11-libs/libXvMC-1 >= x11-libs/libdrm-2.4.45 >= media-libs/mesa-gallium-swrast-9.1 == virtual/X-ABI-VIDEODRV-14" SDEPEND=">= x11-proto/xf86driproto-1 >= x11-proto/glproto-1.4.16 >= x11-libs/libX11-1.5" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude xorg SRC_URI=( http://www.openchrome.org/releases/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://www.openchrome.org/releases/ | grep -v latest | lasttarball" src_compile() { cd ${SRCDIR} xorg_src_configure --enable-dri || die mmake || die }