Gentoo Archives: gentoo-commits

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