diff options
Diffstat (limited to 'net-misc/gtkvncviewer/gtkvncviewer-0.4.ebuild')
-rw-r--r-- | net-misc/gtkvncviewer/gtkvncviewer-0.4.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-misc/gtkvncviewer/gtkvncviewer-0.4.ebuild b/net-misc/gtkvncviewer/gtkvncviewer-0.4.ebuild new file mode 100644 index 000000000000..d09b94fd90bc --- /dev/null +++ b/net-misc/gtkvncviewer/gtkvncviewer-0.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +PYTHON_DEPEND="2" + +inherit eutils fdo-mime python + +DESCRIPTION="A small GTK tool to connect to VNC servers" +HOMEPAGE="https://launchpad.net/gtkvncviewer" +SRC_URI="https://launchpad.net/${PN}/trunk/0.4/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-python/gconf-python:2 + dev-python/gnome-keyring-python + dev-python/pygtk:2 + net-libs/gtk-vnc[python]" +DEPEND="${RDEPEND}" + +src_install() { + dodir /usr/share/gtkvncviewer + domenu data/gtkvncviewer.desktop + rm -f data/gtkvncviewer.desktop + insinto /usr/share/gtkvncviewer + doins -r locale data gtkvncviewer.py + doman gtkvncviewer.1 + dodoc AUTHORS CHANGELOG TODO + make_wrapper gtkvncviewer "/usr/bin/python2 ${PN}.py" "/usr/share/${PN}" + validate_desktop_entries +} + +pkg_postinst() { fdo-mime_desktop_database_update; } +pkg_postrm() { fdo-mime_desktop_database_update; } |