summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-07-22 22:27:46 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-07-22 22:28:45 +0900
commit42c2979cf8fa4941a049a75e2891e3f5d260fd06 (patch)
tree919a5f28b8500e93a1e6514aa9ec24032ceb050b /media-fonts
parentnet-analyzer/wireshark: Synchronise live ebuild. (diff)
downloadgentoo-42c2979cf8fa4941a049a75e2891e3f5d260fd06.tar.gz
gentoo-42c2979cf8fa4941a049a75e2891e3f5d260fd06.tar.bz2
gentoo-42c2979cf8fa4941a049a75e2891e3f5d260fd06.zip
media-fonts/arphicfonts: call xdg_environment_reset
Closes: https://bugs.gentoo.org/586590 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild5
1 files 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 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