media-libs/asahi-va-driver - 2.0 (asahi)

Search

Install

Install this version:

emerge -a =media-libs/asahi-va-driver-2.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-libs/asahi-va-driver-2.0

Or alternatively:

emerge --autounmask-write -a =media-libs/asahi-va-driver-2.0

Package Information

Description:
A VA-API (libva) backend driver for video decoders on Apple silicon systems
Homepage:
https://github.com/AsahiLinux/asahi-va-driver
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
2.0 8 ~arm64 0
View Raw Ebuild
# 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}
	!=sys-apps/asahi-configs-3
"
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
}

Inherited Eclasses

Dependencies

DEPEND

media-libs/libva

RDEPEND

media-libs/libva
	!=sys-apps/asahi-configs-3

Manifest for 2.0

Type File Size Source URLs
DIST asahi-va-driver-2.0.tar.gz 82923 bytes https://github.com/AsahiLinux/asahi-va-driver/archive/refs/tags/2.0/asahi-va-driver-2.0.tar.gz