diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /app-text/enchant | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'app-text/enchant')
-rw-r--r-- | app-text/enchant/Manifest | 5 | ||||
-rw-r--r-- | app-text/enchant/enchant-1.6.1-r2.ebuild | 60 | ||||
-rw-r--r-- | app-text/enchant/enchant-2.3.3-r1.ebuild | 52 | ||||
-rw-r--r-- | app-text/enchant/metadata.xml | 1 |
4 files changed, 117 insertions, 1 deletions
diff --git a/app-text/enchant/Manifest b/app-text/enchant/Manifest index 6b7b8a96a583..7d6fcf4605f0 100644 --- a/app-text/enchant/Manifest +++ b/app-text/enchant/Manifest @@ -1,6 +1,9 @@ AUX enchant-1.6.0-hunspell150_fix.patch 577 BLAKE2B dc57f0fd5a90ba36abe174949060b20c709f920aa7ef29e1560f4a194d744064f59ae7c812cc27debe30c1082a9f76d3eac8723f850803c5eb06c213fe39e91d SHA512 893620f45a1dd7956aef9f3517186a9226c00e6b85df4770d6ea388fc08854e7884143fe3c7a064c7ec4f8353a9b9571d0c07da22df5c6ee41fc4c6bbce5874f DIST enchant-1.6.1.tar.gz 642124 BLAKE2B d41aa9b313e7fe8b0887728b55f3c5218e270c7359b4edcdc8d9180af68687230bcc9f7d1abb9f85ac673478530e5674366c9bc7d08b983e7226725b2cdd73d3 SHA512 26c62dfa89ee40150db502651a2f876fba00569b7015f205dae27a029557effacff335bbe36124dbe6686537da2305bcab02592179d03e95fdf9741d54b98036 DIST enchant-2.3.2.tar.gz 991782 BLAKE2B ece8c4cbac2c242c23b4b8c5ab2daf1037705dbf58ad29b4863dd01cb30b2d98e11828f2b9d1ce3823aec419c871cc3dd1092e4659e10ef3e3cd2df867255be4 SHA512 886635bb55c5f0c774445e4a0f14d39e2d08eeb964257037062c2e97c2cf3348be8c631ff5e7a13144936127761964bdc60ff1e0dd6f63b292a655626f91ef62 +DIST enchant-2.3.3.tar.gz 990877 BLAKE2B 310b66931e803ccb643a47c1476122a558de7a192b50f532d4cdababe55d398268bf5bfcc0ed556d665af88f6c183c1871147d302ad39a7ebd4fc29e1ab16967 SHA512 c97764a8f219033b440cbfb820624f54993b19ba1f38b56f20336889304f753c7c513008bb92cd1424bfbf528c2d473f35bef93d9140063612e3a270fd000deb EBUILD enchant-1.6.1-r1.ebuild 1625 BLAKE2B 8f42b0410fa9b7565c5eebb849fa32c8850e8d77d65d34cc5f69a6ae553acf3bbf702e85d134387e8b2a75ad22f43426021d65b5ef4ac4f8e92cd6b3236c0d9c SHA512 fb0da3b82a95b9af44b7f35c05c204f6eaf2529fe72dcfe00b2e9a0ba6edfccdacda4f87e0e167548d66b2256beef4177bf4ee7fbad9a4817ed5688270531de3 +EBUILD enchant-1.6.1-r2.ebuild 1409 BLAKE2B a97738ba4d5106c8ac058fc8c184fe6e43f010d6bc68451710060eea06253a0c959691c6a5bfce6054a739c7af0ee5e150dba302988711e4aba93f435a98bf37 SHA512 32cdc506270fd6a5fa957a59410472b884c203b62c53b06e8ebf9c2489e4dd889cb84005ccb92795047459b6968cc68dab243e0f387d007ebe9a65447727e10c EBUILD enchant-2.3.2.ebuild 1234 BLAKE2B db4fc98f82f8dc5a139a01c61836629e128138482e78bdd7ad3b99b0b1a1a0a52f5c7c352fa6094fccc0ab42f3adcff8bc4e730aaa3cfeb13560e5a0f64967e4 SHA512 4e55587f310f6970002bed29142c20ae42afa67995624f6785aa102534b2ae837dde841bd1db201a1b302cd0bcce78fb068d75debe1435d696791d3f6e552bc5 -MISC metadata.xml 537 BLAKE2B 6cb7c6968b6f90f2c29d2f7d3d731f947431b0648e7de6300599ca1f6d67544300484cc794309d27ce8878c068c2e8b5aadaa9fd6670d4388aabba2c1ef470a3 SHA512 140143a602063450d3ad55cf0374d42c255f689326978aca64f9c9f529eff6bb97b31bcaa798f34322d4e8c541478796f227e2c164cf1fa6e8538158c0f9fc60 +EBUILD enchant-2.3.3-r1.ebuild 1306 BLAKE2B dc86e08f340c6c3803d4d70d49c0770b1677b1f8175fe5e7285a8ce4e51b8962391fa1521a3cbf9e16e01830df35e28a1ee90f6757acb2043813697843c1cdf0 SHA512 b430157cf7dce2efb3bb1ae06e57a5d553ca90bc7260b72e36c4e2d346a72cc0b926fa90b9bd31cd3cce0ce28ae99a33b33755fa7eb5790f2132ec4912f80233 +MISC metadata.xml 626 BLAKE2B 292276574828700f2688f2a5b1fc09a1c57a0e39ea89067bb728ac773654ab7ae073be8d2af1cd68f8d4f28f7fcf9fb2f7782db63c0ab7f457d389ab66c95c18 SHA512 894afee900f5a285cbd7715b7fd689e645013c134dbf5a8b5bd8aee9dd886793010a907ed6164d393896648a1932721bc404a7a96e38fe1705705dbd5848bbff diff --git a/app-text/enchant/enchant-1.6.1-r2.ebuild b/app-text/enchant/enchant-1.6.1-r2.ebuild new file mode 100644 index 000000000000..d4302d6ca527 --- /dev/null +++ b/app-text/enchant/enchant-1.6.1-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="${PV//./-}" +DESCRIPTION="Spellchecker wrapping library" +HOMEPAGE="https://abiword.github.io/enchant/" +SRC_URI="https://github.com/AbiWord/enchant/releases/download/${PN}-${MY_PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" + +IUSE="aspell +hunspell test" +RESTRICT="!test? ( test )" +REQUIRED_USE="|| ( aspell hunspell )" + +COMMON_DEPEND=" + >=dev-libs/glib-2.6:2 + aspell? ( app-text/aspell ) + hunspell? ( >=app-text/hunspell-1.2.1:0= ) +" +RDEPEND="${COMMON_DEPEND} + !<app-text/enchant-2.3.3:2 +" +DEPEND="${COMMON_DEPEND} + test? ( >=dev-libs/unittest++-2.0.0-r2 ) +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.0-hunspell150_fix.patch +) + +src_prepare() { + default + sed -e "s/build_zemberek=yes//" -i "${S}"/configure{.ac,} || die # bug 662484 +} + +src_configure() { + local myconf=( + --datadir="${EPREFIX}"/usr/share/enchant-1 + --disable-static + $(use_enable aspell) + $(use_enable hunspell myspell) + --disable-hspell + --disable-ispell + --disable-uspell + --disable-voikko + --disable-zemberek + --with-myspell-dir="${EPREFIX}"/usr/share/myspell/ + ) + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/app-text/enchant/enchant-2.3.3-r1.ebuild b/app-text/enchant/enchant-2.3.3-r1.ebuild new file mode 100644 index 000000000000..f40c183d7f32 --- /dev/null +++ b/app-text/enchant/enchant-2.3.3-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Spellchecker wrapping library" +HOMEPAGE="https://abiword.github.io/enchant/" +SRC_URI="https://github.com/AbiWord/enchant/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" + +IUSE="aspell +hunspell nuspell test voikko" +RESTRICT="!test? ( test )" +REQUIRED_USE="|| ( aspell hunspell nuspell )" + +COMMON_DEPEND=" + >=dev-libs/glib-2.6:2 + aspell? ( app-text/aspell ) + hunspell? ( >=app-text/hunspell-1.2.1:0= ) + nuspell? ( >=app-text/nuspell-5.1.0:0= ) + voikko? ( dev-libs/libvoikko ) +" +RDEPEND="${COMMON_DEPEND} + !<app-text/enchant-1.6.1-r2:0 +" +DEPEND="${COMMON_DEPEND} + test? ( >=dev-libs/unittest++-2.0.0-r2 ) +" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local myconf=( + --disable-static + $(use_enable test relocatable) + $(use_with aspell) + $(use_with hunspell) + $(use_with nuspell) + $(use_with voikko) + --without-hspell + --without-applespell + --without-zemberek + --with-hunspell-dir="${EPREFIX}"/usr/share/hunspell/ + ) + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/app-text/enchant/metadata.xml b/app-text/enchant/metadata.xml index 3033ca238ad7..3d5f422a24ed 100644 --- a/app-text/enchant/metadata.xml +++ b/app-text/enchant/metadata.xml @@ -8,6 +8,7 @@ <use> <flag name="aspell">Adds support for <pkg>app-text/aspell</pkg> spell checker</flag> <flag name="hunspell">Adds support for <pkg>app-text/hunspell</pkg> spell checker</flag> + <flag name="nuspell">Adds support for <pkg>app-text/nuspell</pkg> spell checker</flag> <flag name="voikko">Adds support for <pkg>dev-libs/libvoikko</pkg> spell checker</flag> </use> </pkgmetadata> |