# $Id$ PNAME="xf86-video-openchrome" PVER="0.2.904_svn841" PBUILD="r1" PCATEGORIE="x11-drivers" STATE="unstable" DESCRIPTION="Xorg video driver for ${PNAME/xf86-video-/} devices." HOMEPAGE="http://xorg.freedesktop.org" SDEPEND=">= x11-libs/libX11-1" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" MCORE_ONLY_KEEP="usr/$(mlibdir)/xorg/modules/openchrome_drv.so" sminclude xorg mcore-split SRC_URI=( http://www.openchrome.org/releases/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://www.openchrome.org/releases/ | lasttarball" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # inject our no-drm patch mcinjectpatch ${PNAME}-${PVER}-mcore-no-drm.patch || die autoreconf --verbose --install --force || die } src_compile() { cd ${SRCDIR} xorg_src_configure --disable-dri || die mmake || die }