summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-06-06 18:32:55 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-06-06 18:32:55 +0000
commit4383a613351039d57eca6657b961a9c186152602 (patch)
tree3de9960b2a5f828c40f52ae73c0d93fd73191c32 /net-im/emesene
parentMarking 8.3.19 8.4.12 9.0.8 9.1.4 ppc64 stable for bug 419727 (diff)
downloadgentoo-2-4383a613351039d57eca6657b961a9c186152602.tar.gz
gentoo-2-4383a613351039d57eca6657b961a9c186152602.tar.bz2
gentoo-2-4383a613351039d57eca6657b961a9c186152602.zip
Version bump
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'net-im/emesene')
-rw-r--r--net-im/emesene/ChangeLog8
-rw-r--r--net-im/emesene/emesene-2.12.5.ebuild60
-rw-r--r--net-im/emesene/metadata.xml3
3 files changed, 67 insertions, 4 deletions
diff --git a/net-im/emesene/ChangeLog b/net-im/emesene/ChangeLog
index e1b8c6baca0b..3a6fe9c1be5b 100644
--- a/net-im/emesene/ChangeLog
+++ b/net-im/emesene/ChangeLog
@@ -1,6 +1,12 @@
# 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.26 2012/06/03 22:36:49 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/ChangeLog,v 1.27 2012/06/06 18:32:55 hwoarang Exp $
+
+*emesene-2.12.5 (06 Jun 2012)
+
+ 06 Jun 2012; Markos Chandras <hwoarang@gentoo.org> +emesene-2.12.5.ebuild,
+ metadata.xml:
+ Version bump
03 Jun 2012; Markos Chandras <hwoarang@gentoo.org> -emesene-1.6.3-r1.ebuild:
remove old ebuild
diff --git a/net-im/emesene/emesene-2.12.5.ebuild b/net-im/emesene/emesene-2.12.5.ebuild
new file mode 100644
index 000000000000..a5bdf52dae15
--- /dev/null
+++ b/net-im/emesene/emesene-2.12.5.ebuild
@@ -0,0 +1,60 @@
+# 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.5.ebuild,v 1.1 2012/06/06 18:32:55 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
+ jabber? ( dev-python/xmpppy )"
+
+GIT_SHA="b393d9a"
+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
+}
diff --git a/net-im/emesene/metadata.xml b/net-im/emesene/metadata.xml
index 3cd6bafd7da8..5e3a61a90139 100644
--- a/net-im/emesene/metadata.xml
+++ b/net-im/emesene/metadata.xml
@@ -5,9 +5,6 @@
<email>hwoarang@gentoo.org</email>
<name>Markos Chandras</name>
</maintainer>
-<use>
- <flag name='webcam'>Enable support for webcam</flag>
-</use>
<longdescription lang="en">
</longdescription>
</pkgmetadata>