summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-09-09 13:50:49 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-09-09 13:50:49 +0000
commit3374121421f6979218ba87a994cc05d827bfa78c (patch)
tree8601fdf2c1cd145069abfca56eda6b8884f8a6a3 /net-im/emesene
parentRemove sed for freebsd crt*.o files. This has been applied upstream. (diff)
downloadgentoo-2-3374121421f6979218ba87a994cc05d827bfa78c.tar.gz
gentoo-2-3374121421f6979218ba87a994cc05d827bfa78c.tar.bz2
gentoo-2-3374121421f6979218ba87a994cc05d827bfa78c.zip
Version bump
(Portage version: 2.1.11.13/cvs/Linux x86_64)
Diffstat (limited to 'net-im/emesene')
-rw-r--r--net-im/emesene/ChangeLog7
-rw-r--r--net-im/emesene/emesene-2.12.9.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/net-im/emesene/ChangeLog b/net-im/emesene/ChangeLog
index 5afaf0ed9f22..1d10e4292682 100644
--- a/net-im/emesene/ChangeLog
+++ b/net-im/emesene/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/emesene
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/ChangeLog,v 1.31 2012/08/05 18:37:45 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/ChangeLog,v 1.32 2012/09/09 13:50:49 hwoarang Exp $
+
+*emesene-2.12.9 (09 Sep 2012)
+
+ 09 Sep 2012; Markos Chandras <hwoarang@gentoo.org> +emesene-2.12.9.ebuild:
+ Version bump
05 Aug 2012; Markos Chandras <hwoarang@gentoo.org> emesene-2.12.5.ebuild,
emesene-9999.ebuild:
diff --git a/net-im/emesene/emesene-2.12.9.ebuild b/net-im/emesene/emesene-2.12.9.ebuild
new file mode 100644
index 000000000000..8b507faefd83
--- /dev/null
+++ b/net-im/emesene/emesene-2.12.9.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/emesene-2.12.9.ebuild,v 1.1 2012/09/09 13:50:49 hwoarang Exp $
+
+EAPI="4"
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="sqlite"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils eutils
+
+DESCRIPTION="Platform independent MSN Messenger client written in Python+GTK"
+HOMEPAGE="http://www.emesene.org"
+SRC_URI="http://github.com/emesene/emesene/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 GPL-3 LGPL-3 )"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+IUSE="jabber"
+
+RDEPEND="dev-python/pygtk:2
+ dev-python/papyon
+ dev-python/notify-python
+ dev-python/pywebkitgtk
+ jabber? ( dev-python/xmpppy )"
+
+GIT_SHA="b89aa5e"
+S="${WORKDIR}/${PN}-${PN}-${GIT_SHA}"
+
+src_prepare() {
+ # do not import dummy session
+ sed -i -e "/import e3dummy/d" ${PN}/${PN}.py || die
+ # fix .desktop icon to look for emesene-2 executable
+ sed -i -e "s:${PN}:${PN}-2:g" \
+ ${PN}/data/share/applications/${PN}.desktop || die
+ # Use a better meny entry
+ sed -i -e "/^Name/s:${PN}-2:Emesene v2:" \
+ ${PN}/data/share/applications/${PN}.desktop || die
+
+ python_convert_shebangs -r 2 .
+ distutils_src_prepare
+}
+
+src_install() {
+ mysymlink(){
+ dosym $(python_get_sitedir)/${PN}/${PN} /usr/bin/${PN}-2 || die
+ }
+ distutils_src_install
+ # fix names
+ mv "${D}"/usr/share/applications/${PN}.desktop \
+ "${D}"/usr/share/applications/${PN}-2.desktop
+ mv "${D}"/usr/share/pixmaps/${PN}.png \
+ "${D}"/usr/share/pixmaps/${PN}-2.png
+ mv "${D}"/usr/share/pixmaps/${PN}.xpm \
+ "${D}"/usr/share/pixmaps/${PN}-2.xpm
+ mv "${D}"/usr/share/man/man1/${PN}.1 \
+ "${D}"/usr/share/man/man1/${PN}-2.1
+
+ python_execute_function -q mysymlink
+}