Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864893 - media-video/ffmpeg: bump to 5.1
Summary: media-video/ffmpeg: bump to 5.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: EBUILD, PullRequest
Depends on:
Blocks:
 
Reported: 2022-08-11 10:42 UTC by Jonas Rakebrandt
Modified: 2022-08-28 15:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for the Gentoo tree (ffmpeg-5.1.patch,23.60 KB, patch)
2022-08-11 10:43 UTC, Jonas Rakebrandt
Details | Diff
Plain ebuild for ffmpeg-5.1 (ffmpeg-5.1.ebuild,19.40 KB, text/plain)
2022-08-11 10:45 UTC, Jonas Rakebrandt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Rakebrandt 2022-08-11 10:42:20 UTC
ffmpeg 5.1 was released on 2022-07-22. I think Gentoo should also update to that version.

Reproducible: Always




I already made an updated ebuild for 5.1 and added/changed the following things:
add USE for jpegxl lcms libplacebo + their deps
bump deps where needed:
	>=media-libs/svt-av1-0.8.4 -> >=media-libs/svt-av1-0.9.0
	media-libs/libvmaf         -> >=media-libs/libvmaf-2.0.0
remove vmaf path patch -> I think it was deprecated upstream (now says `{"model_path", "use model='path=...'.", OFFSET(model_path), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, FLAGS|AV_OPT_FLAG_DEPRECATED},`)
remove ranlib backport patch -> seems to be upstreamed

I will attach a patch including all the changes to metadata.txt Manifest and also the ebuild itself.
Comment 1 Jonas Rakebrandt 2022-08-11 10:43:38 UTC
Created attachment 799287 [details, diff]
Patch for the Gentoo tree
Comment 2 Jonas Rakebrandt 2022-08-11 10:45:00 UTC
Created attachment 799289 [details]
Plain ebuild for ffmpeg-5.1
Comment 3 Craig Andrews gentoo-dev 2022-08-27 01:30:01 UTC
Thank you!

I've submitted a PR: https://github.com/gentoo/gentoo/pull/27025

I'll merge the PR relatively soon if there are no objections.
Comment 4 Larry the Git Cow gentoo-dev 2022-08-28 15:20:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a80ec15be2b80206a490f04e0ab8f98c001e3eeb

commit a80ec15be2b80206a490f04e0ab8f98c001e3eeb
Author:     Jonas Rakebrandt <xarblu@protonmail.com>
AuthorDate: 2022-08-27 01:25:02 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2022-08-28 15:19:51 +0000

    media-video/ffmpeg: 5.1 version bump
    
    Closes: https://bugs.gentoo.org/864893
    Signed-off-by: Craig Andrews <candrews@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/27025
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 media-video/ffmpeg/Manifest           |   2 +
 media-video/ffmpeg/ffmpeg-5.1.ebuild  | 606 ++++++++++++++++++++++++++++++++++
 media-video/ffmpeg/ffmpeg-9999.ebuild |  14 +-
 media-video/ffmpeg/metadata.xml       |   3 +
 4 files changed, 620 insertions(+), 5 deletions(-)