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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Mar 2 19:22:18 2013 UTC (16 months, 1 week ago) by hwoarang
Branch: MAIN
Changes since 1.2: +3 -3 lines
Move Qt dependencies to the new category

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

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-33.3.0.ebuild,v 1.2 2013/01/04 10:35:22 pesa 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://tea-editor.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/tea-editor/${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