summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-06-18 20:33:00 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-06-18 20:33:14 +1000
commit8db599a3ac9a335d077fbd54635a16bea1ae5655 (patch)
tree0d1a211dd473e37f6979ba9650142b33c62355e4 /app-editors/tea/tea-44.0.0.ebuild
parentmedia-sound/kid3: Version bump 3.5.0 (diff)
downloadgentoo-8db599a3ac9a335d077fbd54635a16bea1ae5655.tar.gz
gentoo-8db599a3ac9a335d077fbd54635a16bea1ae5655.tar.bz2
gentoo-8db599a3ac9a335d077fbd54635a16bea1ae5655.zip
app-editors/tea: version bump 44.0.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'app-editors/tea/tea-44.0.0.ebuild')
-rw-r--r--app-editors/tea/tea-44.0.0.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/app-editors/tea/tea-44.0.0.ebuild b/app-editors/tea/tea-44.0.0.ebuild
new file mode 100644
index 000000000000..e138f5083a4e
--- /dev/null
+++ b/app-editors/tea/tea-44.0.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils qmake-utils
+
+DESCRIPTION="Small, lightweight Qt text editor"
+HOMEPAGE="https://tea.ourproject.org/"
+SRC_URI="https://tea.ourproject.org/dloads/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="aspell djvu hunspell pdf"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+ sys-libs/zlib
+ aspell? ( app-text/aspell )
+ djvu? ( app-text/djvu )
+ hunspell? ( app-text/hunspell:= )
+ pdf? ( app-text/poppler[qt5] )
+"
+DEPEND="${RDEPEND}
+ hunspell? ( virtual/pkgconfig )
+"
+
+DOCS=( AUTHORS ChangeLog NEWS NEWS-RU TODO )
+
+src_configure() {
+ eqmake5 src.pro \
+ $(use aspell || echo CONFIG+=noaspell) \
+ $(use djvu && echo CONFIG+=usedjvu) \
+ $(use hunspell || echo CONFIG+=nohunspell) \
+ $(use pdf && echo CONFIG+=usepoppler)
+}
+
+src_install() {
+ dobin bin/tea
+
+ einstalldocs
+ docinto html
+ dodoc manuals/*.html
+
+ insinto /usr/share/qt5/translations
+ doins translations/${PN}_*.qm
+
+ newicon icons/tea-icon-v3-01.png ${PN}.png
+ make_desktop_entry ${PN} 'Tea Editor'
+}