Gentoo Archives: gentoo-commits

From: "Krzysztof Pawlik (nelchael)" <nelchael@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/purple-plugin_pack: ChangeLog purple-plugin_pack-2.7.0.ebuild
Date: Sat, 03 Mar 2012 18:58:29
Message-Id: 20120303185818.4B40B2004B@flycatcher.gentoo.org
1 nelchael 12/03/03 18:58:18
2
3 Modified: ChangeLog
4 Added: purple-plugin_pack-2.7.0.ebuild
5 Log:
6 Version bump, see bug #401079.
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.40 x11-plugins/purple-plugin_pack/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog?rev=1.40&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog?rev=1.40&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog?r1=1.39&r2=1.40
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v
20 retrieving revision 1.39
21 retrieving revision 1.40
22 diff -u -r1.39 -r1.40
23 --- ChangeLog 27 Oct 2011 06:46:56 -0000 1.39
24 +++ ChangeLog 3 Mar 2012 18:58:18 -0000 1.40
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-plugins/purple-plugin_pack
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v 1.39 2011/10/27 06:46:56 tetromino Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v 1.40 2012/03/03 18:58:18 nelchael Exp $
31 +
32 +*purple-plugin_pack-2.7.0 (03 Mar 2012)
33 +
34 + 03 Mar 2012; Krzysztof Pawlik <nelchael@g.o>
35 + +purple-plugin_pack-2.7.0.ebuild:
36 + Version bump, see bug #401079.
37
38 27 Oct 2011; Alexandre Rostovtsev <tetromino@g.o>
39 purple-plugin_pack-2.5.1-r1.ebuild, purple-plugin_pack-2.6.2-r1.ebuild,
40
41
42
43 1.1 x11-plugins/purple-plugin_pack/purple-plugin_pack-2.7.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.7.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.7.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: purple-plugin_pack-2.7.0.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.7.0.ebuild,v 1.1 2012/03/03 18:58:18 nelchael Exp $
53
54 EAPI="2"
55
56 inherit eutils python
57
58 DESCRIPTION="A package with many different plugins for pidgin and libpurple"
59 HOMEPAGE="https://www.guifications.org/projects/purple-plugin-pack"
60 # The ID in URL changes with each release :(
61 SRC_URI="https://www.guifications.org/attachments/download/201/purple-plugin-pack-${PV}.tar.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~hppa ~ppc ~x86"
66 IUSE="debug gtk ncurses spell talkfilters"
67
68 RDEPEND="net-im/pidgin[gtk?,ncurses?]
69 talkfilters? ( app-text/talkfilters )
70 spell? ( app-text/gtkspell:2 )"
71 DEPEND="${RDEPEND}
72 =dev-lang/python-2*"
73
74 S="${WORKDIR}/purple-plugin-pack-${PV}"
75
76 pkg_setup() {
77 python_set_active_version 2
78 python_pkg_setup
79 }
80
81 src_prepare() {
82 sed -e '/CFLAGS=/{s| -g3||}' -i configure || die
83 }
84
85 list_plugins_dep() {
86 local dependency=${1}
87 grep -EH "depends.*$dependency" */plugins.cfg | sed 's:/.*::'
88 }
89
90 src_configure() {
91 local plugins=""
92
93 # list all plugins, then pull DISABLED_PLUGINS with the ones we don't need
94 plugins="$($(PYTHON) plugin_pack.py -d dist_dirs)"
95 einfo "List of all possible plugins:"
96 einfo "${plugins}"
97
98 eval DISABLED_PLUGINS="\$${PN//[^a-z]/_}_DISABLED_PLUGINS"
99 # disable known broken plugins
100 DISABLED_PLUGINS+=" schedule findip"
101 use gtk || DISABLED_PLUGINS+=" $(list_plugins_dep pidgin)"
102 use ncurses || DISABLED_PLUGINS+=" $(list_plugins_dep finch)"
103 use spell || DISABLED_PLUGINS+=" $(list_plugins_dep gtkspell)"
104 use talkfilters || DISABLED_PLUGINS+=" $(list_plugins_dep talkfiltersbin)"
105
106 for plug in ${DISABLED_PLUGINS}; do
107 plugins="${plugins//${plug}}"
108 done
109
110 plugins="$(echo ${plugins} | sed 's:[ \t]\+:,:g;s:,$::;s:^,::')"
111
112 econf \
113 --with-plugins="${plugins}" \
114 $(use_enable debug)
115 }
116
117 src_install() {
118 emake DESTDIR="${D}" install || die "emake install failed"
119 dodoc AUTHORS ChangeLog NEWS README VERSION || die
120 }
121
122 pkg_preinst() {
123 elog "Note: if you want to disable some plugins in pack, define"
124 elog "${PN//[^a-z]/_}_DISABLED_PLUGINS with a list of plugins to"
125 elog "skip during install (for list see einfo in build output)."
126 }