# $Id$ PNAME="xf86-video-openchrome" PVER="0.2.904_svn925" PBUILD="r2" PCATEGORIE="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.27 >= media-libs/mesa-dri-unichrome-7.11" SDEPEND="${SDEPEND} >= x11-proto/xf86driproto-1 >= x11-proto/glproto-1.4.12 >= x11-libs/libX11-1.4" SRCFILE="${PNAME}-${PVER}.tar.gz" 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_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} autoreconf --verbose --install --force || die } src_compile() { cd ${SRCDIR} xorg_src_configure --enable-dri || die mmake || die }