mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
media-libs/libaom: fix hardcoded vmaf model path
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44229 Closes: https://github.com/gentoo/gentoo/pull/44229 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
728b130421
commit
21b3b27891
@ -52,6 +52,14 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.8.1-tests-parallel.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fix hardcoded path
|
||||
# libvmaf ERROR could not read model from path: "/usr/local/share/model/vmaf_v0.6.1.json"
|
||||
sed -e "s#/usr/local/share/model/#${EPREFIX}/usr/share/vmaf/model/#g" -i README.md av1/av1_cx_iface.c || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Follow upstream recommendations in README (bug #921438) and avoid
|
||||
# asserts during common use (bug #914614).
|
||||
|
||||
@ -52,6 +52,14 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.8.1-tests-parallel.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fix hardcoded path
|
||||
# libvmaf ERROR could not read model from path: "/usr/local/share/model/vmaf_v0.6.1.json"
|
||||
sed -e "s#/usr/local/share/model/#${EPREFIX}/usr/share/vmaf/model/#g" -i README.md av1/av1_cx_iface.c || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Follow upstream recommendations in README (bug #921438) and avoid
|
||||
# asserts during common use (bug #914614).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user