summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-04-18 20:42:38 +0200
committerPacho Ramos <pacho@gentoo.org>2018-04-18 20:55:54 +0200
commit3bcf7b55b86016993d20923aaf06af8bdd6bd4bd (patch)
tree0672b56dc213ae70ab7e5c8c8eb470e475a31b98 /media-fonts/dejavu
parentmedia-libs/libnjb: Remove old (diff)
downloadgentoo-3bcf7b55b86016993d20923aaf06af8bdd6bd4bd.tar.gz
gentoo-3bcf7b55b86016993d20923aaf06af8bdd6bd4bd.tar.bz2
gentoo-3bcf7b55b86016993d20923aaf06af8bdd6bd4bd.zip
media-fonts/dejavu: Fix sandbox violations (#622940)
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'media-fonts/dejavu')
-rw-r--r--media-fonts/dejavu/dejavu-2.37.ebuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/media-fonts/dejavu/dejavu-2.37.ebuild b/media-fonts/dejavu/dejavu-2.37.ebuild
index dd07747d42aa..ce6dbf935a80 100644
--- a/media-fonts/dejavu/dejavu-2.37.ebuild
+++ b/media-fonts/dejavu/dejavu-2.37.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit font versionator
+inherit font versionator xdg-utils
DESCRIPTION="DejaVu fonts, bitstream vera with ISO-8859-2 characters"
HOMEPAGE="https://dejavu-fonts.github.io/"
@@ -28,12 +28,14 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="fontforge"
-DEPEND="fontforge? ( x11-apps/mkfontscale
+DEPEND="fontforge? (
+ x11-apps/mkfontscale
>=media-gfx/fontforge-20080429
x11-apps/mkfontdir
dev-perl/Font-TTF
app-i18n/unicode-data
- >media-libs/fontconfig-2.6.0 )"
+ >media-libs/fontconfig-2.6.0:1.0 )
+"
FONT_CONF=(
fontconfig/20-unhint-small-dejavu-sans-mono.conf
@@ -57,6 +59,11 @@ src_unpack() {
fi
}
+src_prepare() {
+ default
+ xdg_environment_reset
+}
+
src_compile() {
if use fontforge; then
emake \