media-libs/amf-headers: stabilize all versions on all arches

ffmpeg with amf USE enabled
- can only built with amf-headers installed.
- can only use AMF ( the 'XXXX_amf' codecs) at runtime when 'amdgpu-pro-amf' is installed (the shared libs it installs are dlopen'ed by ffmpeg)
- can only use the AMF features that it has explicit code for

-> Runtime behavior entirely depends on closed source amdgpu-pro-amf binary that we have no control over
   -> we verbump 'amdgpu-pro-amf' and 'amf-headers' straight to stable

This package is also useless on arm64 as it cannot actually be leveraged to use AMF on an AMD GPU:
it needs the proprietary package amdgpu-pro-amf that currently only exists on amd64

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Part-of: https://github.com/gentoo/gentoo/pull/45565
Closes: https://github.com/gentoo/gentoo/pull/45565
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Adel KARA SLIMANE
2026-03-10 22:24:34 -04:00
committed by Ionen Wolkens
parent 21304fe765
commit bce4e161fb
6 changed files with 49 additions and 8 deletions
@@ -8,7 +8,15 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF"
else
SRC_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64"
# ffmpeg with amf USE enabled
# - can only built with amf-headers installed.
# - can only use AMF ( the 'XXXX_amf' codecs) at runtime when 'amdgpu-pro-amf' is installed (the shared libs it installs are dlopen'ed by ffmpeg)
# - can only use the AMF features that it has explicit code for
#
# -> Runtime behavior entirely depends on closed source amdgpu-pro-amf binary that we have no control over
# -> we verbump 'amdgpu-pro-amf' and 'amf-headers' straight to stable
KEYWORDS="amd64 arm64"
fi
DESCRIPTION="The Advanced Media Framework (AMF) SDK"
@@ -8,7 +8,15 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF"
else
SRC_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64"
# ffmpeg with amf USE enabled
# - can only built with amf-headers installed.
# - can only use AMF ( the 'XXXX_amf' codecs) at runtime when 'amdgpu-pro-amf' is installed (the shared libs it installs are dlopen'ed by ffmpeg)
# - can only use the AMF features that it has explicit code for
#
# -> Runtime behavior entirely depends on closed source amdgpu-pro-amf binary that we have no control over
# -> we verbump 'amdgpu-pro-amf' and 'amf-headers' straight to stable
KEYWORDS="amd64 arm64"
fi
DESCRIPTION="The Advanced Media Framework (AMF) SDK"
@@ -8,7 +8,15 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF"
else
SRC_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64"
# ffmpeg with amf USE enabled
# - can only built with amf-headers installed.
# - can only use AMF ( the 'XXXX_amf' codecs) at runtime when 'amdgpu-pro-amf' is installed (the shared libs it installs are dlopen'ed by ffmpeg)
# - can only use the AMF features that it has explicit code for
#
# -> Runtime behavior entirely depends on closed source amdgpu-pro-amf binary that we have no control over
# -> we verbump 'amdgpu-pro-amf' and 'amf-headers' straight to stable
KEYWORDS="amd64 arm64"
fi
DESCRIPTION="The Advanced Media Framework (AMF) SDK"
@@ -8,7 +8,15 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF"
else
SRC_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v${PV}.tar.gz -> ${P}-r1.tar.gz"
KEYWORDS="amd64 ~arm64"
# ffmpeg with amf USE enabled
# - can only built with amf-headers installed.
# - can only use AMF ( the 'XXXX_amf' codecs) at runtime when 'amdgpu-pro-amf' is installed (the shared libs it installs are dlopen'ed by ffmpeg)
# - can only use the AMF features that it has explicit code for
#
# -> Runtime behavior entirely depends on closed source amdgpu-pro-amf binary that we have no control over
# -> we verbump 'amdgpu-pro-amf' and 'amf-headers' straight to stable
KEYWORDS="amd64 arm64"
fi
DESCRIPTION="The Advanced Media Framework (AMF) SDK"
@@ -8,7 +8,15 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF"
else
SRC_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64"
# ffmpeg with amf USE enabled
# - can only built with amf-headers installed.
# - can only use AMF ( the 'XXXX_amf' codecs) at runtime when 'amdgpu-pro-amf' is installed (the shared libs it installs are dlopen'ed by ffmpeg)
# - can only use the AMF features that it has explicit code for
#
# -> Runtime behavior entirely depends on closed source amdgpu-pro-amf binary that we have no control over
# -> we verbump 'amdgpu-pro-amf' and 'amf-headers' straight to stable
KEYWORDS="amd64 arm64"
fi
DESCRIPTION="The Advanced Media Framework (AMF) SDK"
@@ -13,9 +13,10 @@ else
# - can only built with amf-headers installed.
# - can only use AMF ( the 'XXXX_amf' codecs) at runtime when 'amdgpu-pro-amf' is installed (the shared libs it installs are dlopen'ed by ffmpeg)
# - can only use the AMF features that it has explicit code for
# Given that amdgpu-pro-amf is on top of that a proprietary binary
# -> we straight to stable when ver-bumping 'amdgpu-pro-amf' and `amf-headers'
KEYWORDS="amd64 ~arm64"
#
# -> Runtime behavior entirely depends on closed source amdgpu-pro-amf binary that we have no control over
# -> we verbump 'amdgpu-pro-amf' and 'amf-headers' straight to stable
KEYWORDS="amd64 arm64"
fi
DESCRIPTION="The Advanced Media Framework (AMF) SDK"