diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-23 11:40:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-23 11:40:30 +0000 |
commit | edca36e835d0d4e929c1dd3e9688954ae0aa191a (patch) | |
tree | c60f9dd076d4eff037c8ad746de4bf5d48e55b08 /dev-util/hfstospell | |
parent | 914bc7f07098ac3918913e4c83951a9cbba5a949 (diff) |
gentoo auto-resync : 23:02:2024 - 11:40:30
Diffstat (limited to 'dev-util/hfstospell')
-rw-r--r-- | dev-util/hfstospell/Manifest | 2 | ||||
-rw-r--r-- | dev-util/hfstospell/hfstospell-0.5.4.ebuild | 70 |
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-util/hfstospell/Manifest b/dev-util/hfstospell/Manifest index fa782641a30c..93d2791f9d1e 100644 --- a/dev-util/hfstospell/Manifest +++ b/dev-util/hfstospell/Manifest @@ -1,4 +1,6 @@ AUX hfstospell-0.5.3-gcc-13-fix.patch 505 BLAKE2B 96e97a6b2969759dd864e30f3beb9dad5eb97cb8682fd1fc91b97b578daa9a18c6e30eea174174d64bb186380ed6812e231f30cbc4a89b6bead4fa7ac2ea97b3 SHA512 3b6573c4fd3e27026f07f1c2a3abd22b788c682f759b25743c540c2b1bdb83f72db2e7d7bdc85f963acf789dacbdc68c1c5af71cc90f676aa4bdcd10b3df756e DIST hfstospell-0.5.3.tar.gz 152654 BLAKE2B f77c86e18b9dcb098460bdaec2f6a148b4bf515670aad3d17002b3027026483658d0df924a5d71b12251128ba89bee3a9d7c1d03a5983830accf0340445a1331 SHA512 f25bae6c083894139ba1e3dbd24f010e1c4695bdfe4c2499d31f2f0bd2f5688b662ea15666b46f174fc75f0aa6f5cd114456f735b1d49bcf33322221b6f57ff5 +DIST hfstospell-0.5.4.tar.gz 158435 BLAKE2B fdf044f23a020d412b4bbca269cfbafd89955535a76e20c6ce9500ce1295dc052352560779587c95c43d7a4e984dfc081b78b2e0fff7c57f587967682e022925 SHA512 989d218718010a3f1ad7c3284287f62cb5aeef9d0dcd14f5898d919d088b212977a3e98fc7faf4040a65c3a7791b6fd4a54e10c6ca4e9a68595dfbd0227555a3 EBUILD hfstospell-0.5.3-r1.ebuild 1086 BLAKE2B 5560d14ee6c9f33d4527ec67b3787ce2429478cab599de64c9532afd800df90f791b2eb498c9919f5d06fb0ccddca8f6447a257aec2061ec43370fb0ffe47269 SHA512 c12bbf4eb3721366a64065381231ace8b6f0124c71a59fd0f47708ff5f4afe934bfafdfada4d2c1432d9d2d1832d68176656133f2aed63f7fb5c6202bb969321 +EBUILD hfstospell-0.5.4.ebuild 1274 BLAKE2B 3db25615d16a3fc11d2c32508c47a6d0dc8abb3ac616b5c49f781751dd7d00e598a3e6406a85d8a5e30178f023884eb87c3a0767d788565734ac434b09d9fb4e SHA512 82c595f680a7b92e2caf2aa34485c1757e787c892dd6055f9e851fb8e0844ceba86360bdfdde007fc803b8b5a32dcaebf1839251cbcd76b5cbc446b09919b909 MISC metadata.xml 436 BLAKE2B 3ed5583ea7f135568d9dcc00182ddde46c89ddb1923a03bc6f88606fecc5ff3956b768a1ca4de16b9e84179a3e57196d56b9789006cc1c6ea9482e5dd72b8e52 SHA512 9b902cff3f380d68348a756774f99ca4aafd807cb637ecb591d0f3a63d23fae6c688b542a6018fdbcce6e2dac34ef1d8e122b0bab671f31d99383ea4aa8f52bb 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 +} |