summaryrefslogtreecommitdiff
path: root/media-fonts/intlfonts
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/intlfonts')
-rw-r--r--media-fonts/intlfonts/Manifest4
-rw-r--r--media-fonts/intlfonts/intlfonts-1.2.1-r1.ebuild (renamed from media-fonts/intlfonts/intlfonts-1.2.1.ebuild)10
-rw-r--r--media-fonts/intlfonts/metadata.xml3
3 files changed, 12 insertions, 5 deletions
diff --git a/media-fonts/intlfonts/Manifest b/media-fonts/intlfonts/Manifest
index 189a4efc4762..543a42174399 100644
--- a/media-fonts/intlfonts/Manifest
+++ b/media-fonts/intlfonts/Manifest
@@ -1,3 +1,3 @@
DIST intlfonts-1.2.1.tar.gz 24360787 BLAKE2B bf75f895832310719d470e49ca206a6b888720c44927ac967ad6dabc19288d4220afc70bf38358899229315e25b5c473786838a2207c41c48e35765cd3a4d621 SHA512 c11508335cf0f819e7907a6b16c305fbfbf1182dbdea939773482bda3c0f27d70ba427ca3d22c62f4190c24f35bb2bcde4e4fa185aff7f4964293263f7b4304e
-EBUILD intlfonts-1.2.1.ebuild 727 BLAKE2B 17abdd5311937482c9012336a386f5d5a67ee949f0c3af3811dc69077b8af25604ace6b7190536062d7707030c1f22238baab0e2653f95ad212beae358a55189 SHA512 816f7ede0acf38661cb13af55b57052103f042cfffae7da6cbeac97ea30324c13ae476e66ca35a46e30c2070aa9067c5593af3273d17881bce2b5a876f89c053
-MISC metadata.xml 310 BLAKE2B fa2fd301aaecf5199872cc505f1f3e1617fcdc9d5b2339a09fbf17a5c211a86aa36679c02f329b8a2ad6303d4273e637e053e45cc49cc5cf2d749e625065482c SHA512 d28b30457a33057122995d04f513281a3513ca0b30c5afa4d5bfcb222912d0eb870c5afcd12dc2426b2d10cb82a9254888d6b307a9defab5112c4bbb6e60f22d
+EBUILD intlfonts-1.2.1-r1.ebuild 894 BLAKE2B dde019f08df9c13af50c13ffacf59f0cf22b7c3ec7841520f2b9f99547738067ee8a7c5a339bb538ee4191b02a73e84b296f295b74f8331e3091a7dcd3cfe15b SHA512 e20d718662573c6d9c849f568a5721455e4c0c0acf356b597803880fedb68a926a245b4f0c06126558417a3d4633972f913c82f2fbbc9321fecb3e0920591047
+MISC metadata.xml 370 BLAKE2B 7783e99cf31647a374b109157e9df67f528f61cb89d4f7936172a7e001b10e0cfe45a96aead40b4618a987af0f68f44b6cc7ff2536eefdf8ab737ca072daf06c SHA512 c41b35cb543c1756b194ffbcf0c14935ab70b588dbdd4b51615901c5c7244eee2566771b6b070ec13451c0dda638f20303a12f3eab39c17c5dad6a548d7ca83e
diff --git a/media-fonts/intlfonts/intlfonts-1.2.1.ebuild b/media-fonts/intlfonts/intlfonts-1.2.1-r1.ebuild
index 2f64bafdef9d..350e486b4ae7 100644
--- a/media-fonts/intlfonts/intlfonts-1.2.1.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="freedist"
+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>