public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/hfstospell/
Date: Fri, 23 Feb 2024 07:19:47 +0000 (UTC)	[thread overview]
Message-ID: <1708672784.df48c15b3746f2ad00f9051a06d0f4917cd24ea9.juippis@gentoo> (raw)

commit:     df48c15b3746f2ad00f9051a06d0f4917cd24ea9
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 07:11:18 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> 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 <juippis <AT> 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
+}


             reply	other threads:[~2024-02-23  7:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-23  7:19 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-26  5:59 [gentoo-commits] repo/gentoo:master commit in: dev-util/hfstospell/ Joonas Niilola
2024-03-26  5:59 Joonas Niilola
2023-10-13 10:58 WANG Xuerui
2023-04-02  7:31 Joonas Niilola
2023-03-25  6:32 Joonas Niilola
2023-03-25  6:32 Joonas Niilola
2023-02-20 14:46 Joonas Niilola
2022-04-19  6:41 Joonas Niilola
2022-04-14  8:54 Joonas Niilola
2022-04-14  8:54 Joonas Niilola
2022-03-14  7:00 Joonas Niilola
2021-08-23 22:59 Marek Szuba
2021-02-20 14:55 Joonas Niilola
2021-02-13 13:39 Joonas Niilola
2021-02-13 13:39 Joonas Niilola
2021-02-13 13:39 Joonas Niilola
2021-01-14  4:06 Joonas Niilola
2020-11-15  7:18 Joonas Niilola
2020-11-15  7:18 Joonas Niilola
2020-10-16  6:04 Joonas Niilola
2020-06-07  8:27 Joonas Niilola
2019-11-21  8:40 Joonas Niilola
2019-11-21  8:40 Joonas Niilola
2019-09-08  6:55 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1708672784.df48c15b3746f2ad00f9051a06d0f4917cd24ea9.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox