/[gentoo-x86]/app-editors/tea/tea-41.0.0.ebuild
Gentoo

Contents of /app-editors/tea/tea-41.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Apr 8 14:03:00 2015 UTC (2 years, 4 months ago) by pesa
Branch: MAIN
CVS Tags: HEAD
Version bump (bug 545794).

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-36.0.2.ebuild,v 1.1 2013/08/21 14:19:20 kensington Exp $
4
5 EAPI=5
6 PLOCALES="de fr ru"
7
8 inherit eutils l10n qmake-utils
9
10 DESCRIPTION="Small, lightweight Qt text editor"
11 HOMEPAGE="http://semiletov.org/tea/ http://tea.ourproject.org/"
12 SRC_URI="http://semiletov.org/${PN}/dloads/${P}.tar.bz2"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd"
17 IUSE="aspell hunspell"
18
19 RDEPEND="
20 dev-qt/qtcore:4
21 dev-qt/qtgui:4
22 sys-libs/zlib
23 aspell? ( app-text/aspell )
24 hunspell? ( app-text/hunspell )
25 "
26 DEPEND="${RDEPEND}
27 hunspell? ( virtual/pkgconfig )
28 "
29
30 DOCS=( AUTHORS ChangeLog NEWS TODO )
31
32 src_configure() {
33 eqmake4 src.pro \
34 $(use aspell || echo CONFIG+=noaspell) \
35 $(use hunspell || echo CONFIG+=nohunspell)
36 }
37
38 src_install() {
39 dobin bin/tea
40
41 newicon icons/tea-icon-v3-01.png ${PN}.png
42 make_desktop_entry ${PN} 'Tea Editor'
43
44 # translations
45 insinto /usr/share/qt4/translations
46 local lang
47 for lang in $(l10n_get_locales); do
48 doins translations/${PN}_${lang}.qm
49 done
50
51 # docs
52 dohtml manuals/en.html
53 if use linguas_ru; then
54 dodoc NEWS-RU
55 dohtml manuals/ru.html
56 fi
57 }

  ViewVC Help
Powered by ViewVC 1.1.20