media-plugins/gst-plugins-libav: add ffmpeg-4 compatibility patches, other tweaks
authorMart Raudsepp <leio@gentoo.org>
Sun, 25 Nov 2018 23:13:44 +0000 (01:13 +0200)
committerMart Raudsepp <leio@gentoo.org>
Sun, 25 Nov 2018 23:23:13 +0000 (01:23 +0200)
commitcb222dd95881897798eb4d0e9f6de1b8625dddb2
treedf25c0e8739ae5b30cf77ff0bfec2f4e8f1c1224
parent485e93f60c089f055aafdbd545406534ccf5fe4a
media-plugins/gst-plugins-libav: add ffmpeg-4 compatibility patches, other tweaks

* Pull a selective patchset from git master, that brings in ffmpeg-4
  compatibility and some bug fixes; patchset tarball README has further details.
* Add a debian-inspired patch to tell gstreamer registry that the libav plugin
  supported features may change, when the system ffmpeg library files change.
  This should hopefully ensure that gstreamer sees new codecs immediately after
  system-ffmpeg is recompiled to add them. Compared to Debian, we conditionalize
  it based on USE=libav, so it's only actually done if system-ffmpeg is used, as
  for us it's a choice, not always system-ffmpeg; this is achieved via #ifndef,
  thus no conditional patching.
* Make bundled ffmpeg builds verbose for better build.log
* Try harder to honor user choices for bundled ffmpeg builds with USE=libav by
  always disabling debug and passing CFLAGS as optflags; courtesy of
  Arfrever Frehtes Taifersar Arahesis

Closes: https://bugs.gentoo.org/654628
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11
media-plugins/gst-plugins-libav/Manifest
media-plugins/gst-plugins-libav/files/external-ffmpeg4-dep.patch [new file with mode: 0644]
media-plugins/gst-plugins-libav/gst-plugins-libav-1.14.4.4.1_p20181115.ebuild [new file with mode: 0644]