Gentoo Archives: gentoo-commits

From: Wolfram Schlich <wschlich@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/mcabber/
Date: Tue, 29 Mar 2016 07:13:48
Message-Id: 1459235595.ca9ecbe0d9630e14f95f6fb302e94a27123f3736.wschlich@gentoo
1 commit: ca9ecbe0d9630e14f95f6fb302e94a27123f3736
2 Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 29 07:13:15 2016 +0000
4 Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 29 07:13:15 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca9ecbe0
7
8 net-im/mcabber: version bump (greetings to Sarah Salzstein)
9
10 Package-Manager: portage-2.2.28
11
12 net-im/mcabber/Manifest | 1 +
13 net-im/mcabber/mcabber-1.0.2.ebuild | 119 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 120 insertions(+)
15
16 diff --git a/net-im/mcabber/Manifest b/net-im/mcabber/Manifest
17 index c94c1a9..e326bca 100644
18 --- a/net-im/mcabber/Manifest
19 +++ b/net-im/mcabber/Manifest
20 @@ -2,3 +2,4 @@ DIST mcabber-0.10.2_p20131025.tar.gz 399025 SHA256 90f4e583a7ea929abcd243dc970d6
21 DIST mcabber-0.10.3.tar.bz2 612153 SHA256 77466138496cc26db125145cc28dc4fc0df79827143b922dfb9f02eb0dc7fa6d SHA512 3f4c83dbe99f1e1981a89d2a9cdfbaf96b265aaabe133e41d562491557e0acc2d780ae88aa3e45eca9088318ef7d7b284f1df445d2b5afb139d5a247e111bc10 WHIRLPOOL 7139d7b44837026276b269f5d911486bc898ef4c72d0cec2ada066636f284c00205b207241024d4311a82f7eb6a83590dbf402167dec4441e477f6166a7595b5
22 DIST mcabber-1.0.0.tar.bz2 602173 SHA256 5476bcba395e0b9527823f5a9bce725151756f685ce2dcf6fad3dbe50a157032 SHA512 bad8af15ed984ac0a568ea497464a3fa9b3ba3dea51cdd4042361be10783bba3578859ced532cd2c1cf19588fc42bdd561486b9fce6ed2da86a509e29c26c497 WHIRLPOOL f9eba52f2686f0571947e006ce825378be7f00db8192988e5a071a86160c48b113609fe4f539d61191378348333763c24e013f5bc69863f4b41a54264313e3f8
23 DIST mcabber-1.0.1.tar.bz2 604661 SHA256 579a45a2bc944455012ca9b308f7f3454efabbe0c36c6723af761aa1f3092d93 SHA512 23b268fb0c4e5ce0f28333d2b35fa8b6ead819359c0e2a633158bdcb637040c23deb2ca54d7d1a98a8a8fa37323bfe078371e790b5809af76fe9b940529f728c WHIRLPOOL 9e5a2478a5bc7c8d35526bb81178842e04a5367b23cd7ec8dfa303069a6ad75ae74411977b9f354d3758c80a6ed578a4caf4c21cdb5322feece818d50e053a6b
24 +DIST mcabber-1.0.2.tar.bz2 604995 SHA256 e7143891ea6c6ec2f3008c25c13506121d83d15aa83640827aea3b66a8761fde SHA512 e7d8f54f0f5cbcd685d6ada49c29fbc3af3315d5727a7a6babcc0aae49880f0cc1df48a1ceec78caeb17822c26f8c00aae23df2565336d92c4e388c8cebb4263 WHIRLPOOL 8903b6e77f645202357f00868733633abed220f05260d29e30bc0396abf64f94fe0c69c84cae7f9c6c6ebfbe3d64f4d4be970dfe51593c84ca582fccfb4d7c2a
25
26 diff --git a/net-im/mcabber/mcabber-1.0.2.ebuild b/net-im/mcabber/mcabber-1.0.2.ebuild
27 new file mode 100644
28 index 0000000..3fc2a58
29 --- /dev/null
30 +++ b/net-im/mcabber/mcabber-1.0.2.ebuild
31 @@ -0,0 +1,119 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +inherit flag-o-matic autotools-utils
39 +
40 +DESCRIPTION="A small Jabber console client with various features, like MUC, SSL, PGP"
41 +HOMEPAGE="http://mcabber.com/"
42 +#REV="a18e1b488f1c"
43 +#SRC_URI="http://mcabber.com/hg/index.cgi/archive/${REV}.tar.gz -> ${P}.tar.gz"
44 +SRC_URI="http://mcabber.com/files/${P}.tar.bz2"
45 +
46 +#S=${WORKDIR}/${PN}-${REV}/${PN}
47 +
48 +LICENSE="GPL-2"
49 +SLOT="0"
50 +KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
51 +
52 +IUSE="aspell crypt idn modules otr spell ssl vim-syntax"
53 +
54 +LANGS="cs de fr it nl pl ru uk"
55 +# localized help versions are installed only, when LINGUAS var is set
56 +for i in ${LANGS}; do
57 + IUSE="${IUSE} linguas_${i}"
58 +done;
59 +
60 +RDEPEND="crypt? ( >=app-crypt/gpgme-1.0.0 )
61 + otr? ( >=net-libs/libotr-3.1.0 )
62 + aspell? ( app-text/aspell )
63 + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
64 + idn? ( net-dns/libidn )
65 + spell? ( app-text/enchant )
66 + dev-libs/glib:2
67 + sys-libs/ncurses:0=
68 + >=net-libs/loudmouth-1.4.3-r1[ssl?]"
69 +DEPEND="${RDEPEND}
70 + virtual/pkgconfig"
71 +
72 +## autotools-utils.eclass settings
73 +AUTOTOOLS_AUTORECONF="1"
74 +AUTOTOOLS_IN_SOURCE_BUILD="1"
75 +DOCS=( AUTHORS ChangeLog NEWS README TODO mcabberrc.example doc/README_PGP.txt )
76 +PATCHES=(
77 + "${FILESDIR}/${PN}-0.10.3-vim-ftdetect.patch"
78 +)
79 +
80 +pkg_setup() {
81 + if use aspell && use spell; then
82 + ewarn "NOTE: You have both USE flags 'aspell' and 'spell' enabled, enchant (USE flag 'spell') will be preferred."
83 + fi
84 +}
85 +
86 +src_configure() {
87 + local myeconfargs=(
88 + $(use_enable crypt gpgme) \
89 + $(use_enable otr) \
90 + $(use_enable aspell) \
91 + $(use_enable spell enchant) \
92 + $(use_enable modules) \
93 + $(use_with idn libidn)
94 + )
95 + autotools-utils_src_configure
96 +}
97 +
98 +src_install() {
99 + autotools-utils_src_install
100 +
101 + # clean unneeded language documentation
102 + for i in ${LANGS}; do
103 + use linguas_${i} || rm -rf "${ED}"/usr/share/${PN}/help/${i}
104 + done
105 +
106 + # contrib themes
107 + insinto /usr/share/${PN}/themes
108 + doins "${S}"/contrib/themes/*
109 +
110 + # contrib generic scripts
111 + exeinto /usr/share/${PN}/scripts
112 + doexe "${S}"/contrib/*.{pl,py}
113 +
114 + # contrib event scripts
115 + exeinto /usr/share/${PN}/scripts/events
116 + doexe "${S}"/contrib/events/*
117 +
118 + if use vim-syntax; then
119 + cd contrib/vim/ || die
120 +
121 + insinto /usr/share/vim/vimfiles/syntax
122 + doins mcabber_log-syntax.vim
123 +
124 + insinto /usr/share/vim/vimfiles/ftdetect
125 + doins mcabber_log-ftdetect.vim
126 + fi
127 +}
128 +
129 +pkg_postinst() {
130 + elog
131 + elog "MCabber requires you to create a subdirectory .mcabber in your home"
132 + elog "directory and to place a configuration file there."
133 + elog "An example mcabberrc was installed as part of the documentation."
134 + elog "To create a new mcabberrc based on the example mcabberrc, execute the"
135 + elog "following commands:"
136 + elog
137 + elog " mkdir -p ~/.mcabber"
138 + elog " bzcat ${EROOT}usr/share/doc/${PF}/mcabberrc.example.bz2 >~/.mcabber/mcabberrc"
139 + elog
140 + elog "Then edit ~/.mcabber/mcabberrc with your favorite editor."
141 + elog
142 + elog "See the CONFIGURATION FILE and FILES sections of the mcabber"
143 + elog "manual page (section 1) for more information."
144 + elog
145 + elog "From version 0.9.0 on, MCabber supports PGP encryption of messages."
146 + elog "See README_PGP.txt for details."
147 + echo
148 + einfo "Check out ${EROOT}usr/share/${PN} for contributed themes and event scripts."
149 + echo
150 +}