mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
x11-misc/xscreensaver: fix build with ffmpeg-8
Quick non-maintainer self-fix given will be looking at rekeywording ffmpeg-8 likely soon'ish. Unknown if been reported upstream given apparently(?) no public bug tracker, but probably good odds it'll be fixed next release nonetheless (note that the current fix requires >=ffmpeg-6.1 thus the RDEPEND bump, may possibly not be needed next release but not that needing >=6.1 is a problem in Gentoo). Very trivial fix so no real need for a revbump+re-stabilizing over. Closes: https://bugs.gentoo.org/963416 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
https://bugs.gentoo.org/963416
|
||||
--- a/hacks/ffmpeg-out.c
|
||||
+++ b/hacks/ffmpeg-out.c
|
||||
@@ -405,3 +405,3 @@
|
||||
ffst->video_ost.ctx->pix_fmt = pix_fmt;
|
||||
- ffst->video_ost.ctx->profile = FF_PROFILE_H264_HIGH;
|
||||
+ ffst->video_ost.ctx->profile = AV_PROFILE_H264_HIGH;
|
||||
|
||||
@@ -50,7 +50,7 @@ COMMON_DEPEND="
|
||||
elogind? ( sys-auth/elogind )
|
||||
gdk-pixbuf? ( >=x11-libs/gdk-pixbuf-2.42.0:2[jpeg?] )
|
||||
gtk? ( >=x11-libs/gtk+-3.0.0:3 )
|
||||
ffmpeg? ( media-video/ffmpeg:= )
|
||||
ffmpeg? ( >=media-video/ffmpeg-6.1:= )
|
||||
jpeg? ( media-libs/libjpeg-turbo:= )
|
||||
locking? ( virtual/libcrypt:= )
|
||||
new-login? (
|
||||
@@ -102,6 +102,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.07-allow-no-pam.patch
|
||||
"${FILESDIR}"/${PN}-6.07-fix-desktop-files.patch
|
||||
"${FILESDIR}"/${PN}-6.09-ffmpeg.patch
|
||||
"${FILESDIR}"/${PN}-6.12-ffmpeg8.patch
|
||||
)
|
||||
|
||||
DOCS=( README{,.hacking} )
|
||||
|
||||
Reference in New Issue
Block a user