# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils python DESCRIPTION="Good plugins for the Elisa media center" HOMEPAGE="http://elisa.fluendo.com/" SRC_URI="http://elisa.fluendo.com/static/download/elisa/${P}.tar.gz" RESTRICT="nomirror" LICENSE="GPL-2" SLOT="0" KEYWORDS="-* ~amd64 ~ppc ~x86" IUSE="gnome hal" RDEPEND="hal? ( sys-apps/hal dev-python/dbus-python ) =media-video/elisa-${PV}" DEPEND="${DEPEND} dev-util/pkgconfig" src_unpack() { distutils_src_unpack rm -rf "${S}/elisa/plugins/winscreensaver/" ! use gnome && \ rm -rf "${S}/elisa/plugins/gnome" ! use hal && \ rm -rf "${S}/elisa/plugins/hal" } src_install() { distutils_src_install }