# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Veejay is a live performance tool featuring non-linear editing and mixing from multiple sources" HOMEPAGE="veejay.sourceforge.net" SRC_URI="mirror://sourceforge/veejay/${P}.tar.bz2" KEYWORDS="~x86" LICENSE="GPL-2" SLOT="0" IUSE="directfb X" DEPEND=">=media-libs/libsdl-1.2.3 >=media-libs/libdv-0.99 >=dev-libs/libxml2-2.5.4 media-libs/jpeg directfb? ( >=dev-libs/DirectFB-0.9.17 ) X? ( virtual/x11 x11-libs/gtk+ ) >=media-sound/jack-audio-connection-kit-0.98.1" src_compile() { use X && myconf="${myconf} --with-x" econf --with-dv=/usr/lib ${myconf} || die epatch ${FILESDIR}/${PN}-dices.c.patch emake || die "emake failed" } src_install() { einstall || die dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README README.performance README.quickstart README.whatis TODO doman rawdv2yuv.1 sendVIMS.1 veejay.1 yuv2rawdv.1 }