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