diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-02-09 20:54:01 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-02-09 23:55:17 +0100 |
commit | c4080f7a8fd59d0a1c1eec0010576b1c5d0fea6b (patch) | |
tree | 0657967575bb6e8051d80fd007d883c744e68d8f /app-text | |
parent | app-text/aspell: update EAPI 7 -> 8 (diff) | |
download | gentoo-c4080f7a8fd59d0a1c1eec0010576b1c5d0fea6b.tar.gz gentoo-c4080f7a8fd59d0a1c1eec0010576b1c5d0fea6b.tar.bz2 gentoo-c4080f7a8fd59d0a1c1eec0010576b1c5d0fea6b.zip |
app-text/aspell: drop 0.60.8-r3
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/aspell/aspell-0.60.8-r3.ebuild | 113 |
1 files changed, 0 insertions, 113 deletions
diff --git a/app-text/aspell/aspell-0.60.8-r3.ebuild b/app-text/aspell/aspell-0.60.8-r3.ebuild deleted file mode 100644 index 499e003d437d..000000000000 --- a/app-text/aspell/aspell-0.60.8-r3.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic libtool toolchain-funcs - -MY_P="${P/_/-}" - -DESCRIPTION="Free and Open Source spell checker designed to replace Ispell" -HOMEPAGE="http://aspell.net/" -SRC_URI="mirror://gnu/aspell/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" -IUSE="nls unicode" - -# All available language app-dicts/aspell-* packages. -LANGUAGES=( af am ar ast az be bg bn br ca cs csb cy da de de-1901 el en eo es et fa - fi fo fr fy ga gd gl grc gu gv he hi hil hr hsb hu hus hy ia id is it kn ku - ky la lt lv mg mi mk ml mn mr ms mt nb nds nl nn no ny or pa pl pt-PT pt-BR - qu ro ru rw sc sk sl sr sv sw ta te tet tk tl tn tr uk uz vi wa yi zu -) - -for LANG in ${LANGUAGES[@]}; do - IUSE+=" l10n_${LANG}" - - case ${LANG} in - de-1901) - DICT="de-alt" - ;; - pt-BR) - DICT="pt-br" - ;; - pt-PT) - DICT="pt" - ;; - *) - DICT="${LANG}" - ;; - esac - - PDEPEND+=" l10n_${LANG}? ( app-dicts/aspell-${DICT} )" -done -unset DICT LANG LANGUAGES - -RDEPEND=" - sys-libs/ncurses:=[unicode(+)?] - nls? ( virtual/libintl ) -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -HTML_DOCS=( manual/aspell{,-dev}.html ) - -PATCHES=( - "${FILESDIR}/${PN}-0.60.5-nls.patch" - "${FILESDIR}/${PN}-0.60.5-solaris.patch" - "${FILESDIR}/${PN}-0.60.6-darwin-bundles.patch" - "${FILESDIR}/${PN}-0.60.6.1-clang.patch" - "${FILESDIR}/${PN}-0.60.6.1-unicode.patch" - "${FILESDIR}/${PN}-0.60.8-cve-2019-25051.patch" -) - -src_prepare() { - default - - rm m4/lt* m4/libtool.m4 || die - eautoreconf - elibtoolize --reverse-deps - - # Parallel install of libtool libraries doesn't always work. - # https://lists.gnu.org/archive/html/libtool/2011-03/msg00003.html - # This has to be after automake has run so that we don't clobber - # the default target that automake creates for us. - echo 'install-filterLTLIBRARIES: install-libLTLIBRARIES' >> Makefile.in || die - - # The unicode patch breaks on Darwin as NCURSES_WIDECHAR won't get set any more. - [[ ${CHOST} == *-darwin* ]] || [[ ${CHOST} == *-musl* ]] && use unicode && append-cppflags -DNCURSES_WIDECHAR=1 -} - -src_configure() { - local myeconfargs=( - --disable-static - $(use_enable nls) - $(use_enable unicode) - --sysconfdir="${EPREFIX}"/etc/aspell - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - docinto examples - dodoc "${S}"/examples/*.c - - # Install Aspell/Ispell compatibility scripts. - newbin scripts/ispell ispell-aspell - newbin scripts/spell spell-aspell - - # As static build has been disabled, - # all .la files can be deleted unconditionally. - find "${ED}" -type f -name '*.la' -delete || die -} |