# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils python DESCRIPTION="Ugly 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="lirc" RDEPEND="lirc? ( app-misc/lirc dev-python/pylirc ) =media-video/elisa-${PV} =media-plugins/elisa-plugins-good-${PV} dev-python/gdata" DEPEND="${DEPEND} dev-util/pkgconfig" src_install() { distutils_src_install } pkg_postinst() { if use lirc; then elog elog "To setup lirc, do the following as root:" elog "cd /usr/lib/python${PYVER}/site-packages/elisa/plugins/lirc" elog "python setup_lirc.py streamzap.map" elog fi }