summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/tea')
-rw-r--r--app-editors/tea/files/digest-tea-16.0.33
-rw-r--r--app-editors/tea/tea-16.0.3.ebuild62
2 files changed, 65 insertions, 0 deletions
diff --git a/app-editors/tea/files/digest-tea-16.0.3 b/app-editors/tea/files/digest-tea-16.0.3
new file mode 100644
index 000000000000..a28a327e7c64
--- /dev/null
+++ b/app-editors/tea/files/digest-tea-16.0.3
@@ -0,0 +1,3 @@
+MD5 19cdcc6e93ac7c36a720ab1b7ec9d7fa tea-16.0.3.tar.bz2 443784
+RMD160 8798111c26c95b9c82c94d9db12a5be1613df7be tea-16.0.3.tar.bz2 443784
+SHA256 71824f2ec9a5a10f762c3f4ef3b4ccf293124fa28bad855ac7468a9fed1c396b tea-16.0.3.tar.bz2 443784
diff --git a/app-editors/tea/tea-16.0.3.ebuild b/app-editors/tea/tea-16.0.3.ebuild
new file mode 100644
index 000000000000..ff60d5054fa4
--- /dev/null
+++ b/app-editors/tea/tea-16.0.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-16.0.3.ebuild,v 1.1 2007/02/28 21:41:20 welp Exp $
+
+inherit eutils
+
+DESCRIPTION="Small, lightweight GTK+ text editor"
+HOMEPAGE="http://tea-editor.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tea-editor/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="enchant gnome hacking ipv6 sounds spell"
+
+RDEPEND="x11-libs/gtk+
+ gnome? ( x11-libs/gtksourceview
+ gnome-base/gnome-vfs )"
+DEPEND="${RDEPEND}
+ x11-libs/libX11
+ sounds? ( media-libs/gstreamer )
+ spell? ( app-text/aspell )
+ enchant? ( app-text/enchant )
+ dev-util/pkgconfig"
+
+src_compile() {
+ local myconf
+
+ myconf="${myconf} --disable-debian"
+ if use sounds; then
+ myconf="${myconf} --enable-sounds"
+ fi
+ if use hacking; then
+ myconf="${myconf} --enable-hacking"
+ fi
+ if ! use gnome; then
+ myconf="${myconf} --enable-legacy"
+ fi
+ if use enchant; then
+ myconf="${myconf} --enable-enchant"
+ fi
+
+ econf \
+ $(use_enable ipv6) \
+ ${myconf} || die "econf failed!"
+
+ emake || die "emake failed!"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed!"
+
+ doicon ${FILESDIR}/tea_icon_v2.png
+ make_desktop_entry tea Tea tea_icon_v2.png Office
+}
+
+pkg_postinst() {
+ if use spell ; then
+ elog "To get full spellchecking functuality, ensure that you install"
+ elog "the relevant language pack"
+ fi
+}