diff options
author | Ulrich Müller <ulm@gentoo.org> | 2019-12-24 00:40:02 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2019-12-24 00:40:58 +0100 |
commit | ee322cebf2fc56ea56f6bbc25c7a5343a5dc3264 (patch) | |
tree | 487995ed7c860ac471edd26d310d5a516e6d1e26 /media-fonts | |
parent | profiles: Last-rite games-util/xboxgw (diff) | |
download | gentoo-ee322cebf2fc56ea56f6bbc25c7a5343a5dc3264.tar.gz gentoo-ee322cebf2fc56ea56f6bbc25c7a5343a5dc3264.tar.bz2 gentoo-ee322cebf2fc56ea56f6bbc25c7a5343a5dc3264.zip |
media-fonts/intlfonts: Add "non-free" use flag.
This enables installation of non-free Tibetan fonts.
Bug: https://bugs.gentoo.org/698048
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/intlfonts/intlfonts-1.2.1-r1.ebuild | 10 | ||||
-rw-r--r-- | media-fonts/intlfonts/metadata.xml | 3 |
2 files changed, 10 insertions, 3 deletions
diff --git a/media-fonts/intlfonts/intlfonts-1.2.1-r1.ebuild b/media-fonts/intlfonts/intlfonts-1.2.1-r1.ebuild index f9eef1f9f50b..350e486b4ae7 100644 --- a/media-fonts/intlfonts/intlfonts-1.2.1-r1.ebuild +++ b/media-fonts/intlfonts/intlfonts-1.2.1-r1.ebuild @@ -9,16 +9,22 @@ DESCRIPTION="International X11 fixed fonts" HOMEPAGE="https://www.gnu.org/directory/intlfonts.html" SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" -LICENSE="public-domain HPND free-noncomm" +LICENSE="public-domain HPND non-free? ( free-noncomm )" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86" -IUSE="bdf" +IUSE="bdf non-free" DEPEND="x11-apps/bdftopcf >=x11-apps/mkfontscale-1.2.0" DOCS=( ChangeLog NEWS README Emacs.ap ) +src_prepare() { + default + # Tibetan fonts have a non-commercial restriction + use non-free || rm Asian/tib*.bdf || die +} + src_configure() { local myconf=( --with-fontdir=/usr/share/fonts/${PN} diff --git a/media-fonts/intlfonts/metadata.xml b/media-fonts/intlfonts/metadata.xml index 7d1842f83aff..8fa31783a57d 100644 --- a/media-fonts/intlfonts/metadata.xml +++ b/media-fonts/intlfonts/metadata.xml @@ -6,6 +6,7 @@ <name>Fonts</name> </maintainer> <use> - <flag name="bdf">Installs BDF fonts in addition to PCF</flag> + <flag name="bdf">Install BDF fonts in addition to PCF</flag> + <flag name="non-free">Install non-free Tibetan fonts</flag> </use> </pkgmetadata> |