pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ffmpeg3 "x11" option vs "vaapi", "vdpau" options



On Tue, Sep 25, 2018 at 08:24:56AM -0500, John D. Baker wrote:
> Back in ffmpeg3/options.mk r1.7, an "x11" option was added and the
> "vaapi" and "vdpau" options made conditional on the "x11" option.
> 
> I have one machine on which I do not install any X11 (neither native
> nor pkgsrc/modular Xorg).  In my "/etc/mk.conf" I define:
> 
> PKG_DEFAULT_OPTIONS+= -x11
> 
> but ffmpeg3 still enables "vaapi" and "vdpau" unless I explicitly
> disable them with:
> 
> PKG_OPTIONS.ffmpeg3+=-vaapi -vdpau
> 
> Even using:
> 
> PKG_OPTIONS.ffmpeg3+=-x11
> 
> doesn't disable "vaapi" or "vdpau".  I must still explicitly disable
> these options to build on an X-less system.
> 
> Has anyone gotten "-x11" to turn off "vaapi" and "vdpau" for ffmpeg3
> on a machine w/o any X11?

The options are still listed as enabled, but when the x11 option is
turned off, the --enable flags should not be passed to configure, so
they should be effectively disabled (is my reading of options.mk).
 Thomas


Home | Main Index | Thread Index | Old Index