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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Aug 21 14:19:20 2013 UTC (7 months, 3 weeks ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Version bump. Remove old.

(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

1 # Copyright 1999-2013 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.1.ebuild,v 1.1 2013/06/24 16:47:38 kensington Exp $
4
5 EAPI=5
6 PLOCALES="de fr ru"
7
8 inherit eutils l10n qt4-r2
9
10 DESCRIPTION="Small, lightweight Qt text editor"
11 HOMEPAGE="http://semiletov.org/tea/"
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 sys-libs/zlib
21 dev-qt/qtcore:4
22 dev-qt/qtgui:4
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 PREFIX="${EPREFIX}/usr/bin" \
35 USE_ASPELL=$(use aspell && echo true || echo false) \
36 USE_HUNSPELL=$(use hunspell && echo true || echo false)
37 }
38
39 src_install() {
40 qt4-r2_src_install
41
42 newicon icons/tea_icon_v2.png ${PN}.png
43 make_desktop_entry ${PN} 'Tea Editor'
44
45 # translations
46 insinto /usr/share/qt4/translations
47 local lang
48 for lang in $(l10n_get_locales); do
49 doins translations/${PN}_${lang}.qm
50 done
51
52 # docs
53 dohtml manuals/en.html
54 if use linguas_ru; then
55 dodoc NEWS-RU
56 dohtml manuals/ru.html
57 fi
58 }

  ViewVC Help
Powered by ViewVC 1.1.20