From d162ba1860a88062f4cd61f8b52fc303ba0b2991 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Aug 2021 00:16:33 +0100 Subject: gentoo resync : 07.08.2021 --- app-text/vilistextum/vilistextum-2.6.9-r1.ebuild | 76 ------------------------ 1 file changed, 76 deletions(-) delete mode 100644 app-text/vilistextum/vilistextum-2.6.9-r1.ebuild (limited to 'app-text/vilistextum/vilistextum-2.6.9-r1.ebuild') diff --git a/app-text/vilistextum/vilistextum-2.6.9-r1.ebuild b/app-text/vilistextum/vilistextum-2.6.9-r1.ebuild deleted file mode 100644 index 378b7e597fb2..000000000000 --- a/app-text/vilistextum/vilistextum-2.6.9-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit epatch autotools - -DESCRIPTION="HTML to ASCII converter programmed to handle incorrect html" -HOMEPAGE="https://bhaak.net/vilistextum/" -SRC_URI="https://bhaak.net/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -#IUSE="unicode kde" -IUSE="unicode" - -DEPEND="virtual/libiconv" -RDEPEND="" -# KDE support will be available once a version of kaptain in stable -# kde? ( kde-misc/kaptain )" - -src_prepare() { - epatch \ - "${FILESDIR}/${P}-gentoo.diff" \ - "${FILESDIR}/${P}-prefix.patch" \ - "${FILESDIR}/${P}-darwin11.patch" \ - "${FILESDIR}/${P}-blockquote.patch" - eautoreconf -} - -get_locale() { - locale -a | grep -i "$1\.utf.*8\$" -} - -find_locale() { - local l t - - # we basically prefer to find en_US.UTF-8, but it may not always be - # available, in which case it is better not to hardcode to use it - l=$(get_locale en_US) - if [[ -z ${l} ]] ; then - for t in "en_GB" "en_.*" ".*" ; do - l=$(get_locale ${t}) - if [[ -n ${l} ]] ; then - l=${l%%$'\n'*} - break; - fi - done - fi - [[ -z ${l} ]] && die "Failed to find a unicode locale" - echo "${l}" -} - -src_configure() { - # need hardwired locale simply because locale -a | grep -i utf-8 | head -n1 - # isn't always returning the most sensical (and working) locale - econf \ - $(use_enable unicode multibyte) \ - $(use_with unicode unicode-locale $(find_locale)) -} - -src_test() { - if $(locale -a | grep -iq "en_US\.utf.*8"); then - emake -j1 check - else - ewarn "If you like to run the test," - ewarn "please make sure en_US.UTF-8 is installed." - die "en_US.UTF-8 locale is missing" - fi -} - -src_install() { - default - dohtml doc/*.html -} -- cgit v1.2.3