# Copyright 1999-2006 Gentoo Foundation# Distributed under the terms of the GNU General Public License v2# $Header: $inherit kdeMY_P="${PN}-${PV}"S="${WORKDIR}/${MY_P}"DESCRIPTION="An image viewer for KDE implementing OpenGL"HOMEPAGE="http://ksquirrel.sourceforge.net/"SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"LICENSE="GPL-2"KEYWORDS="~amd64 ~x86"IUSE="kdeenablefinal kipi pch new-ldflags"DEPEND="=media-libs/ksquirrel-libs-${PV} kipi? ( media-libs/libkipi )"RDEPEND="${DEPEND}"need-kde 3.5src_compile() { cd ${S} #econf "$(use_enable pch pch) $(use_enable new-ldflags new-ldflags)" ./configure --enable-pch --enable-new-ldflags --prefix=${PREFIX} #kde_src_compile make || die "Compilation failed"}src_install() { kde_src_install dodoc fmt_filters_README}