# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xvidcap/xvidcap-1.1.6.ebuild,v 1.1 2007/05/31 12:20:03 drac Exp $ GCONF_DEBUG="no" inherit gnome2 DESCRIPTION="Screen capture utility enabling you to create videos of your desktop for illustration or documentation purposes." HOMEPAGE="http://xvidcap.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="mp3 theora" RDEPEND=">=x11-libs/gtk+-2.6 mp3? ( media-sound/lame ) theora? ( media-libs/libtheora )" DEPEND="${RDEPEND} dev-util/pkgconfig dev-util/intltool virtual/libintl app-text/scrollkeeper dev-perl/XML-Parser app-text/gnome-doc-utils" src_compile() { econf $(use_enable mp3 libmp3lame) $(use_enable theora libtheora) emake || die "emake failed." } src_install() { emake DESTDIR="${D}" install || "emake install failed." # Almost like bug #58322 but directory name changed. rm -rf "${D}"/usr/share/doc/${PN} dodoc AUTHORS ChangeLog README TODO.tasks }