Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/tea/
Date: Fri, 15 Feb 2019 23:07:57
Message-Id: 1550272053.b657232dc48cfac3f07ef7fa2b3986c86a428ca0.asturm@gentoo
1 commit: b657232dc48cfac3f07ef7fa2b3986c86a428ca0
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 15 21:30:21 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 15 23:07:33 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b657232d
7
8 app-editors/tea: 47.0.0 version bump, EAPI-7 bump
9
10 Package-Manager: Portage-2.3.60, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-editors/tea/Manifest | 1 +
14 app-editors/tea/tea-47.0.0.ebuild | 59 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/app-editors/tea/Manifest b/app-editors/tea/Manifest
18 index 3355b17492b..16837ba57a8 100644
19 --- a/app-editors/tea/Manifest
20 +++ b/app-editors/tea/Manifest
21 @@ -1 +1,2 @@
22 DIST tea-44.1.1.tar.bz2 425326 BLAKE2B e674456c428bbecd5afb256280bccb61b6385492153955625c158dcfebba0ed31caebdcc06bc1f809517badddef3d97245a4bc873bcc0593957647becdebf62b SHA512 fc7bf6f76ac3a48767a39ff5bcada4c7dae40950bfd9aca4021b3581e1b702c73f2608b070306dd528932d5eaa73bf01632a4376bbb71deaf1189a0f790c05a9
23 +DIST tea-47.0.0.tar.bz2 437273 BLAKE2B 8ed36526dedc6df4af74ef0e400c2ee2e19bb533cf2a4fa51df83f21ad78abb0e8e90bce3469e2e8db5f780ba8a900aedf2737c736945431b836ba0a76574b26 SHA512 7136d59383bf43c6a024a31aa29860a3e89893ff091a42f44f9e7088fb318920ab886cd1fdabc8ff6e3c30f8eb3d46d707228d2d45fb085ed7c822a4ffd89d13
24
25 diff --git a/app-editors/tea/tea-47.0.0.ebuild b/app-editors/tea/tea-47.0.0.ebuild
26 new file mode 100644
27 index 00000000000..fb73c864181
28 --- /dev/null
29 +++ b/app-editors/tea/tea-47.0.0.ebuild
30 @@ -0,0 +1,59 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit qmake-utils xdg
37 +
38 +DESCRIPTION="Small, lightweight Qt text editor"
39 +HOMEPAGE="https://tea.ourproject.org/"
40 +SRC_URI="https://tea.ourproject.org/dloads/${P}.tar.bz2"
41 +
42 +LICENSE="GPL-3+"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="aspell djvu hunspell pdf +qml"
46 +
47 +BDEPEND="
48 + hunspell? ( virtual/pkgconfig )
49 +"
50 +DEPEND="
51 + dev-qt/qtcore:5
52 + dev-qt/qtdeclarative:5
53 + dev-qt/qtgui:5
54 + dev-qt/qtnetwork:5
55 + dev-qt/qtprintsupport:5
56 + dev-qt/qtwidgets:5
57 + sys-libs/zlib
58 + aspell? ( app-text/aspell )
59 + djvu? ( app-text/djvu )
60 + hunspell? ( app-text/hunspell:= )
61 + pdf? ( app-text/poppler[qt5] )
62 + qml? ( dev-qt/qtdeclarative:5 )
63 +"
64 +RDEPEND="${DEPEND}"
65 +
66 +DOCS=( AUTHORS ChangeLog NEWS NEWS-RU TODO )
67 +
68 +src_configure() {
69 + local myqmakeargs=(
70 + PREFIX=/usr
71 + $(usex aspell '' CONFIG+=noaspell)
72 + $(usex djvu CONFIG+=usedjvu '')
73 + $(usex hunspell '' CONFIG+=nohunspell)
74 + $(usex pdf CONFIG+=usepoppler '')
75 + $(usex qml '' CONFIG+=noqml)
76 + )
77 + eqmake5 tea-qmake.pro "${myqmakeargs[@]}"
78 +}
79 +
80 +src_install() {
81 + emake INSTALL_ROOT="${D}" install
82 + einstalldocs
83 +
84 + docinto html
85 + dodoc manuals/*.html
86 +
87 + insinto /usr/share/qt5/translations
88 + doins translations/${PN}_*.qm
89 +}