In order to get vlc 0.7.1 linking properly with ffmpeg I needed to use a newer snapshot of ffmpeg. This version of ffmpeg is the one linked from vlc's site to download in order to build vlc 0.7.1. Notice that it downloads the snapshot from vlc's site. In addition I changed the license to LGPL since this is what is noted in the README and COPYING document. Interestingly, they note that enabling a52 or libpostproc makes it GPL. It seems better to me to specify LGPL since this is in the COPYING document. Also, I yanked a patch that has already gone upstream. I also removed --enablea52bin since this breaks the build. Other somewhat related bugs: 27051, 35814, 39773, 43639, 43640 and 37639 (where I will submit the ebuild for 0.7.1) Reproducible: Always Steps to Reproduce:
Created attachment 26794 [details] ebuild for media-video/ffmpeg-0.4.8.20040222.ebuild
Created attachment 26855 [details] Update to install libpostproc library Updated ffmpeg ebuild to install the libpostproc library. Originally I had this split into a seperate ebuild (43639), but after discussion on gentoo-dev I'm proposing this combined approach.
*** Bug 43639 has been marked as a duplicate of this bug. ***
Note that there's a slight bug in your ebuild... you put in a condition to prevent building if "<=media-video/mplayer-1.0_pre3-r1" is present. Don't you mean "<" instead of "<=" ? This currently excludes even the 'fixed' ebuild for mplayer. Also, don't mean to be a nitpicker, but since portage provides a functionality for this, wouldn't it be possible to do it in the DEPEND section (adding " !<media-video/mplayer-1.0_pre3-r1" to DEPEND so that earlier versions of mplayer block this ebuild). As far as I know, this wouldn't create a dependency on mplayer, it would just make ffmpeg be blocked by earlier versions of mplayer, which is what you are doing in your pkg_setup section.
Created attachment 26900 [details] New ebuild: Fix mplayer "undependency" bug Thanks for the fast catch Francois. I think I had the pkg_setup check correct when I was using a libpostproc seperate ebuild, and just copied wrong. But the dependency suggestion is much better. Here is an updated ebuild with your suggestion incorporated.
I have submitted this to the tree. I'm taking ownership of this bug since I created and submitted it. Adding azarah and media-video to CC:
there is a problem: seems that the ebuild fails to build on ppc, I'm investigating why that happens, in the mean time the vlc and the ffmpeg ebuilds are -ppc
Renamed bug to reflect ongoing ppc work. Assigned to media-video since I don't have ppc.
closing with ffmpeg-0.4.8.20040322.ebuild