media-fonts/encodings: Turn into well-behaved font

Lack of file /usr/share/fonts/encodings/.uuid
causes sandbox violation issues in other packages.
font_pkg_postinst take care of its creation now.

eclass xorg-2.eclass would inherit font.eclass for us
but package "media-fonts/encodings" does not pass the guard
for pattern media-fonts/font* in xorg-2.eclass, so we need
to inherit font.eclass, explicitly.

Bug: https://bugs.gentoo.org/665008

Package-Manager: Portage-2.3.49, Repoman-2.3.10
This commit is contained in:
Sebastian Pipping
2018-09-20 23:29:03 +02:00
parent 90809e560a
commit b9d7af55d8

View File

@@ -0,0 +1,15 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit xorg-2 font # since media-fonts/encodings does not match media-fonts/font*
DESCRIPTION="X.Org font encodings"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND="x11-apps/mkfontscale
>=media-fonts/font-util-1.1.1-r1"
ECONF_SOURCE="${S}"