summaryrefslogtreecommitdiff
path: root/dev-util/hfstospell
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /dev-util/hfstospell
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-util/hfstospell')
-rw-r--r--dev-util/hfstospell/Manifest2
-rw-r--r--dev-util/hfstospell/hfstospell-0.5.3.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/hfstospell/Manifest b/dev-util/hfstospell/Manifest
index f2b6b80ccc0f..d7554fee89e8 100644
--- a/dev-util/hfstospell/Manifest
+++ b/dev-util/hfstospell/Manifest
@@ -1,3 +1,5 @@
DIST hfstospell-0.5.2.tar.gz 152115 BLAKE2B 667c01672fd6fd6ee743a6542677ffe74e3900c27ab2754f8fa7dcc57081074bd98e8d82827fe176b2a6c9abc4565efcb3204df43110906f5a333405ec8a6bf2 SHA512 307aff3aec91ac6ffed3ebabdc2baa1a6e913431f57a80a0d0254be57fbd72e28d7592c35e0d72e5979f7e0b4c585f11b8eb91183b0877f9670a9cd5206c0140
+DIST hfstospell-0.5.3.tar.gz 152654 BLAKE2B f77c86e18b9dcb098460bdaec2f6a148b4bf515670aad3d17002b3027026483658d0df924a5d71b12251128ba89bee3a9d7c1d03a5983830accf0340445a1331 SHA512 f25bae6c083894139ba1e3dbd24f010e1c4695bdfe4c2499d31f2f0bd2f5688b662ea15666b46f174fc75f0aa6f5cd114456f735b1d49bcf33322221b6f57ff5
EBUILD hfstospell-0.5.2-r1.ebuild 957 BLAKE2B ecb8813098753b38185bdc36a19a0d96659b1edc7461853b32c8f415ad464eeca8ba8f063e218a0a80cab347a0097a24f7f70c0d6986b7e8455931783c6b17d8 SHA512 dcc7a336da1abedc4f11e0d70363e7965009ab1fe5af36d7be39f3dc25a71a44786883aa8e282b1ed8e8f4a5f9f5a6ba6d9f7dd2b8a81cea5be6fbd491924f52
+EBUILD hfstospell-0.5.3.ebuild 1020 BLAKE2B bb13991ca30013b37a953d815efbe467e6db98bb66187a33fdd6b8c83e6131f7699a8728022b8c6b55484ee9de32d020c13d31ab70b797251a9171abae1a57ee SHA512 16b8cc8f9db74552e6511b9f70dbfd0f3fe572583d07e0f4a4a04ee3f3d0103935de01d69b36c74b8f75e07da581490ee1dc79a45c01d69b9bc175425f7dc65b
MISC metadata.xml 351 BLAKE2B 9cdc83b2e5d95339cda3177ecc3e365a30a1ebc43aadd34b455150adbb47103ea1bc5d45e05cbc6a6274f6bcbfd6cf81a4b7d46c8d144d4afc37d4d15f5c4a18 SHA512 678b8c4ded8d14c4a044ed866880e0bd3794a8456925e7e66ee610263ec347a0e28ce8f2f27be7f3f6b2217467b6e30218c4b2c29d9f133bca7cd8c730c48b8e
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
+}