[Bug 282188] New port: multimedia/ffmpeg3 (legacy ffmpeg as a dependency for emulators/ppsspp)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 19 Oct 2024 01:01:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282188

            Bug ID: 282188
           Summary: New port: multimedia/ffmpeg3 (legacy ffmpeg as a
                    dependency for emulators/ppsspp)
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: kreinholz@gmail.com

Created attachment 254346
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254346&action=edit
Ports tree patch adding multimedia/ffmpeg3

This proposed legacy multimedia/ffmpeg3 port is intended solely for use as a
dependency for emulators/ppsspp.

As documented in numerous places by the PPSSPP devs, any version of ffmpeg over
3.0.2 starts to break the emulator/ppsspp package's normally excellent PSP game
compatibility:

https://github.com/hrydgard/ppsspp/issues/15308#issuecomment-1030655799
https://github.com/hrydgard/ppsspp/issues/17336
https://github.com/hrydgard/ppsspp/issues/6663
https://github.com/hrydgard/ppsspp/issues/15969
https://github.com/hrydgard/ppsspp/issues/15788
https://github.com/hrydgard/ppsspp/issues/11490#issuecomment-782735810
https://github.com/Homebrew/homebrew-core/issues/84737

With a few trivial hacks, it is quite simple to coax emulators/ppsspp into
building against this proposed new port of legacy ffmpeg3-3.0.2, the version
shipped with the Windows, Mac, and Linux ports of PPSSPP, which provides a
dramatic improvement in PSP game compatibility on FreeBSD.

Default port options were set in order to pare down the build to just the bare
minimum needed by emulators/ppsspp.

This is modeled after the multimedia/ffmpeg4 port, and installs files to
${LOCALBASE}/ffmpeg3/ so as not to conflict with either the multimedia/ffmpeg
or the multimedia/ffmpeg4 ports. As such, I make no guarantees that enabling
additional port options won't break the build.

-- 
You are receiving this mail because:
You are the assignee for the bug.