# Copyright 2010-2011 Antoine Martin # Distributed under the terms of the GNU General Public License v2 inherit eutils #SUPPORT_PYTHON_ABIS="1" inherit distutils DESCRIPTION="Window-Switch is a client server tool to start and control virtual desktops" HOMEPAGE="http://winswitch.org" SRC_URI="http://winswitch.org/src/${P}.src.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 ppc x86 ~alpha ~sparc ~sparc64" IUSE="vnc xpra nx mdns +ssh extras +client server sound" PYTHON_DEPEND="2" RESTRICT_PYTHON_ABIS="3.*" EAPI="2" DEPEND="dev-python/setuptools dev-python/twisted ssh? ( net-misc/openssh ) dev-python/pycrypto dev-python/twisted-conch sound? ( dev-python/gst-python ) client? ( dev-python/pygtk dev-python/notify-python nx? ( net-misc/nxclient ) ) server? ( dev-python/netifaces dev-python/pygobject xpra? ( x11-apps/xmodmap ) nx? ( net-misc/nx x11-apps/xmodmap ) vnc? ( net-misc/tigervnc[server] ) extras? ( media-gfx/xloadimage x11-misc/devilspie dev-python/imaging ) ) vnc? ( net-misc/tigervnc ) xpra? ( >=net-misc/xpra-0.0.7.18 ) mdns? ( net-misc/mDNSResponder ) " pkg_postinst() { if use vnc; then ewarn "The version of TigerVNC in portage is too old..." ewarn "You may encounter password related problems" fi }