Attached ebuild extends vlc-1.1.0_pre2 to support a 'vdpau' use flag. The use flag enables the "libva" configure option (and pulls in further requires dependencies, of course). Reproducible: Always
Created attachment 229257 [details] Proposed ebuild
Please attach unified diffs (diff -u) when you did changes to an ebuild. That would be much more handy for our devs.
Created attachment 229261 [details, diff] Diff to vlc-1.1.0_pre2 ebuild for VDPAU additions
(In reply to comment #2) > Please attach unified diffs (diff -u) when you did changes to an ebuild. That > would be much more handy for our devs. Sure, here you go.
Something else I just want to note: the use flag is called "vdpau", mostly because ffmpeg uses that same flag. If you wanted to be accurate, the flag would have to be "vaapi"(or "libva") - since that is what VLC actually uses. (In general, "vdpau" and "vaapi" are sort of independent - libva doesn't require vdpau; conversely, an application may use vdpau directly and not through vaapi.)
please attach diffs to 1.1.9999 and -9999; pre2 will never be unmasked and i'll use 1.1.9999 for future releases. i'd prefer the useflag named libva; i don't think it's dependant on vdpau and vlc seems to only need libva and libva-x11 the configure script will die if --disable-avcodec and --enable-libva is given, you should use vlc_use_force and { vlc_use_enable_force at the end of the econf line } this means you'll need to add the ffmpeg dep under the libva/vdpau useflag rather than duplicating it under the ffmpeg useflag
Created attachment 231235 [details] Patch for libva support, against vlc-1.1.9999 ebuild Worked in suggestions. Note, the patch against vlc-9999.ebuild is exactly the same, so I won't attach that as well :p
Created attachment 231237 [details, diff] Patch for libva support, against vlc-1.1.9999 ebuild Same file, but properly marked as patch.
patch applied, thanks; the useflag is named vaapi in the end; to match ffmpeg