summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2009-06-22 07:58:34 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2009-06-22 07:58:34 +0000
commit0a051983e44558720c9eb5f55067a9b5374b1d52 (patch)
tree5589e8b152c488dda1561a6f9590df03021c01ec /x11-plugins/pidgin-facebookchat
parentAdded ~amd64 (diff)
downloadgentoo-2-0a051983e44558720c9eb5f55067a9b5374b1d52.tar.gz
gentoo-2-0a051983e44558720c9eb5f55067a9b5374b1d52.tar.bz2
gentoo-2-0a051983e44558720c9eb5f55067a9b5374b1d52.zip
Version bump, bugfix for an occasional crash
(Portage version: 2.2_rc33/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.52.ebuild41
2 files changed, 48 insertions, 1 deletions
diff --git a/x11-plugins/pidgin-facebookchat/ChangeLog b/x11-plugins/pidgin-facebookchat/ChangeLog
index d9d25d09755b..0aaf46b7d9b1 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.19 2009/06/13 20:59:46 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-facebookchat/ChangeLog,v 1.20 2009/06/22 07:58:34 voyageur Exp $
+
+*pidgin-facebookchat-1.52 (22 Jun 2009)
+
+ 22 Jun 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +pidgin-facebookchat-1.52.ebuild:
+ Version bump, bugfix for an occasional crash
*pidgin-facebookchat-1.51-r1 (13 Jun 2009)
diff --git a/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.52.ebuild b/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.52.ebuild
new file mode 100644
index 000000000000..d088de42edf6
--- /dev/null
+++ b/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.52.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.52.ebuild,v 1.1 2009/06/22 07:58:34 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
+ >=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_info.c fb_managefriends.c fb_messages.c fb_notifications.c fb_search.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
+}