Skip to content

Commit

Permalink
media-fonts/dejavu: Fix sandbox violations (#622940)
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.28, Repoman-2.3.9
  • Loading branch information
pacho2 committed Apr 18, 2018
1 parent 0a155e7 commit 3bcf7b5
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions media-fonts/dejavu/dejavu-2.37.ebuild
Original file line number Diff line number Diff line change
@@ -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/"
Expand All @@ -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
Expand All @@ -57,6 +59,11 @@ src_unpack() {
fi
}

src_prepare() {
default
xdg_environment_reset
}

src_compile() {
if use fontforge; then
emake \
Expand Down

0 comments on commit 3bcf7b5

Please sign in to comment.