Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 593228 - media-video/vlc-9999 wrong ffmpeg version constraint
Summary: media-video/vlc-9999 wrong ffmpeg version constraint
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nick Andrade
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-08 19:07 UTC by Markus Rathgeb
Modified: 2016-10-21 10:05 UTC (History)
2 users (show)

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


Attachments
vlc-9999.ebuild (vlc-9999.ebuild,14.76 KB, text/plain)
2016-09-28 09:17 UTC, Nick Andrade
Details
vlc-9999.patch (vlc-9999.patch,4.65 KB, patch)
2016-09-28 09:29 UTC, Nick Andrade
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rathgeb 2016-09-08 19:07:17 UTC
The most recent (at time of writing) ffmpeg versions are:
* 2.8.6(0/54.56.56)^d
* (~)2.8.7(0/54.56.56)^d
* {M}(~)3.1.3(0/55.57.57)^d

The installed version has been 2.8.7 but the configure script of vlc-9999 complains about a too old version of libavcodec.

After that I unmasked ffmpeg and merged 3.1.3.
After that vlc-9999 could be configured, build, installed (merged).
Comment 1 Markus Rathgeb 2016-09-08 19:09:37 UTC
I need to add, that I have to disable the dependency check, because the vlc-9999 ebuild dependency check fails:
<media-video/ffmpeg-2.9:0=[vaapi] required by (media-video/vlc-9999:0/5-8::gentoo, ebuild scheduled for merge)
Comment 2 Nick Andrade 2016-09-27 15:25:41 UTC
Thanks for the heads up Markus; I'll be working on a new 9999 ebuild tonight to incorporate a few fixes including this.  Will try to get a proxy-maint to post it by tomorrow.  Sorry for the delay.
Comment 3 Markus Rathgeb 2016-09-27 15:37:35 UTC
Thank you Nick.
I can test your ebuild on my machine, too.
Comment 4 Nick Andrade 2016-09-27 18:36:00 UTC
Thanks Markus, I will post the udpated ebuild tonight (I'm on UTC-7:00).
Comment 5 Nick Andrade 2016-09-28 09:17:38 UTC
Created attachment 448200 [details]
vlc-9999.ebuild

If you have a chance, can you please test this updated live ebuild.  There's quite a few changes included in it.  It's building cleanly on my system with ffmpeg-3.1.3 and GCC-5.4, but I need to test a few more permutations (various GCC versions, QT versions, etc.) before I will ask to have it bumped.
Comment 6 Nick Andrade 2016-09-28 09:29:47 UTC
Created attachment 448202 [details, diff]
vlc-9999.patch

Here's a patch to the current ebuild (some Gentoo Devs prefer this to a full ebuild).  

Summary of changes:
1. Removing unneeded USE flags: macosx-quartztext & media-library
2. Updating RDEPEND: bluray, dvbpsi, gcrypt, gnutls, jack, postproc, qt5, vaapi, & zvbi
3. Updating DEPEND: gettext
4. Updating econf by removing: --disable-macosx-quartztext (unused), --disable-quicktime (no longer needed), & --enable-mkv (now auto detected)
5. Require -std=c++11 due to upstream change 

It's worth noting that vdpau does not support FFmpeg 3.x however VLC-9999 requires FFmpeg > 2.9 if you go the ffmpeg route.  Alternatively, you can use libav however I haven't been able to test that yet.
Comment 7 Markus Rathgeb 2016-09-29 18:04:15 UTC
Thank you. I disabled vdpau for vlc and merged it using ffmpeg as backend.
Comment 8 Amy Liffey gentoo-dev 2016-10-21 10:05:31 UTC
committer	Amy Winston <amynka@gentoo.org>	2016-10-21 09:59:36 (GMT)
commit	5e60b88b5461bba828e0741d59e48ef7761f0ce2 

media-video/vlc: fix bug #593228 by Nick Andrade
1. Removing unneeded USE flags: macosx-quartztext & media-library
2. Updating RDEPEND: bluray, dvbpsi, gcrypt, gnutls, jack, postproc, qt5, vaapi, & zvbi
3. Updating DEPEND: gettext
4. Updating econf by removing: --disable-macosx-quartztext (unused), --disable-quicktime (no longer needed), & --enable-mkv (now auto detected)
5. Require -std=c++11 due to upstream change

Thank you very much guys !