mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
app-text/enchant: add 2.8.16
Signed-off-by: Emi <reedy.sailors.8t@icloud.com> Part-of: https://github.com/gentoo/gentoo/pull/46406 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -2,3 +2,4 @@ DIST enchant-1.6.1.tar.gz 642124 BLAKE2B d41aa9b313e7fe8b0887728b55f3c5218e270c7
|
||||
DIST enchant-2.6.1.tar.gz 1014436 BLAKE2B 3df1d72d4fa2e912788d4e12e7bc4ab2676952e358e97457259284e78c32006482be0713059d5feeef56905e83ded975e7d723563c58e4f92c845b0b279a6827 SHA512 e2faabeb6a4edc7237a0a279b210512100fb1662b097cd23f0fc07a3519e48632e5527b0d393793a7623667011eae7e11f15fcddcaa155c4abd26ab6981ddf44
|
||||
DIST enchant-2.8.12.tar.gz 1254492 BLAKE2B 208f9bdb24faebc0edef992667b54ceace86f992c79991ccf790ee3ef0eb8d1668d0c6bd0d0e14f6010d297caedc188909ffaba6416251bff0e864b6a6d85b16 SHA512 2bcd22afd97e348bc2925c41cb25f7aec9cb67debca4bcf58f6e30ac06dd09582e01896728e8943ba549b76854905b43b9d51c4ca720dd9e5dcd19d7c996d13b
|
||||
DIST enchant-2.8.14.tar.gz 1271904 BLAKE2B 6533d95622350261e0cc1570f4ac304372c4fd53076a920ef99231be4f0b16b90e7ca1d971088c32975d015cbd56e98bc9f850056cca2059ad78b28984f0f3ed SHA512 880375e09c69eaaae6d0f2896d37818a3bdf71ab20fd4c946fea4f68335eecac6bf11813925f08437a9cb35192a6067693f3acd3691263b6a4dab3cd5a20cd1b
|
||||
DIST enchant-2.8.16.tar.gz 1266288 BLAKE2B 1708ee81845e32d4374f6f6db56cc411c6ef7747addabd1e355f2c5deb5eafa06c8d8d45129120e736e709fc0f4a9073d3dbc51ac23bd0812ec727ee4a2ea68c SHA512 d6e22b9aa5b9f6576d2c104e13752411d698a36afbee05e28ac8925689f17782275f73990e920f93a9794a9bd0a39b5f0880c99751b72e570e24ba6f895a2faa
|
||||
|
||||
74
app-text/enchant/enchant-2.8.16.ebuild
Normal file
74
app-text/enchant/enchant-2.8.16.ebuild
Normal file
@@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=9
|
||||
|
||||
inherit libtool
|
||||
|
||||
DESCRIPTION="Spellchecker wrapping library"
|
||||
HOMEPAGE="https://rrthomas.github.io/enchant/ https://github.com/rrthomas/enchant"
|
||||
SRC_URI="https://github.com/rrthomas/enchant/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
IUSE="aspell +hunspell nuspell test voikko"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="|| ( aspell hunspell nuspell )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.76: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}"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
test? ( >=dev-libs/unittest++-2.0.0-r4 )
|
||||
"
|
||||
BDEPEND="
|
||||
sys-apps/groff
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
alignof
|
||||
static_assert
|
||||
unreachable
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Force re-generation of Vala files
|
||||
#
|
||||
# TODO: Restore this, we can't currently because it relies on
|
||||
# an unmerged binding (locale_from_utf8)
|
||||
# See https://gitlab.gnome.org/GNOME/vala/-/merge_requests/391
|
||||
#vala_setup
|
||||
#find . -name '*.vala' -exec touch {} + || die
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--disable-gcc-warnings
|
||||
$(use_enable test relocatable)
|
||||
$(use_with aspell)
|
||||
$(use_with hunspell)
|
||||
$(use_with nuspell)
|
||||
$(use_with voikko)
|
||||
--without-hspell
|
||||
--without-applespell
|
||||
--without-zemberek
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user