commit: 76860aa860c8656ca8d14b81b6327d4116324eff Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> AuthorDate: Fri Sep 21 11:18:12 2018 +0000 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> CommitDate: Fri Sep 21 11:21:16 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76860aa8
media-fonts/encodings: Fix xorg-2_src_install shadowing regression xorg-2_pkg_post* are called to be future proof, only. Closes: https://bugs.gentoo.org/665008 Package-Manager: Portage-2.3.49, Repoman-2.3.10 ...ncodings-1.0.4-r2.ebuild => encodings-1.0.4-r3.ebuild} | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/media-fonts/encodings/encodings-1.0.4-r2.ebuild b/media-fonts/encodings/encodings-1.0.4-r3.ebuild similarity index 64% rename from media-fonts/encodings/encodings-1.0.4-r2.ebuild rename to media-fonts/encodings/encodings-1.0.4-r3.ebuild index 0d23578cb78..af7bb67275f 100644 --- a/media-fonts/encodings/encodings-1.0.4-r2.ebuild +++ b/media-fonts/encodings/encodings-1.0.4-r3.ebuild @@ -2,7 +2,10 @@ # 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* + +# font eclass is needed since "media-fonts/encodings" does not match +# check for pattern media-fonts/font* in xorg-2 eclass +inherit font xorg-2 DESCRIPTION="X.Org font encodings" @@ -13,3 +16,13 @@ DEPEND="x11-apps/mkfontscale >=media-fonts/font-util-1.1.1-r1" ECONF_SOURCE="${S}" + +pkg_postinst() { + xorg-2_pkg_postinst + font_pkg_postinst +} + +pkg_postrm() { + xorg-2_pkg_postrm + font_pkg_postrm +}