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: mcabber-0.10.2_p20131025-r1.ebuild ChangeLog
Date: Sun, 30 Mar 2014 12:49:46
Message-Id: 20140330124940.C33F220057@flycatcher.gentoo.org
1 wschlich 14/03/30 12:49:40
2
3 Modified: ChangeLog
4 Added: mcabber-0.10.2_p20131025-r1.ebuild
5 Log:
6 fix bug #409499
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.62 net-im/mcabber/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/mcabber/ChangeLog?rev=1.62&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/mcabber/ChangeLog?rev=1.62&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/mcabber/ChangeLog?r1=1.61&r2=1.62
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-im/mcabber/ChangeLog,v
20 retrieving revision 1.61
21 retrieving revision 1.62
22 diff -u -r1.61 -r1.62
23 --- ChangeLog 9 Nov 2013 19:20:45 -0000 1.61
24 +++ ChangeLog 30 Mar 2014 12:49:40 -0000 1.62
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-im/mcabber
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-im/mcabber/ChangeLog,v 1.61 2013/11/09 19:20:45 mrueg Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-im/mcabber/ChangeLog,v 1.62 2014/03/30 12:49:40 wschlich Exp $
31 +
32 +*mcabber-0.10.2_p20131025-r1 (30 Mar 2014)
33 +
34 + 30 Mar 2014; Wolfram Schlich <wschlich@g.o>
35 + +files/mcabber-0.10.2_p20131025-vim-ftdetect.patch,
36 + +mcabber-0.10.2_p20131025-r1.ebuild:
37 + fix bug #409499
38
39 *mcabber-0.10.2_p20131025 (09 Nov 2013)
40
41
42
43
44 1.1 net-im/mcabber/mcabber-0.10.2_p20131025-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/mcabber/mcabber-0.10.2_p20131025-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/mcabber/mcabber-0.10.2_p20131025-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: mcabber-0.10.2_p20131025-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2014 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.2_p20131025-r1.ebuild,v 1.1 2014/03/30 12:49:40 wschlich Exp $
54
55 EAPI=5
56
57 inherit flag-o-matic autotools-utils
58
59 DESCRIPTION="A small Jabber console client with various features, like MUC, SSL, PGP"
60 HOMEPAGE="http://mcabber.com/"
61 REV="a18e1b488f1c"
62 SRC_URI="http://mcabber.com/hg/index.cgi/archive/${REV}.tar.gz -> ${P}.tar.gz"
63
64 S=${WORKDIR}/${PN}-${REV}/${PN}
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
69
70 IUSE="aspell crypt idn modules otr spell ssl vim-syntax"
71
72 LANGS="cs de fr it nl pl ru uk"
73 # localized help versions are installed only, when LINGUAS var is set
74 for i in ${LANGS}; do
75 IUSE="${IUSE} linguas_${i}"
76 done;
77
78 RDEPEND="crypt? ( >=app-crypt/gpgme-1.0.0 )
79 otr? ( >=net-libs/libotr-3.1.0 )
80 aspell? ( app-text/aspell )
81 vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
82 idn? ( net-dns/libidn )
83 spell? ( app-text/enchant )
84 dev-libs/glib:2
85 sys-libs/ncurses
86 >=net-libs/loudmouth-1.4.3-r1[ssl?]"
87 DEPEND="${RDEPEND}
88 virtual/pkgconfig"
89
90 ## autotools-utils.eclass settings
91 AUTOTOOLS_AUTORECONF="1"
92 AUTOTOOLS_IN_SOURCE_BUILD="1"
93 DOCS=( AUTHORS ChangeLog NEWS README TODO mcabberrc.example doc/README_PGP.txt )
94 PATCHES=(
95 "${FILESDIR}/${P}-vim-ftdetect.patch"
96 )
97
98 pkg_setup() {
99 if use aspell && use spell; then
100 ewarn "NOTE: You have both USE flags 'aspell' and 'spell' enabled, enchant (USE flag 'spell') will be preferred."
101 fi
102 }
103
104 src_configure() {
105 local myeconfargs=(
106 $(use_enable crypt gpgme) \
107 $(use_enable otr) \
108 $(use_enable aspell) \
109 $(use_enable spell enchant) \
110 $(use_enable modules) \
111 $(use_with idn libidn)
112 )
113 autotools-utils_src_configure
114 }
115
116 src_install() {
117 autotools-utils_src_install
118
119 # clean unneeded language documentation
120 for i in ${LANGS}; do
121 use linguas_${i} || rm -rf "${ED}"/usr/share/${PN}/help/${i}
122 done
123
124 # contrib themes
125 insinto /usr/share/${PN}/themes
126 doins "${S}"/contrib/themes/*
127
128 # contrib generic scripts
129 exeinto /usr/share/${PN}/scripts
130 doexe "${S}"/contrib/*.{pl,py}
131
132 # contrib event scripts
133 exeinto /usr/share/${PN}/scripts/events
134 doexe "${S}"/contrib/events/*
135
136 if use vim-syntax; then
137 cd contrib/vim/ || die
138
139 insinto /usr/share/vim/vimfiles/syntax
140 doins mcabber_log-syntax.vim
141
142 insinto /usr/share/vim/vimfiles/ftdetect
143 doins mcabber_log-ftdetect.vim
144 fi
145 }
146
147 pkg_postinst() {
148 elog
149 elog "MCabber requires you to create a subdirectory .mcabber in your home"
150 elog "directory and to place a configuration file there."
151 elog "An example mcabberrc was installed as part of the documentation."
152 elog "To create a new mcabberrc based on the example mcabberrc, execute the"
153 elog "following commands:"
154 elog
155 elog " mkdir -p ~/.mcabber"
156 elog " bzcat ${EROOT}usr/share/doc/${PF}/mcabberrc.example.bz2 >~/.mcabber/mcabberrc"
157 elog
158 elog "Then edit ~/.mcabber/mcabberrc with your favorite editor."
159 elog
160 elog "See the CONFIGURATION FILE and FILES sections of the mcabber"
161 elog "manual page (section 1) for more information."
162 elog
163 elog "From version 0.9.0 on, MCabber supports PGP encryption of messages."
164 elog "See README_PGP.txt for details."
165 echo
166 einfo "Check out ${EROOT}usr/share/${PN} for contributed themes and event scripts."
167 echo
168 }