diff options
author | Elijah El Lazkani <ThyArmageddon+GentooOverlay@Gmail.com> | 2012-06-28 14:42:40 -0400 |
---|---|---|
committer | Elijah El Lazkani <ThyArmageddon+GentooOverlay@Gmail.com> | 2012-06-28 14:42:40 -0400 |
commit | 0a5b531c7b352a58a55dbe29b41a84ec4616669d (patch) | |
tree | a59feca144d70e945a66eef415745d5b2d3cc5dc /net-misc | |
parent | Removed icon installation for gcm as it never looks for it in its right (diff) | |
download | Armageddon-0a5b531c7b352a58a55dbe29b41a84ec4616669d.tar.gz Armageddon-0a5b531c7b352a58a55dbe29b41a84ec4616669d.tar.bz2 Armageddon-0a5b531c7b352a58a55dbe29b41a84ec4616669d.zip |
BUMP: gcm ebuild now generates a .desktop file for menu...
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild (renamed from net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r1.ebuild) | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r1.ebuild b/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild index 39895d0..c129f94 100644 --- a/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r1.ebuild +++ b/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild @@ -16,21 +16,24 @@ 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}" +# 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}" 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" + 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() { @@ -40,5 +43,7 @@ src_install() { 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 } |