From 42c2979cf8fa4941a049a75e2891e3f5d260fd06 Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sun, 22 Jul 2018 22:27:46 +0900 Subject: media-fonts/arphicfonts: call xdg_environment_reset Closes: https://bugs.gentoo.org/586590 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'media-fonts') diff --git a/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild b/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild index fd83c1f2a838..e9669cc08246 100644 --- a/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild +++ b/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit font eutils +inherit eutils font xdg-utils DESCRIPTION="Chinese TrueType Arphic Fonts" HOMEPAGE="http://www.arphic.com.tw/ @@ -59,6 +59,7 @@ src_prepare() { find "${WORKDIR}" -mindepth 2 -maxdepth 2 -name '*.ttc' -exec mv {} . \; find "${WORKDIR}" -name '*.conf' -exec mv "{}" . \; epatch "${FILESDIR}"/${P}-fontconfig.patch + xdg_environment_reset fontforge -script "${FILESDIR}"/${P}.pe b*.ttf || die } @@ -68,7 +69,7 @@ src_install() { do cd "${WORKDIR}"/${myfont} docinto ${myfont} - for doc in FONTLOG KNOWN_ISSUES TODO README README.Bitmap NEWS CONTRIBUTERS + for doc in FONTLOG KNOWN_ISSUES TODO README README.Bitmap NEWS CONTRIBUTERS do [ -f ${doc} ] && dodoc ${doc} done -- cgit v1.2.3-65-gdbad