/[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.4 - (hide annotations) (download)
Wed Aug 21 14:19:20 2013 UTC (4 years, 10 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump. Remove old.

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

1 pesa 1.2 # Copyright 1999-2013 Gentoo Foundation
2 pesa 1.1 # Distributed under the terms of the GNU General Public License v2
3 kensington 1.4 # $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-33.3.0.ebuild,v 1.3 2013/03/02 19:22:18 hwoarang Exp $
4 pesa 1.1
5 pesa 1.2 EAPI=5
6     PLOCALES="de fr ru"
7 pesa 1.1
8 pesa 1.2 inherit eutils l10n qt4-r2
9 pesa 1.1
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 hwoarang 1.3 dev-qt/qtcore:4
22     dev-qt/qtgui:4
23 pesa 1.1 aspell? ( app-text/aspell )
24     hunspell? ( app-text/hunspell )
25     "
26     DEPEND="${RDEPEND}
27     hunspell? ( virtual/pkgconfig )
28     "
29    
30 pesa 1.2 DOCS=(AUTHORS ChangeLog NEWS TODO)
31 pesa 1.1
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 pesa 1.2 make_desktop_entry ${PN} 'Tea Editor'
44 pesa 1.1
45     # translations
46     insinto /usr/share/qt4/translations
47     local lang
48 pesa 1.2 for lang in $(l10n_get_locales); do
49     doins translations/${PN}_${lang}.qm
50 pesa 1.1 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