Install this version:
emerge -a =media-libs/asahi-va-driver-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-libs/asahi-va-driver-9999
Or alternatively:
emerge --autounmask-write -a =media-libs/asahi-va-driver-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | ~arm64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="A VA-API (libva) backend driver for video decoders on Apple silicon systems"
HOMEPAGE="https://github.com/AsahiLinux/asahi-va-driver"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/AsahiLinux/${PN}.git"
inherit git-r3
else
SRC_URI="https://github.com/AsahiLinux/${PN}/archive/refs/tags/${PV}/${PN}-${PV}.tar.gz"
KEYWORDS="~arm64"
fi
S="${WORKDIR}/${PN}-${PV}"
LICENSE="GPL-3"
SLOT="0"
DEPEND="media-libs/libva"
RDEPEND="${DEPEND}"
BDEPEND=""
src_unpack() {
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
else
unpack ${P}.tar.gz
fi
}
pkg_postinst() {
einfo "Hardware decoding in firefox will only work if the following is set:"
einfo " export MOZ_DISABLE_RDD_SANDBOX=1"
einfo "Note that disabling the RDD sandbox trades away some of the protection"
einfo "Firefox normally applies to media decoding."
einfo
}