# $Id$ PNAME="recordmydesktop" PVER="0.3.8.1" PBUILD="r2" PCAT="media-video" DESCRIPTION="Desktop session recorder." HOMEPAGE="http://recordmydesktop.iovar.org/" DEPEND=">= x11-libs/libXext-1.3 >= x11-libs/libXdamage-1.1 >= x11-libs/libXfixes-5 >= x11-libs/libICE-1 >= x11-libs/libSM-1.2 >= media-libs/alsa-lib-1.0.24 >= media-libs/libogg-1.3 >= media-libs/libvorbis-1.3 >= media-libs/libtheora-1.1" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-theora.patch ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix build against newer xextproto sed -i 's:shmstr.h:shmproto.h:g' src/rmd_{getzpixmap.c,update_image.c} || die # fix framrates with new libtheora mpatch ${PNAME}-${PVER}-theora.patch || die }