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.2.0.ebuild
Date: Sat, 10 Nov 2007 23:59:14
Message-Id: E1Ir0EG-0001bf-Uy@stork.gentoo.org
1 tester 07/11/10 23:59:08
2
3 Modified: ChangeLog
4 Added: purple-plugin_pack-2.2.0.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.10 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.10&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog?rev=1.10&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog?r1=1.9&r2=1.10
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v
19 retrieving revision 1.9
20 retrieving revision 1.10
21 diff -u -r1.9 -r1.10
22 --- ChangeLog 28 Sep 2007 18:29:24 -0000 1.9
23 +++ ChangeLog 10 Nov 2007 23:59:08 -0000 1.10
24 @@ -1,6 +1,12 @@
25 # ChangeLog for x11-plugins/purple-plugin_pack
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v 1.9 2007/09/28 18:29:24 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/ChangeLog,v 1.10 2007/11/10 23:59:08 tester Exp $
29 +
30 +*purple-plugin_pack-2.2.0 (10 Nov 2007)
31 +
32 + 10 Nov 2007; Olivier CrĂȘte <tester@g.o>
33 + +purple-plugin_pack-2.2.0.ebuild:
34 + Version bump
35
36 28 Sep 2007; nixnut <nixnut@g.o> purple-plugin_pack-1.0.ebuild:
37 Stable on ppc wrt bug 189781
38
39
40
41 1.1 x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.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.2.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: purple-plugin_pack-2.2.0.ebuild
47 ===================================================================
48 # Copyright 1999-2007 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.2.0.ebuild,v 1.1 2007/11/10 23:59:08 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="http://downloads.guifications.org/plugins/Plugin%20Pack/${P}.tar.bz2"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~x86"
61 IUSE="talkfilters debug gtk ncurses"
62
63 DEPEND="net-im/pidgin
64 talkfilters? ( app-text/talkfilters )"
65 RDEPEND="${DEPEND}"
66
67
68 pkg_setup() {
69 if use gtk && ! built_with_use net-im/pidgin gtk; then
70 eerror "You need to compile net-im/pidgin with USE=gtk to be"
71 eerror "able to compile these plugins with gtk"
72 die "Missing gtk USE flag on net-im/pidgin"
73 fi
74
75 if use ncurses && ! built_with_use net-im/pidgin ncurses; then
76 eerror "You need to compile net-im/pidgin with USE=ncurses to be"
77 eerror "able to compile these plugins with ncurses"
78 die "Missing ncurses USE flag on net-im/pidgin"
79 fi
80 }
81
82 src_compile() {
83 local plugins=""
84
85 # WARNING
86 # This code to select plugins wont work with 2.2.0
87 # because it ignores --with-plugins completely
88 # and just always builds everything
89
90 # XMMS Remote is disabled due to XMMS being masked
91 DISABLED_PLUGINS="xmmsremote"
92
93 use talkfilters || DISABLED_PLUGINS="${DISABLED_PLUGINS} talkfilters"
94
95 for i in *; do
96 [ -d ${i} ] || continue
97 # We manually disable these plugins
98 if [ -z "${DISABLED_PLUGINS##*${i}*}" ]; then
99 continue
100 fi
101
102 # Only directories with .build files are meant to be built
103 if [ ! -e ${i}/.build ]; then
104 continue
105 fi
106
107 # Those should be generic#
108 if [ -e ${i}/.purple-plugin ]; then
109 plugins="${plugins},${i}"
110 # These require gtk (ie pidgin)
111 elif [ -e ${i}/.pidgin-plugin ]; then
112 use gtk && plugins="${plugins},${i}"
113 # These require ncurses (aka finch)
114 elif [ -e ${i}/.finch-plugin ]; then
115 use ncurses && plugins="${plugins},${i}"
116 fi
117 done
118
119
120
121 econf --with-plugins="${plugins:1}" $(use_enable debug) || die "econf failed"
122 emake -j1 || die "emake failed"
123 }
124
125 src_install() {
126 emake DESTDIR="${D}" install || die "emake install failed"
127 dodoc AUTHORS ChangeLog NEWS README TODO VERSION
128 }
129
130
131
132 --
133 gentoo-commits@g.o mailing list