summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2010-04-18 14:09:07 +0000
committerSerkan Kaba <serkan@gentoo.org>2010-04-18 14:09:07 +0000
commit2dd78182654d199402e229d8953412874132cee8 (patch)
tree18b450181ff96df030c99ad36724f44ee8af5940 /app-text/enchant
parentppc stable #302481 (diff)
downloadgentoo-2-2dd78182654d199402e229d8953412874132cee8.tar.gz
gentoo-2-2dd78182654d199402e229d8953412874132cee8.tar.bz2
gentoo-2-2dd78182654d199402e229d8953412874132cee8.zip
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-text/enchant')
-rw-r--r--app-text/enchant/ChangeLog7
-rw-r--r--app-text/enchant/enchant-1.6.0.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/app-text/enchant/ChangeLog b/app-text/enchant/ChangeLog
index affe7ba6360a..ef44d3ebd5dd 100644
--- a/app-text/enchant/ChangeLog
+++ b/app-text/enchant/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/enchant
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/enchant/ChangeLog,v 1.103 2010/04/16 15:47:45 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/enchant/ChangeLog,v 1.104 2010/04/18 14:09:07 serkan Exp $
+
+*enchant-1.6.0 (18 Apr 2010)
+
+ 18 Apr 2010; Serkan Kaba <serkan@gentoo.org> +enchant-1.6.0.ebuild:
+ Version bump.
16 Apr 2010; Brent Baude <ranger@gentoo.org> enchant-1.5.0.ebuild:
Marking enchant-1.5.0 ppc64 for bug 314623
diff --git a/app-text/enchant/enchant-1.6.0.ebuild b/app-text/enchant/enchant-1.6.0.ebuild
new file mode 100644
index 000000000000..25e8d5da5e80
--- /dev/null
+++ b/app-text/enchant/enchant-1.6.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/enchant/enchant-1.6.0.ebuild,v 1.1 2010/04/18 14:09:07 serkan Exp $
+
+EAPI="3"
+inherit libtool confutils autotools
+
+DESCRIPTION="Spellchecker wrapping library"
+HOMEPAGE="http://www.abisource.com/enchant/"
+SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
+IUSE="aspell +hunspell zemberek"
+
+COMMON_DEPENDS=">=dev-libs/glib-2
+ aspell? ( virtual/aspell-dict )
+ hunspell? ( >=app-text/hunspell-1.2.1 )
+ zemberek? ( dev-libs/dbus-glib )"
+
+RDEPEND="${COMMON_DEPENDS}
+ zemberek? ( app-text/zemberek-server )"
+
+# libtool is needed for the install-sh to work
+DEPEND="${COMMON_DEPENDS}
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ confutils_require_any aspell hunspell zemberek
+}
+
+src_prepare() {
+ sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' tests/Makefile.am \
+ || die "unable to remove testdefault build"
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable aspell) \
+ $(use_enable hunspell myspell) \
+ $(use_with hunspell system-myspell) \
+ $(use_enable zemberek) \
+ --disable-ispell \
+ --with-myspell-dir="${EPREFIX}"/usr/share/myspell/
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS BUGS ChangeLog HACKING MAINTAINERS NEWS README TODO
+}
+
+pkg_postinst() {
+ ewarn "Starting with ${PN}-1.4.0 default spell checking engine has changed"
+ ewarn "from aspell to hunspell. In case you used aspell dictionaries to"
+ ewarn "check spelling you need either reemerge ${PN} with aspell USE flag"
+ ewarn "or you need to emerge myspell-<lang> dictionaries."
+ ewarn "aspell is faster but has less features then hunspell and most"
+ ewarn "distributions by default use hunspell only. Nevertheless in Gentoo"
+ ewarn "it's still your choice which library to use..."
+}