multimedia/handbrake: Fails to build against ffmpeg with DAV1D=off
PR: 244432 Submitted by: Yuichiro NAITO <naito.yuichiro@gmail.com> (maintainer) Reported by: Steve Peurifoy <ssw01@mathistry.net>
This commit is contained in:
parent
7dd4e4e27f
commit
a8b293c419
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528315
2 changed files with 12 additions and 0 deletions
|
@ -124,6 +124,8 @@ post-extract: .SILENT
|
|||
# for powerpc64.
|
||||
# picked from multimedia/ffmpeg/files/patch-libswscale_ppc_swscale__altivec.c
|
||||
${CP} ${FILESDIR}/P02-freebsd-ppc-libswscale.patch ${WRKSRC}/contrib/ffmpeg
|
||||
# fix pkgconfig directory name for meson build
|
||||
${CP} ${FILESDIR}/A01-src-meson-build.patch ${WRKSRC}/contrib/libdav1d
|
||||
|
||||
post-install-X11-on:
|
||||
${LN} -sf ghb ${STAGEDIR}${PREFIX}/bin/HandBrake
|
||||
|
|
10
multimedia/handbrake/files/A01-src-meson-build.patch
Normal file
10
multimedia/handbrake/files/A01-src-meson-build.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- dav1d-0.5.1/src/meson.build.orig 2019-10-26 04:38:21.000000000 +0900
|
||||
+++ dav1d-0.5.1/src/meson.build 2020-02-27 16:48:19.664008000 +0900
|
||||
@@ -288,6 +288,7 @@
|
||||
#
|
||||
pkg_mod = import('pkgconfig')
|
||||
pkg_mod.generate(libraries: libdav1d,
|
||||
+ install_dir: 'lib/pkgconfig',
|
||||
version: meson.project_version(),
|
||||
name: 'libdav1d',
|
||||
filebase: 'dav1d',
|
Loading…
Reference in a new issue