diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2008-12-02 22:16:46 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2008-12-02 22:16:46 +0000 |
commit | 9f7c4633f4c9a3b1476afcba9255e710ddeead9b (patch) | |
tree | 9957ee64cd5efbd5df334de78009ab8698b35cfb /x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.40.ebuild | |
parent | P.use.mask win32codecs real USE-flag because repoman complains on realcodecs (diff) | |
download | historical-9f7c4633f4c9a3b1476afcba9255e710ddeead9b.tar.gz historical-9f7c4633f4c9a3b1476afcba9255e710ddeead9b.tar.bz2 historical-9f7c4633f4c9a3b1476afcba9255e710ddeead9b.zip |
Version bump, stability fixes
Package-Manager: portage-2.2_rc16/cvs/Linux 2.6.26-gentoo x86_64
Diffstat (limited to 'x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.40.ebuild')
-rw-r--r-- | x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.40.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.40.ebuild b/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.40.ebuild new file mode 100644 index 000000000000..7b9cfb44b452 --- /dev/null +++ b/x11-plugins/pidgin-facebookchat/pidgin-facebookchat-1.40.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2008 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.40.ebuild,v 1.1 2008/12/02 22:16:46 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="net-im/pidgin" +DEPEND="dev-util/pkgconfig + ${RDEPEND}" + +S=${WORKDIR} + +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" + # Remove NO_ZLIB when it's working + $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} `pkg-config --cflags purple` \ + -DPURPLE_PLUGINS -DENABLE_NLS -DNO_ZLIB -shared -fPIC -DPIC \ + ${FACEBOOK_SOURCES} -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 +} |