commit:     ad3d6c28b6764cf65242523357610b964986ba8f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 11 10:33:16 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan  2 04:51:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad3d6c28

*/*: make "vpx" a global use flag

Make the "vpx" flag global, as it is used semi-consistently across
a number of packages to enable VP8/VP9 decoding (and/or encoding),
using media-libs/libvpx.  Remove the redundant descriptions where they
don't add helpful information.

This was originally proposed in 2010, but was not followed through:
https://archives.gentoo.org/gentoo-dev/201007311337.40902.hanno <AT> gentoo.org/

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

 games-engines/scummvm/metadata.xml            | 1 -
 games-fps/eduke32/metadata.xml                | 1 -
 media-libs/avidemux-plugins/metadata.xml      | 1 -
 media-libs/libopenglrecorder/metadata.xml     | 1 -
 media-libs/xine-lib/metadata.xml              | 3 ---
 media-plugins/gst-plugins-meta/metadata.xml   | 2 --
 media-tv/mythtv/metadata.xml                  | 1 -
 media-video/simplescreenrecorder/metadata.xml | 1 -
 media-video/vlc/metadata.xml                  | 1 -
 net-libs/pjproject/metadata.xml               | 1 -
 profiles/use.desc                             | 1 +
 x11-wm/xpra/metadata.xml                      | 1 -
 12 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/games-engines/scummvm/metadata.xml 
b/games-engines/scummvm/metadata.xml
index 3b6346cbd8b6..c1308841d7c2 100644
--- a/games-engines/scummvm/metadata.xml
+++ b/games-engines/scummvm/metadata.xml
@@ -18,7 +18,6 @@
     <flag name="parport">Enable parallel port support via 
<pkg>sys-libs/libieee1284</pkg></flag>
     <flag name="sndio">Enable support for MIDI music using 
<pkg>media-sound/sndio</pkg></flag>
     <flag name="unsupported">enable unsupported and/or broken game engines 
(you're on your own)</flag>
-    <flag name="vpx">Enable VP8/VP9 codec support via 
<pkg>media-libs/libvpx</pkg></flag>
   </use>
   <upstream>
     <remote-id type="sourceforge">scummvm</remote-id>

diff --git a/games-fps/eduke32/metadata.xml b/games-fps/eduke32/metadata.xml
index 970fd2d68d82..8c509fc367cd 100644
--- a/games-fps/eduke32/metadata.xml
+++ b/games-fps/eduke32/metadata.xml
@@ -27,7 +27,6 @@
                <flag name="tools">Install the support tools for 
mapster32.</flag>
                <flag name="voidsw">Enable support for Shadow Warrior (Classic) 
through VoidSW.</flag>
                <flag name="voxels">Install the Duke Nukem 3D Voxels 
Pack.</flag>
-               <flag name="vpx">Enable support for 
<pkg>media-libs/libvpx</pkg>.</flag>
                <flag name="xmp">Enable support for 
<pkg>media-libs/exempi</pkg>.</flag>
        </use>
 </pkgmetadata>

diff --git a/media-libs/avidemux-plugins/metadata.xml 
b/media-libs/avidemux-plugins/metadata.xml
index 7a85584cd7c5..656454924dba 100644
--- a/media-libs/avidemux-plugins/metadata.xml
+++ b/media-libs/avidemux-plugins/metadata.xml
@@ -12,7 +12,6 @@
     <flag name="fdk">Adds support for encoding AAC using 
<pkg>media-libs/fdk-aac</pkg>.</flag>
     <flag name="fribidi">Enable unicode bidirectional algorithm support via 
<pkg>dev-libs/fribidi</pkg>.</flag>
     <flag name="twolame">Enable TwoLAME support via 
<pkg>media-sound/twolame</pkg>, an optimised MPEG Audio Layer 2 (MP2) 
encoder.</flag>
-    <flag name="vpx">Enable WebM VP8 Codec SDK support via 
<pkg>media-libs/libvpx</pkg>.</flag>
     <flag name="x265">Enables HEVC support with 
<pkg>media-libs/x265</pkg>.</flag>
   </use>
   <upstream>

diff --git a/media-libs/libopenglrecorder/metadata.xml 
b/media-libs/libopenglrecorder/metadata.xml
index 948c61c5b49a..1c10170a9b9a 100644
--- a/media-libs/libopenglrecorder/metadata.xml
+++ b/media-libs/libopenglrecorder/metadata.xml
@@ -7,7 +7,6 @@
        </maintainer>
        <use>
                <flag name="openh264">Enable H.264 support using 
<pkg>media-libs/openh264</pkg></flag>
-               <flag name="vpx">Enable VP8/VP9 codec support via 
<pkg>media-libs/libvpx</pkg></flag>
        </use>
        <upstream>
                <remote-id type="github">Benau/libopenglrecorder</remote-id>

diff --git a/media-libs/xine-lib/metadata.xml b/media-libs/xine-lib/metadata.xml
index 2ffbc928d60d..402b3e7d564a 100644
--- a/media-libs/xine-lib/metadata.xml
+++ b/media-libs/xine-lib/metadata.xml
@@ -61,9 +61,6 @@
                <flag name="vis">
                        Adds support for SIMD optimizations for UltraSPARC 
processors.
                </flag>
-               <flag name="vpx">
-                       Enable VP8 codec support via 
<pkg>media-libs/libvpx</pkg>.
-               </flag>
                <flag name="xvmc">
                        Enable support for XVideo Motion Compensation 
(accelerated mpeg playback).
                </flag>

diff --git a/media-plugins/gst-plugins-meta/metadata.xml 
b/media-plugins/gst-plugins-meta/metadata.xml
index 95f46a152f04..e0f9c9cf3ca7 100644
--- a/media-plugins/gst-plugins-meta/metadata.xml
+++ b/media-plugins/gst-plugins-meta/metadata.xml
@@ -15,7 +15,5 @@ since gstreamer plugins are all run-time dependencies.
        <flag name="http">Enable http streaming via 
<pkg>net-libs/libsoup</pkg></flag>
        <flag name="libvisual">Enable visualization effects via 
                <pkg>media-libs/libvisual</pkg></flag>
-       <flag name="vpx">Enables vp8 codec support using libvpx, required to
-               play some HTML5 videos</flag>
 </use>
 </pkgmetadata>

diff --git a/media-tv/mythtv/metadata.xml b/media-tv/mythtv/metadata.xml
index d8dec5de5964..332d894c764c 100644
--- a/media-tv/mythtv/metadata.xml
+++ b/media-tv/mythtv/metadata.xml
@@ -26,7 +26,6 @@
                <flag name="nvdec">Enable NVDEC (NVCUVID) hardware accelerated 
video decoding</flag>
                <flag name="perl">Build the perl bindings for MythTV</flag>
                <flag name="vbox">V@Box Communications network-attached tuner 
devices support</flag>
-               <flag name="vpx">Enable VP8/VP9 support for 
<pkg>media-libs/libvpx</pkg></flag>
                <flag name="wrapper">Use Ubuntu mythtfrontend wrapper</flag>
                <flag name="x265">Enable h265 encoding using x265</flag>
                <flag name="xmltv">Support <pkg>media-tv/xmltv</pkg> TV listing 
- not used by Schedules Direct]</flag>

diff --git a/media-video/simplescreenrecorder/metadata.xml 
b/media-video/simplescreenrecorder/metadata.xml
index 633b6c6df0f1..78d76538f2a1 100644
--- a/media-video/simplescreenrecorder/metadata.xml
+++ b/media-video/simplescreenrecorder/metadata.xml
@@ -4,7 +4,6 @@
   <!-- maintainer-needed -->
   <use>
     <flag name="asm">Enable x86 assembly optimisation.</flag>
-    <flag name="vpx">Enable VP8 codec support via 
<pkg>media-libs/libvpx</pkg>.</flag>
   </use>
   <upstream>
     <remote-id type="github">MaartenBaert/ssr</remote-id>

diff --git a/media-video/vlc/metadata.xml b/media-video/vlc/metadata.xml
index 9e6c642f023f..370630f1402c 100644
--- a/media-video/vlc/metadata.xml
+++ b/media-video/vlc/metadata.xml
@@ -49,7 +49,6 @@
                <flag name="tremor">Enable tremor, a fixed-point version of the 
Ogg Vorbis decoder</flag>
                <flag name="twolame">Enable twolame support (MPEG Audio Layer 2 
encoder)</flag>
                <flag name="upnp">Enable support for the Intel SDK stack based 
UPnP discovery module instead of CyberLink</flag>
-               <flag name="vpx">Enable the decoder(s) from the WebM VP8 / VP9 
Codec SDK</flag>
                <flag name="X">Enable support for e.g. fullscreen mode via X 
and the X C-language binding. It does not build a graphical interface</flag>
                <flag name="x265">Support X265 Encoder</flag>
                <flag name="zeroconf">Enable support for zero-configuration 
networking via avahi</flag>

diff --git a/net-libs/pjproject/metadata.xml b/net-libs/pjproject/metadata.xml
index b7d5dd9a9604..08ffe5d1b069 100644
--- a/net-libs/pjproject/metadata.xml
+++ b/net-libs/pjproject/metadata.xml
@@ -24,7 +24,6 @@
                <flag name="silk">Include SILK support in the build</flag>
                <flag name="srtp">Enable support for encrypted voice 
transmission (secure RTP)</flag>
                <flag name="v4l2">Include Video4Linux v2 support in the 
build</flag>
-               <flag name="vpx">Include VP8 and VP9 codec support in the 
build</flag>
                <flag name="webrtc">Enable WebRTC support</flag>
        </use>
        <upstream>

diff --git a/profiles/use.desc b/profiles/use.desc
index 0e345f1dcc3f..9d81d5eece19 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -368,6 +368,7 @@ videos - Install optional video files (used in some games)
 vim-syntax - Pulls in related vim syntax scripts
 vnc - Enable VNC (remote desktop viewer) support
 vorbis - Add support for the OggVorbis audio codec
+vpx - Add support for VP8/VP9 codecs (usually via media-libs/libvpx)
 vulkan - Add support for 3D graphics and computing via the Vulkan 
cross-platform API
 wavpack - Add support for wavpack audio compression tools
 wayland - Enable dev-libs/wayland backend

diff --git a/x11-wm/xpra/metadata.xml b/x11-wm/xpra/metadata.xml
index c37f8a3fe432..7e8359b802ed 100644
--- a/x11-wm/xpra/metadata.xml
+++ b/x11-wm/xpra/metadata.xml
@@ -28,7 +28,6 @@
        <flag name="qrcode">Enable generating QRCodes for server URL via 
<pkg>media-gfx/qrencode</pkg></flag>
        <flag name="trayicon">Enable system tray icon</flag>
        <flag name="server">Build server-side code</flag>
-       <flag name="vpx">Enable vpx image format support</flag>
        <flag name="webcam">Enable webcam support via opencv</flag>
        <flag name="xdg">Enable support for XDG-based menus</flag>
 </use>

Reply via email to