summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2009-11-04 07:17:38 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2009-11-04 07:17:38 +0000
commit3f216b00b94911b9f668995b02375a012f27cea9 (patch)
treef451f96a0482657e036774e334321c5c4c95123e /x11-plugins/pidgin-facebookchat
parentEAPI=2 (diff)
downloadgentoo-2-3f216b00b94911b9f668995b02375a012f27cea9.tar.gz
gentoo-2-3f216b00b94911b9f668995b02375a012f27cea9.tar.bz2
gentoo-2-3f216b00b94911b9f668995b02375a012f27cea9.zip
Bump, should fix recent problems with captcha windows
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'x11-plugins/pidgin-facebookchat')
-rw-r--r--x11-plugins/pidgin-facebookchat/ChangeLog8
-rw-r--r--x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.62.ebuild41
2 files changed, 48 insertions, 1 deletions
diff --git a/x11-plugins/pidgin-facebookchat/ChangeLog b/x11-plugins/pidgin-facebookchat/ChangeLog
index 408ecb1c9da2..6f7e32647533 100644
--- a/x11-plugins/pidgin-facebookchat/ChangeLog
+++ b/x11-plugins/pidgin-facebookchat/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-plugins/pidgin-facebookchat
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-facebookchat/ChangeLog,v 1.25 2009/11/02 19:54:21 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-facebookchat/ChangeLog,v 1.26 2009/11/04 07:17:38 voyageur Exp $
+
+*pidgin-facebookchat-1.62 (04 Nov 2009)
+
+ 04 Nov 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +pidgin-facebookchat-1.62.ebuild:
+ Bump, should fix recent problems with captcha windows
02 Nov 2009; Bernard Cafarelli <voyageur@gentoo.org>
-pidgin-facebookchat-1.51-r1.ebuild, -pidgin-facebookchat-1.53.ebuild,
diff --git a/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.62.ebuild b/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.62.ebuild
new file mode 100644
index 000000000000..0c15813e33ab
--- /dev/null
+++ b/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.62.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.62.ebuild,v 1.1 2009/11/04 07:17:38 voyageur Exp $
+
+inherit toolchain-funcs multilib
+
+DESCRIPTION="Facebook chat plugin for libpurple"
+HOMEPAGE="http://code.google.com/p/pidgin-facebookchat/"
+
+SRC_URI="http://pidgin-facebookchat.googlecode.com/files/${PN}-source-${PV}.tar.bz2"
+LICENSE="GPL-3"
+
+SLOT="0"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/json-glib-0.7.6
+ >=net-im/pidgin-2.3.0"
+DEPEND="dev-util/pkgconfig
+ ${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ # Grabbed from makefile
+ FACEBOOK_SOURCES="libfacebook.c fb_blist.c fb_connection.c fb_conversation.c fb_friendlist.c fb_info.c fb_json.c fb_managefriends.c fb_messages.c fb_notifications.c fb_search.c fb_util.c"
+ $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} `pkg-config --cflags purple json-glib-1.0` \
+ -DPURPLE_PLUGINS -DENABLE_NLS -DHAVE_ZLIB -shared -fPIC -DPIC \
+ ${FACEBOOK_SOURCES} `pkg-config --libs json-glib-1.0` \
+ -o libfacebook.so || die "compilation failed"
+}
+
+src_install() {
+ exeinto /usr/$(get_libdir)/purple-2
+ doexe libfacebook.so
+ for size in 16 22 48; do
+ insinto /usr/share/pixmaps/pidgin/protocols/${size}
+ newins facebook${size}.png facebook.png
+ done
+}