commit:     1380da9adf1c27dbc13ff8c5114838a0b083a76a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 15:41:44 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 18:52:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1380da9a

profiles/use.desc: Make USE={otf,ttf} global

Make USE=otf and USE=ttf global USE flags, for installing specific font
types.  Both flags are used consistently in 6 packages, plus USE=otf
in one more with extra information.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-fonts/essays1743/metadata.xml  | 4 ----
 media-fonts/fira-mono/metadata.xml   | 4 ----
 media-fonts/fira-sans/metadata.xml   | 4 ----
 media-fonts/fontawesome/metadata.xml | 4 ----
 media-fonts/ibm-plex/metadata.xml    | 4 ----
 media-fonts/vollkorn/metadata.xml    | 4 ----
 profiles/use.desc                    | 2 ++
 7 files changed, 2 insertions(+), 24 deletions(-)

diff --git a/media-fonts/essays1743/metadata.xml 
b/media-fonts/essays1743/metadata.xml
index b848f8cb415b..ad76811405bf 100644
--- a/media-fonts/essays1743/metadata.xml
+++ b/media-fonts/essays1743/metadata.xml
@@ -5,8 +5,4 @@
                <email>fo...@gentoo.org</email>
                <name>Fonts</name>
        </maintainer>
-       <use>
-                       <flag name="otf">Install the OpenType version of the 
font</flag>
-                       <flag name="ttf">Install the TrueType version of the 
font</flag>
-       </use>
 </pkgmetadata>

diff --git a/media-fonts/fira-mono/metadata.xml 
b/media-fonts/fira-mono/metadata.xml
index b074def9c4e2..36adbadb05ec 100644
--- a/media-fonts/fira-mono/metadata.xml
+++ b/media-fonts/fira-mono/metadata.xml
@@ -5,8 +5,4 @@
     <email>fo...@gentoo.org</email>
     <name>Fonts</name>
   </maintainer>
-  <use>
-    <flag name="otf">Install the OpenType version of the font</flag>
-    <flag name="ttf">Install the TrueType version of the font</flag>
-  </use>
 </pkgmetadata>

diff --git a/media-fonts/fira-sans/metadata.xml 
b/media-fonts/fira-sans/metadata.xml
index 2a8a4b1a1d83..9448af9c5670 100644
--- a/media-fonts/fira-sans/metadata.xml
+++ b/media-fonts/fira-sans/metadata.xml
@@ -6,8 +6,4 @@
                <name>Fonts</name>
        </maintainer>
        <stabilize-allarches/>
-       <use>
-               <flag name="otf">Install the OpenType version of the font</flag>
-               <flag name="ttf">Install the TrueType version of the font</flag>
-       </use>
 </pkgmetadata>

diff --git a/media-fonts/fontawesome/metadata.xml 
b/media-fonts/fontawesome/metadata.xml
index 930cecf1616a..50e931460801 100644
--- a/media-fonts/fontawesome/metadata.xml
+++ b/media-fonts/fontawesome/metadata.xml
@@ -9,9 +9,5 @@
                <email>proxy-ma...@gentoo.org</email>
                <name>Proxy Maintainers</name>
        </maintainer>
-       <use>
-               <flag name="otf">Install the OpenType version of the font</flag>
-               <flag name="ttf">Install the TrueType version of the font</flag>
-       </use>
        <stabilize-allarches/>
 </pkgmetadata>

diff --git a/media-fonts/ibm-plex/metadata.xml 
b/media-fonts/ibm-plex/metadata.xml
index cec17fc77aa1..96431024f564 100644
--- a/media-fonts/ibm-plex/metadata.xml
+++ b/media-fonts/ibm-plex/metadata.xml
@@ -2,10 +2,6 @@
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
        <!-- maintainer-needed -->
-       <use>
-               <flag name="otf">Install OTF fonts</flag>
-               <flag name="ttf">Install TTF fonts</flag>
-       </use>
        <upstream>
                <remote-id type="github">IBM/plex</remote-id>
        </upstream>

diff --git a/media-fonts/vollkorn/metadata.xml 
b/media-fonts/vollkorn/metadata.xml
index da665b3ad41d..eb92608acbe4 100644
--- a/media-fonts/vollkorn/metadata.xml
+++ b/media-fonts/vollkorn/metadata.xml
@@ -5,10 +5,6 @@
                <email>fo...@gentoo.org</email>
                <name>Fonts</name>
        </maintainer>
-       <use>
-               <flag name="otf">Install the OpenType version of the font</flag>
-               <flag name="ttf">Install the TrueType version of the font</flag>
-       </use>
        <stabilize-allarches/>
        <upstream>
                <remote-id 
type="github">FAlthausen/Vollkorn-Typeface</remote-id>

diff --git a/profiles/use.desc b/profiles/use.desc
index 08cbdbbc2b93..95009d64778b 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -241,6 +241,7 @@ oracle - Enable Oracle Database support
 orc - Use dev-lang/orc for just-in-time optimization of array operations
 osc - Enable support for Open Sound Control
 oss - Add support for OSS (Open Sound System)
+otf - Install OpenType font versions
 pam - Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to 
arbitrarily flip
 pch - Enable precompiled header support for faster compilation at the expense 
of disk space and memory (>=sys-devel/gcc-3.4 only)
 pcmcia - Add support for PCMCIA slots/devices found on laptop computers
@@ -333,6 +334,7 @@ tiff - Add support for the TIFF image format
 timidity - Build with Timidity++ (MIDI sequencer) support
 tk - Add support for Tk GUI toolkit
 truetype - Add support for FreeType and/or FreeType2 fonts
+ttf - Install TrueType font versions
 udev - Enable virtual/udev integration (device discovery, power and storage 
device support, etc)
 udisks - Enable storage management support (automounting, volume monitoring, 
etc)
 uefi - Enable support for the Unified Extensible Firmware Interface

Reply via email to