summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2010-10-10 23:01:30 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2010-10-10 23:01:30 +0000
commit703b295e0c9de0a224d069e9b67414f1361e360f (patch)
tree2b743d068b1be906f5d38f1c3ac4b0926bd5ae1a
parentDrop since the version of bzr this depended upon was dropped (diff)
downloadgentoo-2-703b295e0c9de0a224d069e9b67414f1361e360f.tar.gz
gentoo-2-703b295e0c9de0a224d069e9b67414f1361e360f.tar.bz2
gentoo-2-703b295e0c9de0a224d069e9b67414f1361e360f.zip
Version bump, add group chats support
(Portage version: 2.2_rc91/cvs/Linux x86_64)
-rw-r--r--x11-plugins/pidgin-facebookchat/ChangeLog8
-rw-r--r--x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.68.ebuild50
2 files changed, 57 insertions, 1 deletions
diff --git a/x11-plugins/pidgin-facebookchat/ChangeLog b/x11-plugins/pidgin-facebookchat/ChangeLog
index 38fe08d41b67..9463eb1374b2 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-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-facebookchat/ChangeLog,v 1.31 2010/06/04 14:38:08 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-facebookchat/ChangeLog,v 1.32 2010/10/10 23:01:30 voyageur Exp $
+
+*pidgin-facebookchat-1.68 (10 Oct 2010)
+
+ 10 Oct 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ +pidgin-facebookchat-1.68.ebuild:
+ Version bump, add group chats support
*pidgin-facebookchat-1.67 (04 Jun 2010)
diff --git a/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.68.ebuild b/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.68.ebuild
new file mode 100644
index 000000000000..6f7882c91ce4
--- /dev/null
+++ b/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.68.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 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.68.ebuild,v 1.1 2010/10/10 23:01:30 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}
+
+pkg_setup() {
+ ewarn "This plugin is not mandatory anymore for Facebook chat"
+ ewarn "as it is now available via XMPP, see:"
+ ewarn "http://blog.facebook.com/blog.php?post=297991732130"
+ ewarn "You can still use this plugin for extra features if you want"
+ ewarn "Future versions will use XMPP and provide these features at the same time"
+}
+
+src_compile() {
+ # Grabbed from makefile
+ FACEBOOK_SOURCES="libfacebook.c fb_blist.c fb_connection.c fb_conversation.c fb_info.c fb_managefriends.c fb_messages.c fb_notifications.c fb_search.c fb_util.c fb_friendlist.c fb_json.c fb_chat.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
+}