Gentoo Archives: gentoo-commits

From: "Wolfram Schlich (wschlich)" <wschlich@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/mcabber: ChangeLog mcabber-0.10.0.ebuild mcabber-0.9.6.ebuild mcabber-0.9.9-r1.ebuild mcabber-0.9.9.ebuild
Date: Thu, 06 May 2010 11:31:25
Message-Id: 20100506113120.4E33E2C3FC@corvid.gentoo.org
1 wschlich 10/05/06 11:31:20
2
3 Modified: ChangeLog
4 Added: mcabber-0.10.0.ebuild
5 Removed: mcabber-0.9.6.ebuild mcabber-0.9.9-r1.ebuild
6 mcabber-0.9.9.ebuild
7 Log:
8 version bump, removed some old versions
9 (Portage version: 2.2_rc60/cvs/Linux i686)
10
11 Revision Changes Path
12 1.49 net-im/mcabber/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mcabber/ChangeLog?rev=1.49&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mcabber/ChangeLog?rev=1.49&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mcabber/ChangeLog?r1=1.48&r2=1.49
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-im/mcabber/ChangeLog,v
21 retrieving revision 1.48
22 retrieving revision 1.49
23 diff -u -r1.48 -r1.49
24 --- ChangeLog 5 Nov 2009 07:47:04 -0000 1.48
25 +++ ChangeLog 6 May 2010 11:31:20 -0000 1.49
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-im/mcabber
28 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-im/mcabber/ChangeLog,v 1.48 2009/11/05 07:47:04 wschlich Exp $
30 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/net-im/mcabber/ChangeLog,v 1.49 2010/05/06 11:31:20 wschlich Exp $
32 +
33 +*mcabber-0.10.0 (06 May 2010)
34 +
35 + 06 May 2010; Wolfram Schlich <wschlich@g.o> -mcabber-0.9.6.ebuild,
36 + -mcabber-0.9.9.ebuild, -mcabber-0.9.9-r1.ebuild, +mcabber-0.10.0.ebuild:
37 + version bump, removed some old versions
38
39 *mcabber-0.9.10 (04 Nov 2009)
40
41
42
43
44 1.1 net-im/mcabber/mcabber-0.10.0.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mcabber/mcabber-0.10.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mcabber/mcabber-0.10.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: mcabber-0.10.0.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-im/mcabber/mcabber-0.10.0.ebuild,v 1.1 2010/05/06 11:31:20 wschlich Exp $
54
55 EAPI="2"
56
57 inherit flag-o-matic
58
59 DESCRIPTION="A small Jabber console client with various features, like MUC, SSL, PGP"
60 HOMEPAGE="http://mcabber.com/"
61 SRC_URI="http://mcabber.com/files/${P}.tar.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
66
67 IUSE="crypt otr spell ssl"
68
69 LANGS="de en fr nl pl uk ru"
70 # localized help versions are installed only, when LINGUAS var is set
71 for i in ${LANGS}; do
72 IUSE="${IUSE} linguas_${i}"
73 done;
74
75 RDEPEND="ssl? ( net-libs/loudmouth[ssl] )
76 crypt? ( >=app-crypt/gpgme-1.0.0 )
77 >=net-libs/loudmouth-1.4.3
78 otr? ( >=net-libs/libotr-3.1.0 )
79 spell? ( app-text/aspell )
80 >=dev-libs/glib-2.0.0
81 sys-libs/ncurses"
82
83 DEPEND="${RDEPEND}
84 dev-util/pkgconfig"
85
86 src_prepare() {
87 use crypt && append-flags -D_FILE_OFFSET_BITS=64 # bug #277888
88 append-flags -fno-strict-aliasing
89 }
90
91 src_configure() {
92 econf \
93 --enable-modules \
94 $(use_enable crypt gpgme) \
95 $(use_enable otr) \
96 $(use_enable spell aspell) \
97 || die "econf failed"
98 }
99
100 src_compile() {
101 emake || die "emake failed"
102 }
103
104 src_install() {
105 make install DESTDIR="${D}" || die "make install failed"
106 # clean unneeded language documentation
107 for i in ${LANGS}; do
108 ! use linguas_${i} && rm -rf "${D}"/usr/share/${PN}/help/${i}
109 done
110
111 dodoc AUTHORS ChangeLog NEWS README TODO mcabberrc.example
112 dodoc doc/README_PGP.txt
113
114 # contrib themes
115 insinto /usr/share/${PN}/themes
116 doins "${S}"/contrib/themes/*
117
118 # contrib generic scripts
119 exeinto /usr/share/${PN}/scripts
120 doexe "${S}"/contrib/*.{pl,py}
121
122 # contrib event scripts
123 exeinto /usr/share/${PN}/scripts/events
124 doexe "${S}"/contrib/events/*
125 }
126
127 pkg_postinst() {
128 elog
129 elog "MCabber requires you to create a subdirectory .mcabber in your home"
130 elog "directory and to place a configuration file there."
131 elog "An example mcabberrc was installed as part of the documentation."
132 elog "To create a new mcabberrc based on the example mcabberrc, execute the"
133 elog "following commands:"
134 elog
135 elog " mkdir -p ~/.mcabber"
136 elog " bzcat ${ROOT}usr/share/doc/${PF}/mcabberrc.example.bz2 >~/.mcabber/mcabberrc"
137 elog
138 elog "Then edit ~/.mcabber/mcabberrc with your favorite editor."
139 elog
140 elog "See the CONFIGURATION FILE and FILES sections of the mcabber"
141 elog "manual page (section 1) for more information."
142 elog
143 elog "From version 0.9.0 on, MCabber supports PGP encryption of messages."
144 elog "See README_PGP.txt for details."
145 elog
146 elog "Check out ${ROOT}usr/share/${PN} for contributed themes and event scripts."
147 elog
148 }