summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah El Lazkani <ThyArmageddon+GentooOverlay@Gmail.com>2012-10-18 14:08:01 -0400
committerElijah El Lazkani <ThyArmageddon+GentooOverlay@Gmail.com>2012-10-18 14:08:01 -0400
commitf2b41b6acff44397b8f35be8e165eb2203ad6c65 (patch)
treeba6541ed91dc29e850891d187012fb27dc08aae9 /net-misc
parentAdded TeamViewer, it is messy but it works... (diff)
downloadArmageddon-f2b41b6acff44397b8f35be8e165eb2203ad6c65.tar.gz
Armageddon-f2b41b6acff44397b8f35be8e165eb2203ad6c65.tar.bz2
Armageddon-f2b41b6acff44397b8f35be8e165eb2203ad6c65.zip
Added gnome-connection-manager 1.1.0 thanks to p1ngb4ck for reporting it
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/gnome-connection-manager/gnome-connection-manager-1.1.0.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/net-misc/gnome-connection-manager/gnome-connection-manager-1.1.0.ebuild b/net-misc/gnome-connection-manager/gnome-connection-manager-1.1.0.ebuild
new file mode 100644
index 0000000..aa3ac26
--- /dev/null
+++ b/net-misc/gnome-connection-manager/gnome-connection-manager-1.1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+PYTHON_DEPEND="2"
+
+inherit python eutils
+
+DESCRIPTION="Gnome Connection Manager is a tabbed ssh connection manager for gtk"
+HOMEPAGE="http://kuthulu.com/gcm/"
+SRC_URI="http://kuthulu.com/gcm/gnome-connection-manager_${PV}_all.tgz -> ${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-python/pygtk
+ dev-tcltk/expect
+ dev-util/glade[python]
+ gnome-base/libglade:2.0
+ net-misc/openssh
+ x11-libs/vte[python]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/gcm-"${PV}"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ sed -i "s|BASE_PATH = os.path.*|BASE_PATH = '/usr/share/"${PN}"'|" gnome_connection_manager.py \
+ || die "Can not apply patch to BASE_PATH"
+ sed -i "s|glade_dir = \"\"|glade_dir = BASE_PATH|" gnome_connection_manager.py \
+ || die "Can not apply patch to glade_dir"
+ sed -i "s|env python\s*$|env python2|" gnome_connection_manager.py \
+ || die "Can not apply patch to python"
+}
+
+src_install() {
+ insinto /usr/share/"${PN}"
+ doins -r donate.gif gnome-connection-manager.glade \
+ gnome_connection_manager.py lang pyAES.py \
+ SimpleGladeApp.py SimpleGladeApp.pyc ssh.expect icon.png
+ fperms 755 /usr/share/"${PN}"/gnome_connection_manager.py
+ dosym /usr/share/"${PN}"/gnome_connection_manager.py /usr/bin/"${PN}"
+ make_desktop_entry "${PN}" 'Gnome Connection Manager' \
+ "/usr/share/${PN}/icon.png" 'GNOME;GTK;Network;'
+ newdoc README.txt README
+}