1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="A package with many different plugins for gaim"
9 HOMEPAGE="http://gaim.guifications.org"
10 SRC_URI="http://downloads.guifications.org/gaim-plugins/Plugin%20Pack/${MY_P}.tar.bz2"
14 KEYWORDS="~amd64 ~x86"
15 PLUGINS="autorejoin awaynotify bashorg bit blistops dice difftopic eight_ball
16 flip gRIM groupmsg irssi lastseen listhandler mystatusbox nicksaid oldlogger
17 plonkers sepandtab showoffline simfix slashexec sslinfo talkfilters xchat-chats"
18 IUSE="${PLUGINS} debug"
20 DEPEND="~net-im/gaim-2.0.0_beta6
21 talkfilters? ( app-text/talkfilters )"
27 einfo "The plugins that are to be built are configured via use flags."
28 einfo "If none of the optional use flags is set _ALL_ plugins are built,"
29 einfo "so adjusting /etc/portage/package.use might be a good idea before merging."
31 # XMMS Remote is disabled due to XMMS being masked
33 # Disabled due to non-working status:
34 # Gaim Schedule (http://gaim.guifications.org/trac/wiki/GaimSchedule)
37 # Stocker (http://gaim.guifications.org/trac/wiki/stocker)
39 # Disabled due to being included in current gaim release:
49 local plugins=${PLUGINS/bashorg/bash}
52 for plugin in ${plugins} ; do
53 use ${plugin} && myplugins="${myplugins}${plugin},"
55 if [ ! -z ${myplugins} ] ; then
56 myconf="--with-plugins=${myplugins}"
58 myconf="--with-plugins=${plugins}"
61 econf "${myconf}" $(use_enable debug) || die "econf failed with ${myconf}"
62 emake -j1 || die "emake failed"
66 emake DESTDIR="${D}" install || die "emake install failed"
67 dodoc AUTHORS ChangeLog NEWS README TODO VERSION