Installation from ebuild.

Okay, I have downloaded kdenlive from the gentoo repo (because I use gentoo). And it has merged. However, frequent segmentation faults prevent use of Kdenlive. Some help would be appreciated!

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/kdenlive/kdenlive-0.1.0.ebuild,v 1.2 2010/01/18 13:25:37 zypher Ex$

EAPI=2
inherit eutils subversion kde4-base cmake-utils

DESCRIPTION="Kdenlive! (pronounced Kay-den-live) is a Non Linear Video Editing Suite for KDE."
HOMEPAGE="http://kdenlive.sourceforge.net/"
ESVN_REPO_URI="https://kdenlive.svn.sourceforge.net/svnroot/kdenlive/trunk/kdenlive"
ESVN_PROJECT="kdenlive"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""

DEPEND="
>=media-libs/mlt-0.4.6[ffmpeg,sdl,xml,melt,qt4,kde]
media-video/ffmpeg[X,sdl]
>=kde-base/kdelibs-${KDE_MINIMAL}[semantic-desktop]
"

src_unpack() {
subversion_src_unpack
}

PATCHES=(
"${FILESDIR}"/kdenlive-9999.patch
)

src_compile() {
cmake-utils_src_compile
}

--

################################
This one works on my gentoo (amd64)

patch

--- "${FILESDIR}"/src/dvdwizardmenu.cpp 2010-01-18 12:17:05.000000000 +0100
+++ kdenlive-9999.patch 2010-01-18 12:34:09.000000000 +0100
@@ -399,7 +399,7 @@
m_scene->render(&p, QRectF(0, 0, m_width, m_height));
p.end();
#if QT_VERSION >= 0x040600
- img.setColorCount(4);
+ /*img.setColorCount(4);*/
#else
img.setNumColors(4);
#endif
@@ -423,7 +423,7 @@
saved.setNumColors(4);
saved.save(img2);*/
#if QT_VERSION >= 0x040600
- img.setColorCount(4);
+ /*img.setColorCount(4);*/
#else
img.setNumColors(4);
#endif
@@ -442,7 +442,7 @@
saved.setNumColors(4);
saved.save(img3);*/
#if QT_VERSION >= 0x040600
- img.setColorCount(4);
+ /*img.setColorCount(4);*/
#else
img.setNumColors(4);
#endif