diff options
author | Olivier Crête <tester@gentoo.org> | 2008-12-28 05:51:05 +0000 |
---|---|---|
committer | Olivier Crête <tester@gentoo.org> | 2008-12-28 05:51:05 +0000 |
commit | bd94cdd77be0da8448412afe8a22f6eae3b5a1ed (patch) | |
tree | 13a87e44b9829755e230b1fa33a73c95d87ca536 /x11-plugins/purple-plugin_pack | |
parent | Version bump for 2 series. Remove old one. (diff) | |
download | gentoo-2-bd94cdd77be0da8448412afe8a22f6eae3b5a1ed.tar.gz gentoo-2-bd94cdd77be0da8448412afe8a22f6eae3b5a1ed.tar.bz2 gentoo-2-bd94cdd77be0da8448412afe8a22f6eae3b5a1ed.zip |
Bump, bug #246809
(Portage version: 2.1.4.5)
Diffstat (limited to 'x11-plugins/purple-plugin_pack')
-rw-r--r-- | x11-plugins/purple-plugin_pack/ChangeLog | 8 | ||||
-rw-r--r-- | x11-plugins/purple-plugin_pack/purple-plugin_pack-2.5.1.ebuild | 70 |
2 files changed, 77 insertions, 1 deletions
diff --git a/x11-plugins/purple-plugin_pack/ChangeLog b/x11-plugins/purple-plugin_pack/ChangeLog index 5d2e9a928e0d..cfafa33ad091 100644 --- a/x11-plugins/purple-plugin_pack/ChangeLog +++ b/x11-plugins/purple-plugin_pack/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-plugins/purple-plugin_pack # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v 1.17 2008/08/05 21:11:33 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v 1.18 2008/12/28 05:51:05 tester Exp $ + +*purple-plugin_pack-2.5.1 (28 Dec 2008) + + 28 Dec 2008; Olivier Crête <tester@gentoo.org> + +purple-plugin_pack-2.5.1.ebuild: + Bump, bug #246809 05 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.5.1.ebuild b/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.5.1.ebuild new file mode 100644 index 000000000000..ab8c97c32d11 --- /dev/null +++ b/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.5.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.5.1.ebuild,v 1.1 2008/12/28 05:51:05 tester Exp $ + +inherit eutils + +DESCRIPTION="A package with many different plugins for pidgin and libpurple" +HOMEPAGE="http://plugins.guifications.org" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" +IUSE="talkfilters debug gtk ncurses" + +RDEPEND="net-im/pidgin + talkfilters? ( app-text/talkfilters ) + spell? ( app-text/gtkspell )" +DEPEND="${RDEPEND} + dev-lang/python" + +pkg_setup() { + if use gtk && ! built_with_use net-im/pidgin gtk; then + eerror "You need to compile net-im/pidgin with USE=gtk to be" + eerror "able to compile these plugins with gtk" + die "Missing gtk USE flag on net-im/pidgin" + fi + + if use ncurses && ! built_with_use net-im/pidgin ncurses; then + eerror "You need to compile net-im/pidgin with USE=ncurses to be" + eerror "able to compile these plugins with ncurses" + die "Missing ncurses USE flag on net-im/pidgin" + fi +} + +src_compile() { + local plugins="" + + # XMMS Remote is disabled due to XMMS being masked + DISABLED_PLUGINS="xmmsremote" + + use talkfilters || DISABLED_PLUGINS="${DISABLED_PLUGINS} talkfilters" + use spell || DISABLED_PLGUINS="${DISABLED_PLUGINS} switchspell" + + plugins="$(python plugin_pack.py -p dist_dirs)" + use gtk && plugins="${plugins} $(python plugin_pack.py -P dist_dirs)" + use ncurses && plugins="${plugins} $(python plugin_pack.py -f dist_dirs)" + + # Disable incomplete plugins too + DISABLED_PLUGINS="${DISABLED_PLUGINS} $(python plugin_pack.py -i dist_dirs)" + + for i in $DISABLED_PLUGINS; do + plugins="${plugins//$i/}" + plugins="${plugins// / }" + plugins="${plugins/# /}" + plugins="${plugins/% /}" + echo disabled $i + echo $plugins + done + + plugins="${plugins// /,}" + + econf --with-plugins="${plugins}" $(use_enable debug) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README TODO VERSION +} |