commit:     42c2979cf8fa4941a049a75e2891e3f5d260fd06
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 22 13:27:46 2018 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Jul 22 13:28:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c2979c

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(-)

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 fd83c1f2a83..e9669cc0824 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

Reply via email to