From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D6D991396D1 for ; Sun, 3 Sep 2017 09:55:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F1211FC040; Sun, 3 Sep 2017 09:55:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E4B241FC040 for ; Sun, 3 Sep 2017 09:55:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9888433BF1C for ; Sun, 3 Sep 2017 09:55:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C28D8C60 for ; Sun, 3 Sep 2017 09:55:29 +0000 (UTC) From: "Gilles Dartiguelongue" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" Message-ID: <1504432519.b32dd6940856db60153cf8f32c0067b36a59de53.eva@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/enchant/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/enchant/Manifest app-text/enchant/enchant-1.6.1.ebuild X-VCS-Directories: app-text/enchant/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: b32dd6940856db60153cf8f32c0067b36a59de53 X-VCS-Branch: master Date: Sun, 3 Sep 2017 09:55:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9ab5d96b-cb0f-45ec-9432-fe2d04c6c0dd X-Archives-Hash: df217c737972e5cc91866a0edf68e434 commit: b32dd6940856db60153cf8f32c0067b36a59de53 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Sat Sep 2 23:31:01 2017 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Sun Sep 3 09:55:19 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b32dd694 app-text/enchant: version 1.6.0 → 1.6.1, bug #570030 Package-Manager: Portage-2.3.8, Repoman-2.3.3 app-text/enchant/Manifest | 1 + app-text/enchant/enchant-1.6.1.ebuild | 61 +++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/app-text/enchant/Manifest b/app-text/enchant/Manifest index 5a6d052e37c..f9cb48bc021 100644 --- a/app-text/enchant/Manifest +++ b/app-text/enchant/Manifest @@ -1 +1,2 @@ DIST enchant-1.6.0.tar.gz 607018 SHA256 2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f SHA512 0ca1634bb783df51512df4abecc89abdadee6baf7330d6e5f90cc15d10779896a3521a1c079ecc07e4df4f7a018ce398cca9d0125a7845a314a059840ebc9137 WHIRLPOOL f6677a11f1d05e210cbd6a7b13f3987ea93b3f1e73537b048093c14686b0310e75a89fdb8798ad0ed386a7e1cd793f60820006df8c1f7919c46c7245ee6a74c9 +DIST enchant-1.6.1.tar.gz 642124 SHA256 bef0d9c0fef2e4e8746956b68e4d6c6641f6b85bd2908d91731efb68eba9e3f5 SHA512 26c62dfa89ee40150db502651a2f876fba00569b7015f205dae27a029557effacff335bbe36124dbe6686537da2305bcab02592179d03e95fdf9741d54b98036 WHIRLPOOL daffe1ee16e731d3d6ba56362f882c8f8bd7462a264fcf9caf05ed8093c0ca275977fb9c83c391d9e3287e6e98516b52e468c9bf9cc86532cf0b3eeba8f02fbd diff --git a/app-text/enchant/enchant-1.6.1.ebuild b/app-text/enchant/enchant-1.6.1.ebuild new file mode 100644 index 00000000000..ff615eb5b75 --- /dev/null +++ b/app-text/enchant/enchant-1.6.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit versionator + +MY_PV="$(replace_all_version_separators '-')" +DESCRIPTION="Spellchecker wrapping library" +HOMEPAGE="https://abiword.github.io/enchant/" +SRC_URI="https://github.com/AbiWord/enchant/releases/download/${PN}-${MY_PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" + +IUSE="aspell +hunspell static-libs test zemberek" +REQUIRED_USE="|| ( hunspell aspell zemberek )" + +# FIXME: depends on unittest++ but through pkgconfig which is a Debian hack, bug #629742 +COMMON_DEPENDS=" + >=dev-libs/glib-2.6:2 + aspell? ( app-text/aspell ) + hunspell? ( >=app-text/hunspell-1.2.1:0= ) + zemberek? ( dev-libs/dbus-glib ) +" +RDEPEND="${COMMON_DEPENDS} + zemberek? ( app-text/zemberek-server ) +" +DEPEND="${COMMON_DEPENDS} + virtual/pkgconfig +" +# test? ( dev-libs/unittest++ ) + +DOCS="AUTHORS BUGS ChangeLog HACKING MAINTAINERS NEWS README TODO" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.0-hunspell150_fix.patch +) + +src_prepare() { + default + sed -e "/SUBDIRS/ s/unittests//" -i "${S}"/Makefile.{am,in} || die +} + +src_configure() { + econf \ + $(use_enable aspell) \ + $(use_enable hunspell myspell) \ + $(use_enable static-libs static) \ + $(use_enable zemberek) \ + --disable-hspell \ + --disable-ispell \ + --disable-uspell \ + --disable-voikko \ + --with-myspell-dir="${EPREFIX}"/usr/share/myspell/ +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +}