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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1477615808B for ; Mon, 14 Mar 2022 07:00:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54768E07DF; Mon, 14 Mar 2022 07:00:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE77AE07DF for ; Mon, 14 Mar 2022 07:00:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B0C4342ED0 for ; Mon, 14 Mar 2022 07:00:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD1CD2D2 for ; Mon, 14 Mar 2022 07:00:08 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1647241206.9b5e7dc4f07f11bc3f9a7004030461c6ec49aa81.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/hfstospell/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/hfstospell/Manifest dev-util/hfstospell/hfstospell-0.5.3.ebuild X-VCS-Directories: dev-util/hfstospell/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 9b5e7dc4f07f11bc3f9a7004030461c6ec49aa81 X-VCS-Branch: master Date: Mon, 14 Mar 2022 07:00:08 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5eec588e-ca92-4fa6-8bf2-c829a2e05c20 X-Archives-Hash: da6aae0acf7e6a3c810d05e2f24d7363 commit: 9b5e7dc4f07f11bc3f9a7004030461c6ec49aa81 Author: Joonas Niilola gentoo org> AuthorDate: Mon Mar 14 06:28:43 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Mar 14 07:00:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b5e7dc4 dev-util/hfstospell: add 0.5.3 Signed-off-by: Joonas Niilola gentoo.org> dev-util/hfstospell/Manifest | 1 + dev-util/hfstospell/hfstospell-0.5.3.ebuild | 50 +++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-util/hfstospell/Manifest b/dev-util/hfstospell/Manifest index fd7d9e959c93..7f331cb0510e 100644 --- a/dev-util/hfstospell/Manifest +++ b/dev-util/hfstospell/Manifest @@ -1 +1,2 @@ DIST hfstospell-0.5.2.tar.gz 152115 BLAKE2B 667c01672fd6fd6ee743a6542677ffe74e3900c27ab2754f8fa7dcc57081074bd98e8d82827fe176b2a6c9abc4565efcb3204df43110906f5a333405ec8a6bf2 SHA512 307aff3aec91ac6ffed3ebabdc2baa1a6e913431f57a80a0d0254be57fbd72e28d7592c35e0d72e5979f7e0b4c585f11b8eb91183b0877f9670a9cd5206c0140 +DIST hfstospell-0.5.3.tar.gz 152654 BLAKE2B f77c86e18b9dcb098460bdaec2f6a148b4bf515670aad3d17002b3027026483658d0df924a5d71b12251128ba89bee3a9d7c1d03a5983830accf0340445a1331 SHA512 f25bae6c083894139ba1e3dbd24f010e1c4695bdfe4c2499d31f2f0bd2f5688b662ea15666b46f174fc75f0aa6f5cd114456f735b1d49bcf33322221b6f57ff5 diff --git a/dev-util/hfstospell/hfstospell-0.5.3.ebuild b/dev-util/hfstospell/hfstospell-0.5.3.ebuild new file mode 100644 index 000000000000..fb0ae63f8f3a --- /dev/null +++ b/dev-util/hfstospell/hfstospell-0.5.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="HFST spell checker library and command line tool" +HOMEPAGE="https://github.com/hfst/hfst-ospell" +SRC_URI="https://github.com/hfst/hfst-ospell/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="clang" + +DEPEND="app-arch/libarchive:= + dev-libs/icu:= + !clang? ( + dev-cpp/glibmm:2 + dev-cpp/libxmlpp:2.6 + dev-libs/glib:2 + dev-libs/libsigc++:2 + dev-libs/libxml2 + )" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/hfst-ospell-${PV}" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # https://github.com/hfst/hfst-ospell/issues/48 + if tc-is-clang; then + econf --without-libxmlpp --without-tinyxml2 + elif use clang; then + econf --without-libxmlpp --without-tinyxml2 + else + default + fi +} + +src_install() { + default + find "${D}" -name '*.la' -delete -o -name '*.a' -delete || die +}