Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/tea: ChangeLog tea-17.6.6.ebuild
Date: Wed, 03 Sep 2008 14:03:30
Message-Id: E1KasxC-0002ow-6f@stork.gentoo.org
1 armin76 08/09/03 14:03:26
2
3 Modified: ChangeLog
4 Added: tea-17.6.6.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.40 app-editors/tea/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/tea/ChangeLog?rev=1.40&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/tea/ChangeLog?rev=1.40&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/tea/ChangeLog?r1=1.39&r2=1.40
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-editors/tea/ChangeLog,v
19 retrieving revision 1.39
20 retrieving revision 1.40
21 diff -u -r1.39 -r1.40
22 --- ChangeLog 3 Sep 2008 13:49:45 -0000 1.39
23 +++ ChangeLog 3 Sep 2008 14:03:25 -0000 1.40
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-editors/tea
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/ChangeLog,v 1.39 2008/09/03 13:49:45 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/ChangeLog,v 1.40 2008/09/03 14:03:25 armin76 Exp $
29 +
30 +*tea-17.6.6 (03 Sep 2008)
31 +
32 + 03 Sep 2008; Raúl Porcel <armin76@g.o> +tea-17.6.6.ebuild:
33 + Version bump
34
35 03 Sep 2008; Raúl Porcel <armin76@g.o> tea-17.6.3.ebuild:
36 x86 stable, fix bug #219907
37
38
39
40 1.1 app-editors/tea/tea-17.6.6.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/tea/tea-17.6.6.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/tea/tea-17.6.6.ebuild?rev=1.1&content-type=text/plain
44
45 Index: tea-17.6.6.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-17.6.6.ebuild,v 1.1 2008/09/03 14:03:25 armin76 Exp $
50
51 EAPI="1"
52 inherit autotools eutils
53
54 MY_P=${P/tea/teagtk}
55
56 DESCRIPTION="Small, lightweight GTK+ text editor"
57 HOMEPAGE="http://tea-editor.sourceforge.net"
58 SRC_URI="mirror://sourceforge/tea-editor/${MY_P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd"
63 IUSE="enchant gnome hacking ipv6 spell"
64
65 RDEPEND="x11-libs/gtk+:2
66 x11-libs/libX11
67 gnome? ( x11-libs/gtksourceview:2.0
68 gnome-base/gnome-vfs )"
69 DEPEND="${RDEPEND}
70 net-misc/curl
71 spell? ( app-text/aspell )
72 enchant? ( app-text/enchant )
73 dev-util/pkgconfig"
74
75 S=${WORKDIR}/${MY_P}
76
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80 epatch "${FILESDIR}"/${PN}-17.5.4-forced-cflags-and-compiler-warnings.patch
81 eautoreconf
82 }
83
84 src_compile() {
85 local myconf
86
87 if use hacking; then
88 myconf="${myconf} --enable-hacking"
89 fi
90 if ! use gnome; then
91 myconf="${myconf} --enable-legacy"
92 fi
93 if use enchant; then
94 myconf="${myconf} --enable-enchant"
95 fi
96
97 econf \
98 $(use_enable ipv6) \
99 ${myconf} || die "econf failed!"
100
101 emake || die "emake failed!"
102 }
103
104 src_install() {
105 emake DESTDIR="${D}" install || die "emake install failed!"
106
107 make_desktop_entry teagtk Tea /usr/share/tea/pixmaps/tea_icon_v2.png Development
108
109 # insinto /usr/share/doc/tea/
110 # doins AUTHORS COPYING NEWS README TODO ChangeLog doc/*
111
112 # insinto /usr/share/pixmaps/
113 # doins pixmaps/*
114 }
115
116 pkg_postinst() {
117 if use spell ; then
118 elog "To get full spellchecking functuality, ensure that you install"
119 elog "the relevant language pack(s)"
120 fi
121 }