From bed7acd5a3bcc624c22f0555dfda54b720987633 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 19 Oct 2019 21:48:07 +0200 Subject: [PATCH] media-fonts/shinonome: Port to EAPI 7 Bug: https://bugs.gentoo.org/697292 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert --- media-fonts/shinonome/shinonome-0.9.11.ebuild | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/media-fonts/shinonome/shinonome-0.9.11.ebuild b/media-fonts/shinonome/shinonome-0.9.11.ebuild index 1a05e6cfaefc..dbb420925c3e 100644 --- a/media-fonts/shinonome/shinonome-0.9.11.ebuild +++ b/media-fonts/shinonome/shinonome-0.9.11.ebuild @@ -1,35 +1,35 @@ -# 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 -IUSE="" - DESCRIPTION="Japanese bitmap fonts for X" -SRC_URI="http://openlab.jp/efont/dist/shinonome/${P}.tar.bz2" HOMEPAGE="http://openlab.jp/efont/shinonome/" +SRC_URI="http://openlab.jp/efont/dist/shinonome/${P}.tar.bz2" LICENSE="public-domain" -SLOT=0 +SLOT="0" KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86" +# Only installs fonts +RESTRICT="strip binchecks" -DEPEND="x11-apps/bdftopcf" -RDEPEND="" +BDEPEND="x11-apps/bdftopcf" -FONT_SUFFIX="pcf.gz" -FONT_S=${S} DOCS="AUTHORS BUGS ChangeLog* DESIGN* INSTALL LICENSE README THANKS TODO" +FONT_S="${S}" +FONT_SUFFIX="pcf.gz" -# Only installs fonts -RESTRICT="strip binchecks" +src_configure() { + econf --with-pcf --without-bdf +} -src_compile(){ - econf --with-pcf --without-bdf || die - emake || die +src_compile() { + default - for i in *.pcf ; do - gzip -9 $i + local i + for i in *.pcf; do + gzip -9 "${i}" || die done } -- 2.26.2