# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit kde DESCRIPTION="A KDE fullscreen task manager." HOMEPAGE="http://kompose.berlios.de" SRC_URI="http://download.berlios.de/kompose/${P}.tar.bz2" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ppc ~sparc x86" IUSE="" RDEPEND="media-libs/imlib2" DEPEND="${RDEPEND}" need-kde 3.2 function pkg_setup() { # bug 94881 if ! built_with_use media-libs/imlib2 X; then eerror "This package requires imlib2 to be built with X11 support." eerror "Please run USE=X emerge media-libs/imlib2, then try emerging kompose again." die "imlib2 must be built with USE=X" fi } src_unpack() { kde_src_unpack epatch ${FILESDIR}/${P}-ktoolbar-patch } src_compile() { make -f admin/Makefile.common cvs || die "preparing autotooled build setup failed" kde_src_compile }