Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/tea/
Date: Sun, 08 May 2016 16:39:41
Message-Id: 1462725566.133b5ca6296a6c21ba0176bd81a8310b1ff06ed4.pesa@gentoo
1 commit: 133b5ca6296a6c21ba0176bd81a8310b1ff06ed4
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 8 16:39:26 2016 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Sun May 8 16:39:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133b5ca6
7
8 app-editors/tea: version bump
9
10 Package-Manager: portage-2.2.28
11
12 app-editors/tea/Manifest | 1 +
13 app-editors/tea/tea-41.1.1.ebuild | 57 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 58 insertions(+)
15
16 diff --git a/app-editors/tea/Manifest b/app-editors/tea/Manifest
17 index a68f959..35b7fe2 100644
18 --- a/app-editors/tea/Manifest
19 +++ b/app-editors/tea/Manifest
20 @@ -1 +1,2 @@
21 DIST tea-41.1.0.tar.bz2 381370 SHA256 65ea128739802b7626a5a59de12b0e885dcef7a83f7bcd06b6d3aea830ed8717 SHA512 a46e0cdfce5c7d453c7783c59ad98b2b029847ddcc8ce0655c6e1ae45825426ac1b271ca7ad90f0219d8f796f507f6bdba0f2c764c563c8c23503b94be817eb7 WHIRLPOOL a3d00f5e42a145be2a7f3bf846832bf2a7e95e957abf4c928118be7607adb57fddfb906fbedaf7fa51665b25629beae0fe5b4db40886f42dfcf5c166e43717b5
22 +DIST tea-41.1.1.tar.bz2 382592 SHA256 5f17a1f190c7a31f326273f5c987378f9fdbc3fc34a7d0a97529bc926492bef9 SHA512 087325a80f86b27c20174849a8477d1d994176f560fc0bc353cfa6bfcfc1e916bac42607d94640cd1c2e1abd6385db7a836557a6ef2defae6de0901195fc7975 WHIRLPOOL d1e48c2ba40d2978a06c2069927ba664b17f84039e96b349937ae5f159e32998a964fd86e8c89725bb36845aba541ba4eccfb91f939fb352b727e1cf2aa72548
23
24 diff --git a/app-editors/tea/tea-41.1.1.ebuild b/app-editors/tea/tea-41.1.1.ebuild
25 new file mode 100644
26 index 0000000..b834812
27 --- /dev/null
28 +++ b/app-editors/tea/tea-41.1.1.ebuild
29 @@ -0,0 +1,57 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +PLOCALES="de fr ru"
36 +
37 +inherit eutils l10n qmake-utils
38 +
39 +DESCRIPTION="Small, lightweight Qt text editor"
40 +HOMEPAGE="http://tea.ourproject.org/ http://semiletov.org/tea/"
41 +SRC_URI="http://tea.ourproject.org/dloads/${P}.tar.bz2"
42 +
43 +LICENSE="GPL-3"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd"
46 +IUSE="aspell hunspell"
47 +
48 +RDEPEND="
49 + dev-qt/qtcore:4
50 + dev-qt/qtgui:4
51 + sys-libs/zlib
52 + aspell? ( app-text/aspell )
53 + hunspell? ( app-text/hunspell )
54 +"
55 +DEPEND="${RDEPEND}
56 + hunspell? ( virtual/pkgconfig )
57 +"
58 +
59 +DOCS=( AUTHORS ChangeLog NEWS TODO )
60 +
61 +src_configure() {
62 + eqmake4 src.pro \
63 + $(use aspell || echo CONFIG+=noaspell) \
64 + $(use hunspell || echo CONFIG+=nohunspell)
65 +}
66 +
67 +src_install() {
68 + dobin bin/tea
69 +
70 + newicon icons/tea-icon-v3-01.png ${PN}.png
71 + make_desktop_entry ${PN} 'Tea Editor'
72 +
73 + # translations
74 + insinto /usr/share/qt4/translations
75 + local lang
76 + for lang in $(l10n_get_locales); do
77 + doins translations/${PN}_${lang}.qm
78 + done
79 +
80 + # docs
81 + dohtml manuals/en.html
82 + if use linguas_ru; then
83 + dodoc NEWS-RU
84 + dohtml manuals/ru.html
85 + fi
86 +}