From 99374dd74dbf8455acf9798b3f9a4b3d11bebf04 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 4 Feb 2014 06:22:32 +0100 Subject: [PATCH] enchant: rebuild against hunspell>=1.3.2. --- srcpkgs/enchant/template | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/srcpkgs/enchant/template b/srcpkgs/enchant/template index 72e405f94ab..451cd004e83 100644 --- a/srcpkgs/enchant/template +++ b/srcpkgs/enchant/template @@ -1,47 +1,30 @@ # Template file for 'enchant' pkgname=enchant version=1.4.2 -revision=6 +revision=7 build_style=gnu-configure configure_args="--disable-zemberek --disable-ispell" -makedepends="pkg-config libstdc++-devel glib-devel aspell-devel hunspell-devel" +hostmakedepends="automake libtool pkg-config" +makedepends="glib-devel aspell-devel hunspell-devel>=1.3.2" short_desc="Generic spell checking library" homepage="http://www.abisource.com/projects/enchant/" license="LGPL-2.1" maintainer="Juan RP " distfiles="http://www.abisource.com/downloads/enchant/$version/enchant-$version.tar.gz" checksum=95c8dd998c8fb436329d204e0edde4400b889e4e26d3f8cb888c408c9a9acc6a -long_desc=" - The project aims to provide an efficient extensible abstraction - for dealing with different spell checking libraries. - Enchant is meant to provide a generic interface into various existing - spell checking libaries. These include, but are not limited to: - * Aspell/Pspell (intends to replace Ispell) - * Ispell (old as sin, could be interpreted as a defacto standard) - * MySpell/Hunspell (an OOo project, also used by Mozilla) - * Uspell (primarily Yiddish, Hebrew, and Eastern European - languages - hosted in AbiWord's CVS under the module uspell) - * Hspell (Hebrew) - * Zemberek (Turkish) - * Voikko (Finnish) - * AppleSpell (Mac OSX) +pre_configure() { + autoreconf -fi +} - Enchant is also meant to be used in a cross-platform (XP) environment. - Part of this means that Enchant wants to limit its number of external - dependencies to 0, or as close is as humanly possible. Also, any - enchant consumer (i.e. a Word Processor) should not need to know - about what backend providers Enchant knows about. In fact, Enchant - shouldn't even need to know this information itself. To accomplish - this, all of Enchant's providers are DLLs." - enchant-devel_package() { - depends="glib-devel aspell-devel hunspell-devel enchant" - short_desc+=" -- development files" + depends="glib-devel aspell-devel hunspell-devel ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove "usr/lib/*.a" vmove "usr/lib/enchant/*.a" + vmove "usr/lib/*.so" vmove usr/lib/pkgconfig } }