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 13029158041 for ; Fri, 23 Feb 2024 07:19:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECF3A2BC035; Fri, 23 Feb 2024 07:19:49 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0F022BC035 for ; Fri, 23 Feb 2024 07:19:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 124343431FA for ; Fri, 23 Feb 2024 07:19:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 807661384 for ; Fri, 23 Feb 2024 07:19:47 +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: <1708672784.df48c15b3746f2ad00f9051a06d0f4917cd24ea9.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.4.ebuild X-VCS-Directories: dev-util/hfstospell/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: df48c15b3746f2ad00f9051a06d0f4917cd24ea9 X-VCS-Branch: master Date: Fri, 23 Feb 2024 07:19:47 +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: ad9c8473-33b6-48e6-a3e2-573ef9f43fda X-Archives-Hash: aa636d41053a8fe2f2a85df136dd9dd1 commit: df48c15b3746f2ad00f9051a06d0f4917cd24ea9 Author: Joonas Niilola gentoo org> AuthorDate: Fri Feb 23 07:11:18 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Feb 23 07:19:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df48c15b dev-util/hfstospell: add 0.5.4 Signed-off-by: Joonas Niilola gentoo.org> dev-util/hfstospell/Manifest | 1 + dev-util/hfstospell/hfstospell-0.5.4.ebuild | 70 +++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-util/hfstospell/Manifest b/dev-util/hfstospell/Manifest index ad85e4212a25..c2b700647a51 100644 --- a/dev-util/hfstospell/Manifest +++ b/dev-util/hfstospell/Manifest @@ -1 +1,2 @@ DIST hfstospell-0.5.3.tar.gz 152654 BLAKE2B f77c86e18b9dcb098460bdaec2f6a148b4bf515670aad3d17002b3027026483658d0df924a5d71b12251128ba89bee3a9d7c1d03a5983830accf0340445a1331 SHA512 f25bae6c083894139ba1e3dbd24f010e1c4695bdfe4c2499d31f2f0bd2f5688b662ea15666b46f174fc75f0aa6f5cd114456f735b1d49bcf33322221b6f57ff5 +DIST hfstospell-0.5.4.tar.gz 158435 BLAKE2B fdf044f23a020d412b4bbca269cfbafd89955535a76e20c6ce9500ce1295dc052352560779587c95c43d7a4e984dfc081b78b2e0fff7c57f587967682e022925 SHA512 989d218718010a3f1ad7c3284287f62cb5aeef9d0dcd14f5898d919d088b212977a3e98fc7faf4040a65c3a7791b6fd4a54e10c6ca4e9a68595dfbd0227555a3 diff --git a/dev-util/hfstospell/hfstospell-0.5.4.ebuild b/dev-util/hfstospell/hfstospell-0.5.4.ebuild new file mode 100644 index 000000000000..270fe676f6a7 --- /dev/null +++ b/dev-util/hfstospell/hfstospell-0.5.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 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 ~loong ~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() { + + local myeconfargs=( + --disable-extra-demos + + --enable-hfst-ospell-office + --enable-hfst-ospell-predict + --enable-zhfst + ) + + # https://github.com/hfst/hfst-ospell/issues/48 + if tc-is-clang; then + myeconfargs+=( + --without-libxmlpp + --without-tinyxml2 + ) + elif use clang; then + myeconfargs+=( + --without-libxmlpp + --without-tinyxml2 + ) + else + myeconfargs+=( + --with-libxmlpp + --without-tinyxml2 + ) + fi + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete -o -name '*.a' -delete || die +}