From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/intlfonts/
Date: Mon, 23 Dec 2019 23:41:10 +0000 (UTC) [thread overview]
Message-ID: <1577144458.ee322cebf2fc56ea56f6bbc25c7a5343a5dc3264.ulm@gentoo> (raw)
commit: ee322cebf2fc56ea56f6bbc25c7a5343a5dc3264
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 23 23:40:02 2019 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 23 23:40:58 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee322ceb
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 <AT> gentoo.org>
media-fonts/intlfonts/intlfonts-1.2.1-r1.ebuild | 10 ++++++++--
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 f9eef1f9f50..350e486b4ae 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 7d1842f83af..8fa31783a57 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>
next reply other threads:[~2019-12-23 23:41 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-23 23:41 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-25 20:36 [gentoo-commits] repo/gentoo:master commit in: media-fonts/intlfonts/ Andreas Sturmlechner
2024-09-24 15:03 Arthur Zamarin
2024-09-23 8:26 Arthur Zamarin
2024-09-23 7:13 Arthur Zamarin
2024-09-23 6:02 Arthur Zamarin
2024-09-23 0:32 Sam James
2024-09-23 0:32 Sam James
2024-08-25 23:54 Conrad Kostecki
2022-08-18 2:53 Matt Turner
2022-05-25 8:29 WANG Xuerui
2021-03-28 11:00 Sam James
2021-03-26 11:50 Agostino Sarubbo
2021-03-17 9:00 Sam James
2021-03-17 2:21 Sam James
2021-03-17 2:21 Sam James
2021-03-17 2:19 Sam James
2021-03-17 2:16 Sam James
2021-02-16 9:31 Ulrich Müller
2019-12-23 14:33 Ulrich Müller
2019-10-19 16:10 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1577144458.ee322cebf2fc56ea56f6bbc25c7a5343a5dc3264.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox