diff options
author | David Seifert <soap@gentoo.org> | 2019-10-19 21:47:57 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-10-19 21:47:57 +0200 |
commit | f93be544dadeafab67385d1046455d3746e33338 (patch) | |
tree | 4aca9f3207089c5fbae8a4e4bf942adc2e0191a7 /media-fonts/lfpfonts-fix | |
parent | media-fonts/sgi-fonts: Port to EAPI 7 (diff) | |
download | gentoo-f93be544dadeafab67385d1046455d3746e33338.tar.gz gentoo-f93be544dadeafab67385d1046455d3746e33338.tar.bz2 gentoo-f93be544dadeafab67385d1046455d3746e33338.zip |
media-fonts/lfpfonts-fix: Port to EAPI 7
Bug: https://bugs.gentoo.org/697304
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-fonts/lfpfonts-fix')
-rw-r--r-- | media-fonts/lfpfonts-fix/files/lfpfonts-fix-0.83-noglyph.patch | 4 | ||||
-rw-r--r-- | media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild | 30 |
2 files changed, 15 insertions, 19 deletions
diff --git a/media-fonts/lfpfonts-fix/files/lfpfonts-fix-0.83-noglyph.patch b/media-fonts/lfpfonts-fix/files/lfpfonts-fix-0.83-noglyph.patch index 77cf7a5fe5f4..cd0e8f0b9ff7 100644 --- a/media-fonts/lfpfonts-fix/files/lfpfonts-fix-0.83-noglyph.patch +++ b/media-fonts/lfpfonts-fix/files/lfpfonts-fix-0.83-noglyph.patch @@ -1,5 +1,5 @@ ---- src/ucs2any.agriffis 2001-02-17 12:34:50.000000000 -0500 -+++ src/ucs2any 2006-01-11 10:53:15.000000000 -0500 +--- a/src/ucs2any ++++ b/src/ucs2any @@ -225,12 +225,7 @@ if (!is_control($ucs)) { if ($startchar{$ucs}) { diff --git a/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild b/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild index 371687a31729..4049c6c2f006 100644 --- a/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild +++ b/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild @@ -1,37 +1,33 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit font eutils font-ebdftopcf +inherit font font-ebdftopcf DESCRIPTION="Linux Font Project fixed-width fonts" SRC_URI="mirror://sourceforge/xfonts/${PN}-src-${PV}.tar.bz2" HOMEPAGE="https://sourceforge.net/projects/xfonts/" -LICENSE="public-domain" +LICENSE="public-domain" SLOT="0" KEYWORDS="alpha amd64 arm ia64 ppc s390 sh sparc x86" -IUSE="" +# Only installs fonts +RESTRICT="strip binchecks" S="${WORKDIR}/${PN}-src" -FONT_S="${S}/src" - -DOCS="${S}/doc/*" +PATCHES=( "${FILESDIR}"/${PN}-0.83-noglyph.patch ) -# Only installs fonts -RESTRICT="strip binchecks" +DOCS="doc/*" +FONT_S="${S}/src" -src_unpack() { - unpack ${A} - cd "${S}" - epatch ${FILESDIR}/${PN}-0.83-noglyph.patch +src_prepare() { + default + sed -i -e '/^FONT /s/\(.*-\)C*-/\1C-/' src/*.bdf || die } src_compile() { - cd "${FONT_S}" - sed -i -e '/^FONT /s/\(.*-\)C*-/\1C-/' *.bdf || die "sed failed" - + cd "${FONT_S}" || die font-ebdftopcf_src_compile } |