Install this version:
emerge -a =media-fonts/ttf-wps-fonts-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-fonts/ttf-wps-fonts-9999
Or alternatively:
emerge --autounmask-write -a =media-fonts/ttf-wps-fonts-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISABLE_AUTOFORMATTING=true
inherit font unpacker git-r3
DESCRIPTION="Symbol fonts required by wps-office"
HOMEPAGE="https://github.com/iamdh4/ttf-wps-fonts"
LICENSE="all-rights-reserved"
SLOT="0"
EGIT_REPO_URI="https://github.com/iamdh4/ttf-wps-fonts.git"
FONT_SUFFIX="ttf"
# Only installs fonts
RESTRICT="binchecks strip test"
pkg_postinst() {
unset FONT_CONF # override default message
font_pkg_postinst
}
src_install(){
install -d "${D}/usr/share/fonts/wps-fonts"
install -m644 *.{ttf,TTF} "${D}/usr/share/fonts/wps-fonts/"
}