Skip to content

Commit

Permalink
media-video/ffmpeg: add AMF useflag
Browse files Browse the repository at this point in the history
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Closes: gentoo#23250
Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
AdelKS authored and thesamesam committed Feb 19, 2022
1 parent 5333613 commit 8012d50
Show file tree
Hide file tree
Showing 16 changed files with 67 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ FFMPEG_ENCODER_FLAG_MAP=(
amrenc:libvo-amrwbenc mp3:libmp3lame
kvazaar:libkvazaar libaom
openh264:libopenh264 rav1e:librav1e snappy:libsnappy svt-av1:libsvtav1 theora:libtheora twolame:libtwolame
webp:libwebp x264:libx264 x265:libx265 xvid:libxvid
webp:libwebp x264:libx264 x265:libx265 xvid:libxvid amf:amf
)

IUSE="
Expand Down
2 changes: 1 addition & 1 deletion media-video/ffmpeg/ffmpeg-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ FFMPEG_ENCODER_FLAG_MAP=(
amrenc:libvo-amrwbenc mp3:libmp3lame
kvazaar:libkvazaar libaom
openh264:libopenh264 rav1e:librav1e snappy:libsnappy svt-av1:libsvtav1 theora:libtheora twolame:libtwolame
webp:libwebp x264:libx264 x265:libx265 xvid:libxvid
webp:libwebp x264:libx264 x265:libx265 xvid:libxvid amf:amf
)

IUSE="
Expand Down
1 change: 1 addition & 0 deletions media-video/ffmpeg/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<email>media-video@gentoo.org</email>
</maintainer>
<use>
<flag name="amf">Enables support for AMD's Advanced Media Framework (AMF)</flag>
<flag name="amr">Enables Adaptive Multi-Rate Audio support</flag>
<flag name="amrenc">Enables Adaptive Multi-Rate Audio encoding support with <pkg>media-libs/vo-amrwbenc</pkg>.</flag>
<flag name="appkit">Enables Apple AppKit framework</flag>
Expand Down
5 changes: 5 additions & 0 deletions profiles/arch/alpha/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Adel Kara Slimane <adel.ks@zegrapher.com> (2022-02-17)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
media-video/ffmpeg amf

# Sam James <sam@gentoo.org> (2022-02-10)
# app-crypt/tpm2-tss is not keyworded here
app-crypt/gnupg tpm
Expand Down
4 changes: 4 additions & 0 deletions profiles/arch/amd64/package.use.stable.mask
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

#--- END OF EXAMPLES ---

# Adel Kara Slimane <adel.ks@zegrapher.com> (2022-02-17)
# needs stabilizing
media-video/ffmpeg amf

# Sam James <sam@gentoo.org> (2022-02-01)
# sys-cluster/ucx is not marked stable on amd64
sys-cluster/slurm ucx
Expand Down
5 changes: 5 additions & 0 deletions profiles/arch/arm/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Adel Kara Slimane <adel.ks@zegrapher.com> (2022-01-17)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
media-video/ffmpeg amf

# Sam James <sam@gentoo.org> (2022-01-15)
# Deps not yet stable:
# app-emulation/spice
Expand Down
5 changes: 5 additions & 0 deletions profiles/arch/arm64/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Adel Kara Slimane <adel.ks@zegrapher.com> (2022-01-11)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
media-video/ffmpeg amf

# Sam James <sam@gentoo.org> (2022-02-02)
# sys-cluster/knem is not keyworded on arm64
sys-cluster/openmpi openmpi_fabrics_knem
Expand Down
5 changes: 5 additions & 0 deletions profiles/arch/hppa/package.use.mask
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
# NOTE: When masking a USE flag due to missing keywords, please file a keyword
# request bug for the hppa arch.

# Adel Kara Slimane <adel.ks@zegrapher.com> (2022-02-17)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
media-video/ffmpeg amf

# Sam James <sam@gentoo.org> (2022-02-10)
# app-crypt/tpm2-tss is not keyworded here
app-crypt/gnupg tpm
Expand Down
5 changes: 5 additions & 0 deletions profiles/arch/ia64/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Adel Kara Slimane <adel.ks@zegrapher.com> (2022-01-11)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
media-video/ffmpeg amf

# Sam James <sam@gentoo.org> (2022-02-10)
# app-crypt/tpm2-tss is not keyworded here
app-crypt/gnupg tpm
Expand Down
5 changes: 5 additions & 0 deletions profiles/arch/m68k/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Adel Kara Slimane <adel.ks@zegrapher.com> (2022-01-11)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
media-video/ffmpeg amf

# James Le Cuirot <chewi@gentoo.org> (2022-01-09)
# Most usage of KMS requires GBM, which is provided by Mesa, which currently
# doesn't work on m68k.
Expand Down
5 changes: 5 additions & 0 deletions profiles/arch/mips/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Adel Kara Slimane <adel.ks@zegrapher.com> (2022-01-17)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
media-video/ffmpeg amf

# Fabian Groffen <grobian@gentoo.org> (2022-02-13)
# needs unkeyworded virtual/gsasl
mail-client/mutt gsasl
Expand Down
5 changes: 5 additions & 0 deletions profiles/arch/powerpc/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Adel Kara Slimane <adel.ks@zegrapher.com> (2021-12-11)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
media-video/ffmpeg amf

# Sam James <sam@gentoo.org> (2021-11-15)
# librtas is available on (only) ppc*
sys-apps/util-linux -rtas
Expand Down
5 changes: 5 additions & 0 deletions profiles/arch/riscv/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Adel Kara Slimane <adel.ks@zegrapher.com> (2022-02-17)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
media-video/ffmpeg amf

# Sam James <sam@gentoo.org> (2022-01-29)
# app-text/ronn-ng not keyworded here, bug #801103
app-accessibility/espeak-ng man
Expand Down
5 changes: 5 additions & 0 deletions profiles/arch/s390/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Adel Kara Slimane <adel.ks@zegrapher.com> (2021-12-11)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
media-video/ffmpeg amf

# Sam James <sam@gentoo.org> (2021-11-05)
# Avoid keywording unnecessary depenencies for now, bug #804115
dev-python/scipy pythran
Expand Down
5 changes: 5 additions & 0 deletions profiles/arch/sparc/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Adel Kara Slimane <adel.ks@zegrapher.com> (2022-02-17)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
media-video/ffmpeg amf

# Sam James <sam@gentoo.org> (2022-02-10)
# app-crypt/tpm2-tss is not keyworded here
app-crypt/gnupg tpm
Expand Down
5 changes: 5 additions & 0 deletions profiles/arch/x86/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Adel Kara Slimane <adel.ks@zegrapher.com> (2021-02-17)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
media-video/ffmpeg amf

# Sam James <sam@gentoo.org> (2022-01-20)
# Only supports cpu_flags_x86_aes in 64-bit mode
net-fs/samba cpu_flags_x86_aes
Expand Down

0 comments on commit 8012d50

Please sign in to comment.