Gentoo Archives: gentoo-commits

From: "Olivier Crete (tester)" <tester@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.5.1.ebuild
Date: Sun, 28 Dec 2008 05:51:12
Message-Id: E1LGoYL-0004wz-OK@stork.gentoo.org
1 tester 08/12/28 05:51:05
2
3 Modified: ChangeLog
4 Added: purple-plugin_pack-2.5.1.ebuild
5 Log:
6 Bump, bug #246809
7 (Portage version: 2.1.4.5)
8
9 Revision Changes Path
10 1.18 x11-plugins/purple-plugin_pack/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog?rev=1.18&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog?rev=1.18&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog?r1=1.17&r2=1.18
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v
19 retrieving revision 1.17
20 retrieving revision 1.18
21 diff -u -r1.17 -r1.18
22 --- ChangeLog 5 Aug 2008 21:11:33 -0000 1.17
23 +++ ChangeLog 28 Dec 2008 05:51:05 -0000 1.18
24 @@ -1,6 +1,12 @@
25 # ChangeLog for x11-plugins/purple-plugin_pack
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v 1.17 2008/08/05 21:11:33 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v 1.18 2008/12/28 05:51:05 tester Exp $
29 +
30 +*purple-plugin_pack-2.5.1 (28 Dec 2008)
31 +
32 + 28 Dec 2008; Olivier CrĂȘte <tester@g.o>
33 + +purple-plugin_pack-2.5.1.ebuild:
34 + Bump, bug #246809
35
36 05 Aug 2008; Doug Goldstein <cardoe@g.o> metadata.xml:
37 add GLEP 56 USE flag desc from use.local.desc
38
39
40
41 1.1 x11-plugins/purple-plugin_pack/purple-plugin_pack-2.5.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.5.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.5.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: purple-plugin_pack-2.5.1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $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 $
51
52 inherit eutils
53
54 DESCRIPTION="A package with many different plugins for pidgin and libpurple"
55 HOMEPAGE="http://plugins.guifications.org"
56 SRC_URI="mirror://gentoo/${P}.tar.bz2"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~hppa ~ppc ~x86"
61 IUSE="talkfilters debug gtk ncurses"
62
63 RDEPEND="net-im/pidgin
64 talkfilters? ( app-text/talkfilters )
65 spell? ( app-text/gtkspell )"
66 DEPEND="${RDEPEND}
67 dev-lang/python"
68
69 pkg_setup() {
70 if use gtk && ! built_with_use net-im/pidgin gtk; then
71 eerror "You need to compile net-im/pidgin with USE=gtk to be"
72 eerror "able to compile these plugins with gtk"
73 die "Missing gtk USE flag on net-im/pidgin"
74 fi
75
76 if use ncurses && ! built_with_use net-im/pidgin ncurses; then
77 eerror "You need to compile net-im/pidgin with USE=ncurses to be"
78 eerror "able to compile these plugins with ncurses"
79 die "Missing ncurses USE flag on net-im/pidgin"
80 fi
81 }
82
83 src_compile() {
84 local plugins=""
85
86 # XMMS Remote is disabled due to XMMS being masked
87 DISABLED_PLUGINS="xmmsremote"
88
89 use talkfilters || DISABLED_PLUGINS="${DISABLED_PLUGINS} talkfilters"
90 use spell || DISABLED_PLGUINS="${DISABLED_PLUGINS} switchspell"
91
92 plugins="$(python plugin_pack.py -p dist_dirs)"
93 use gtk && plugins="${plugins} $(python plugin_pack.py -P dist_dirs)"
94 use ncurses && plugins="${plugins} $(python plugin_pack.py -f dist_dirs)"
95
96 # Disable incomplete plugins too
97 DISABLED_PLUGINS="${DISABLED_PLUGINS} $(python plugin_pack.py -i dist_dirs)"
98
99 for i in $DISABLED_PLUGINS; do
100 plugins="${plugins//$i/}"
101 plugins="${plugins// / }"
102 plugins="${plugins/# /}"
103 plugins="${plugins/% /}"
104 echo disabled $i
105 echo $plugins
106 done
107
108 plugins="${plugins// /,}"
109
110 econf --with-plugins="${plugins}" $(use_enable debug) || die "econf failed"
111 emake || die "emake failed"
112 }
113
114 src_install() {
115 emake DESTDIR="${D}" install || die "emake install failed"
116 dodoc AUTHORS ChangeLog NEWS README TODO VERSION
117 }