diff options
author | Johannes Huber <johu@gentoo.org> | 2018-05-23 22:00:53 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2018-05-23 22:00:53 +0200 |
commit | 57ead7b9662f3c95c79869fe2e8993698ba2f531 (patch) | |
tree | 3162480bcb98e910d5354a66008618f73f4515e4 /media-fonts/terminus-font/terminus-font-4.39-r1.ebuild | |
parent | app-arch/bzip2: stable 1.0.6-r9 for ia64, bug #656328 (diff) | |
download | gentoo-57ead7b9662f3c95c79869fe2e8993698ba2f531.tar.gz gentoo-57ead7b9662f3c95c79869fe2e8993698ba2f531.tar.bz2 gentoo-57ead7b9662f3c95c79869fe2e8993698ba2f531.zip |
media-fonts/terminus-font: Remove 4.39-r1
Uses deprecated EAPI 5 and overshadowed by 4.40.
Package-Manager: Portage-2.3.38, Repoman-2.3.9
Diffstat (limited to 'media-fonts/terminus-font/terminus-font-4.39-r1.ebuild')
-rw-r--r-- | media-fonts/terminus-font/terminus-font-4.39-r1.ebuild | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/media-fonts/terminus-font/terminus-font-4.39-r1.ebuild b/media-fonts/terminus-font/terminus-font-4.39-r1.ebuild deleted file mode 100644 index daf180b3bc5b..000000000000 --- a/media-fonts/terminus-font/terminus-font-4.39-r1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils font - -DESCRIPTION="A clean fixed font for the console and X11" -HOMEPAGE="http://terminus-font.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}/${P}.tar.gz" - -LICENSE="OFL-1.1 GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="a-like-o +center-tilde distinct-l +pcf +pcf-unicode-only +psf quote - raw-font-data ru-dv +ru-g ru-i ru-k" - -DEPEND="app-arch/gzip - dev-lang/perl - virtual/awk - pcf? ( x11-apps/bdftopcf )" -RDEPEND="" - -FONTDIR=/usr/share/fonts/terminus -FONT_CONF=( 75-yes-terminus.conf ) -DOCS="README README-BG AUTHORS CHANGES" - -REQUIRED_USE="X? ( pcf )" - -src_prepare() { - # Upstream patches. Some of them are suggested to be applied by default - # dv - de NOT like latin g, but like caps greek delta - # ve NOT like greek beta, but like caps latin B - # ge - ge NOT like "mirrored" latin s, but like caps greek gamma - # ka - small ka NOT like minimised caps latin K, but like small latin k - use a-like-o && epatch "${S}"/alt/ao2.diff - use center-tilde && epatch "${S}"/alt/td1.diff - use distinct-l && epatch "${S}"/alt/ll2.diff - use ru-i && epatch "${S}"/alt/ij1.diff - use ru-k && epatch "${S}"/alt/ka2.diff - use ru-dv && epatch "${S}"/alt/dv1.diff - use ru-g && epatch "${S}"/alt/ge2.diff - use quote && epatch "${S}"/alt/gq2.diff -} - -src_configure() { - # selfwritten configure script without executable bit - chmod +x ./configure || die - ./configure \ - --prefix="${EPREFIX}"/usr \ - --psfdir="${EPREFIX}"/usr/share/consolefonts \ - --acmdir="${EPREFIX}"/usr/share/consoletrans \ - --unidir="${EPREFIX}"/usr/share/consoletrans \ - --x11dir="${EPREFIX}"/${FONTDIR} || die -} - -src_compile() { - local args=( - $(usex psf 'psf txt' '') - $(usex raw-font-data 'raw' '') - $(usex pcf 'pcf' '') - ) - [[ ${#args[@]} -gt 0 ]] && emake "${args[@]}" -} - -src_install() { - local args=( - $(usex psf 'install-psf install-uni install-acm install-ref' '') - $(usex raw-font-data 'install.raw' '') - $(usex pcf 'install-pcf' '') - ) - # Set the CHECKDIR to a dummy location so we always get the same set of - # files installed regardless of what is in / or ROOT or wherever. - [[ ${#args[@]} -gt 0 ]] && emake DESTDIR="${D}" CHECKDIR="${D}" "${args[@]}" - - # Remove trans files that the kbd package takes care of installing. - rm -f "${ED}"/usr/share/consoletrans/*.trans - - if use pcf-unicode-only; then - # Only the ter-x* fonts are unicode (ISO-10646-1) based - rm -f "${ED}"/usr/share/fonts/terminus/ter-[0-9a-wy-z]* || die - fi - - font_src_install -} |