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