diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-03 14:01:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-03 14:01:21 +0100 |
commit | a11ba9ffa8140a9c55c950a6947bc472b489a10a (patch) | |
tree | 4f290d635d831599222130ba8ddbf1a726129426 /media-video/ffmpeg/ffmpeg-4.4.2.ebuild | |
parent | 0a65aa74175d9ac6570321fe11725dc30c574e08 (diff) |
gentoo auto-resync : 03:08:2022 - 14:01:21
Diffstat (limited to 'media-video/ffmpeg/ffmpeg-4.4.2.ebuild')
-rw-r--r-- | media-video/ffmpeg/ffmpeg-4.4.2.ebuild | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/media-video/ffmpeg/ffmpeg-4.4.2.ebuild b/media-video/ffmpeg/ffmpeg-4.4.2.ebuild index 1a4bbf4e4830..161cb301720b 100644 --- a/media-video/ffmpeg/ffmpeg-4.4.2.ebuild +++ b/media-video/ffmpeg/ffmpeg-4.4.2.ebuild @@ -343,6 +343,20 @@ build_separate_libffmpeg() { use opencl } +pkg_setup() { + # ffmpeg[chromaprint] depends on chromaprint, and chromaprint[tools] depends on ffmpeg. + # May cause breakage while updating, #862996, #625210, #833821. + if has_version media-libs/chromaprint[tools] && use chromaprint; then + ewarn "You have media-libs/chromaprint installed with 'tools' USE flag, which " + ewarn "links to ffmpeg, and you have enabled 'chromaprint' USE flag for ffmpeg, " + ewarn "which links to chromaprint. This may cause issues while rebuilding ffmpeg." + ewarn "" + ewarn "If your build fails to 'ERROR: chromaprint not found', rebuild chromaprint " + ewarn "without the 'tools' use flag first, then rebuild ffmpeg, and then finally enable " + ewarn "'tools' USE flag for chromaprint. See #862996." + fi +} + src_prepare() { if [[ "${PV%_p*}" != "${PV}" ]] ; then # Snapshot export revision=git-N-${FFMPEG_REVISION} |