diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-12-22 21:52:47 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-12-22 21:53:15 +1100 |
commit | 4abd4f53130efa4646e84fd2a47845554af7dc17 (patch) | |
tree | 1d2b475bdbabe69392c83f226a1f2d1b305d639b /app-editors/tea/tea-44.1.1.ebuild | |
parent | app-laptop/laptop-mode-tools: fix power-wireless iwconfig invocation (diff) | |
download | gentoo-4abd4f53130efa4646e84fd2a47845554af7dc17.tar.gz gentoo-4abd4f53130efa4646e84fd2a47845554af7dc17.tar.bz2 gentoo-4abd4f53130efa4646e84fd2a47845554af7dc17.zip |
app-editors/tea: version bump 44.1.1
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'app-editors/tea/tea-44.1.1.ebuild')
-rw-r--r-- | app-editors/tea/tea-44.1.1.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/app-editors/tea/tea-44.1.1.ebuild b/app-editors/tea/tea-44.1.1.ebuild new file mode 100644 index 000000000000..f11b523d5d22 --- /dev/null +++ b/app-editors/tea/tea-44.1.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils qmake-utils xdg-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 +qml" + +RDEPEND=" + dev-qt/qtcore: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] ) + qml? ( dev-qt/qtdeclarative:5 ) +" +DEPEND="${RDEPEND} + hunspell? ( virtual/pkgconfig ) +" + +DOCS=( AUTHORS ChangeLog NEWS NEWS-RU TODO ) + +src_configure() { + eqmake5 src.pro \ + PREFIX="/usr" \ + $(use aspell || echo CONFIG+=noaspell) \ + $(use djvu && echo CONFIG+=usedjvu) \ + $(use hunspell || echo CONFIG+=nohunspell) \ + $(use pdf && echo CONFIG+=usepoppler) \ + $(use qml || echo CONFIG+=noqml) +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs + + docinto html + dodoc manuals/*.html + + insinto /usr/share/qt5/translations + doins translations/${PN}_*.qm +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} |