--- xvidcap-1.1.3-r1.ebuild.orig 2004-12-27 11:25:04.515173712 +1030 +++ xvidcap-1.1.3-r1.ebuild.orig 2004-12-27 11:27:17.650934000 +1030 @@ -4,7 +4,7 @@ inherit eutils -IUSE="gtk" +IUSE="gtk embedded-ffmpeg" DESCRIPTION="Screen capture utility enabling you to create videos of your desktop for illustration or documentation purposes." HOMEPAGE="http://xvidcap.sourceforge.net/" @@ -26,11 +26,14 @@ cd ${S} #fix bug #62741 + if use !embedded-ffmpeg ; then epatch ${FILESDIR}/${P}-use-ffmpeg-0.4.9.patch + fi } src_compile() { use gtk && myconf="${myconf} --with-gtk2" + use embedded-ffmpeg && myconf="${myconf} --with-forced-embedded-ffmpeg" econf ${myconf} || die "Configuration failed" emake || die "Compilation failed"