Package-Scoped USE Flags (use.local.desc / metadata.xml)

Flag Representative Description Distinct Packages Repo Instances
10bit Add support for building 10-bit and 12-bit AV1. 1 1
8bit Add support for decoding 8-bit AV1. 1 1
X Enable ximagesink and xvimagesink plugins; build GLX platform support if USE=opengl is enabled; build x11 windowing system support if USE=egl is enabled 15 15
aom Enable support for the AOM codec encoding and decoding 2 2
apps Build the standalone denoise, self test, and benchmark binaries. 1 1
apulse Support for PulseAudio emulation for ALSA 1 1
atlas Use <pkg>sci-libs/atlas</pkg> for blas, lapack and sparse blas routines 1 1
audiocom Enable integrated uploading to audio.com 1 1
benchmark Build a benchmark binary, install it as re2-bench 1 1
blksha1 Use the new optimized SHA1 implementation 1 1
broadway Enable the GDK Broadway backend. 1 1
bzip2 Enable bzip2 encoder/decoder plugin 3 3
cairo Enable the Cairo back-end of hwloc's lstopo command 1 1
cblas Build with CBLAS <pkg>virtual/cblas</pkg> 1 1
cblas-external Link gsl with external cblas provided by (<pkg>virtual/cblas</pkg>) instead of shipped internal version 1 1
cdr Enable support for CorelDRAW files via <pkg>media-libs/libcdr</pkg> 1 1
cgi Install gitweb too 1 1
cloudproviders Enable GtkPlacesSidebar to access cloud services 1 1
colord Use <pkg>x11-misc/colord</pkg> for color management in printing 1 1
contrib Install user contributed scripts from opencv_contrib (Experimental!) 1 1
contribcvv Enable CVV in contrib (requires Qt5) 1 1
contribdnn Enable DNN module contrib (requires tinydnn) 1 1
contribfreetype Enable Drawing UTF-8 strings with <pkg>media-libs/freetype</pkg>&amp;<pkg>media-libs/harfbuzz</pkg> 1 1
contribhdf Enable HDF module (requires <pkg>sci-libs/hdf5</pkg>) 1 1
contribovis Enable OGRE vision module support (<pkg>dev-games/ogre</pkg>) 1 1
contribsfm Enable SFM module (requires USE="eigen gflags glog") 1 1
contribxfeatures2d Enable xfeatures2d in contrib 1 1
corefonts Use <pkg>media-fonts/corefonts</pkg> which is required by some commands 1 1
cpuid Enable the cpuid-based architecture specific support (x86 component) 1 1
cuda Enable NVIDIA Cuda computations support (Experimental!) 6 6
cudnn Enable support for nVidia cuDNN library 1 1
curl Support fetching and pushing (requires webdav too) over http:// and https:// protocols 1 1
d3d9 Enable Direct 3D9 API through Nine state tracker. Can be used together with patched wine. 1 1
dav1d Enable support for the dav1d codec decoding 1 1
debugger Install the CUDA debugger 1 1
deprecated Enable deprecated functions 1 1
designer Install the QWebEngineView plugin used to add widgets in <pkg>dev-qt/designer</pkg> forms that display web pages. 1 1
dia Enable DIA flow chart import via <pkg>app-office/dia</pkg> 1 1
dicom Enable DICOM medical image file support via <pkg>sci-libs/dcmtk</pkg> 1 1
dnnsamples Enable dnn caffeemodel samples 1 1
doctool Install g-ir-doc-tool for generating documentation from introspected data 1 1
double-precision Compile in double precision mode. 1 1
drm Enable DRM backend support 1 1
eigen Enable usage of <pkg>dev-cpp/eigen</pkg> for computations 1 1
enchant Use the <pkg>app-text/enchant</pkg> spell-checking backend instead of <pkg>app-text/hunspell</pkg> 1 1
examples Install source code examples 11 11
extended Enable SASS/SCSS and WebP encoding support 1 1
extras Build extra apps (avifenc, avifdec) and test files 1 1
fcitx4 Enable support for <pkg>app-i18n/fcitx</pkg> 4 1 1
features2d Enable features2d module 1 1
fits Enable support for NASA's <pkg>sci-libs/cfitsio</pkg> library 1 1
fluidsynth Enables Fluidsynth MIDI software synthesis plugin. 1 1
fonts Enable fonts support for appstream-builder. 2 2
fpx Enable <pkg>media-libs/libfpx</pkg> support 1 1
gbm Enable Graphics Buffer Manager based EGL windowing system support (requires egl and at least one of gles or opengl) 1 1
gdal Enable support for <pkg>sci-libs/gdal</pkg> library 1 1
gdk-pixbuf Support image types other than PNG 3 3
gflags Use Google's C++ argument parsing library (<pkg>dev-cpp/gflags</pkg>) 1 1
gles1 include OpenGL ES 1.0 support 2 2
gles2 Enable GLES2 support 4 4
glog Use Google's C++ logging library (<pkg>dev-cpp/glog</pkg>) 1 1
gnutls Use gnutls library for HTTPS support (openssl is the default library for HTTPS support). 1 1
go Enable building <pkg>dev-lang/go</pkg> code/examples 1 1
gpg Pull in gnupg for signing -- without gnupg, attempts at signing will fail at runtime! 1 1
gtk3 Enable <pkg>x11-libs/gtk+</pkg>:3 support 1 1
gui Build iv 3 3
gzip Support the gzip format 1 1
haptic Enable the haptic (force feedback) subsystem 1 1
hdri Enable High Dynamic Range Images formats 1 1
highlight GitWeb support for <pkg>app-text/highlight</pkg> 1 1
hip Build OIDN with AMD HIP support. 2 2
ibus Enable support for <pkg>app-i18n/ibus</pkg> 1 1
id3tag Enable ID3 tagging via <pkg>media-libs/libid3tag</pkg> 1 1
inkjar Enable support for OpenOffice.org SVG jar files 1 1
ivorbis Enable integer based vorbis decoder 1 1
jasper Use <pkg>media-libs/jasper</pkg> for jpeg2k support 1 1
joystick Control joystick support (disable at your own risk) 1 1
jumbo-build Combine source files to speed up build process. 1 1
kms Build the KMSDRM video driver 1 1
l0 Enable oneAPI Level Zero device discovery 1 1
large-stack Enables code to take advantage of large stack support 2 2
libdispatch Use <pkg>dev-libs/libdispatch</pkg> to speed up concurrent code execution 1 1
libgig Enables GIG player plugin. 1 1
libretro Build libretro port 1 1
libvirt Build plugin for kvm 1 1
libyuv Enable fast YUV conversion via libyuv 1 1
llvm Build with LLVM backend and extensions enabled. 2 2
lm-sensors Enable Gallium HUD lm-sensors support. 1 1
lqr Enable experimental liquid rescale support using <pkg>media-libs/liblqr</pkg> 1 1
lv2 Add support for Ladspa V2 1 1
mediawiki Support pulling and pushing from MediaWiki 1 1
mkl Use <pkg>sci-libs/mkl</pkg> for blas, lapack and sparse blas routines 2 2
mpg123 Use <pkg>media-sound/mpg123-base</pkg> instead of <pkg>media-libs/libmad</pkg> for MPEG decoding 1 1
munge Enable authentication via munge 1 1
netplay Enable playing ROMs over the network (not recommended) 1 1
non-free Enable non-free components 1 1
notmuch Enable support for <pkg>net-mail/notmuch</pkg> 1 1
nsight Install profiling and optimizing tools (nsight-compute, nsight-systems) 1 1
nvml Enable the NVML device discovery 1 1
opencl Enable the Rusticl Gallium OpenCL state tracker. 3 3
opencv Enable OpenCV support via <pkg>media-libs/opencv</pkg> 1 1
opencvapps Enable compilation with opencvapps 1 1
opengl Enable OpenGL library and plugin via desktop OpenGL API 5 5
openimageio Enable OpenImageIO Support 1 1
openntpd Allow ntp to be installed alongside openntpd 1 1
openvdb Enable OpenVDB support via <pkg>media-gfx/openvdb</pkg> 2 2
orc Disable some PaX memory protections to allow plugins that use <pkg>dev-lang/orc</pkg> for runtime optimization to be used on hardened PaX systems 3 3
osmesa Build the Mesa library for off-screen rendering. 1 1
pango Enable Pango support using <pkg>x11-libs/pango</pkg> 2 2
parse-clocks Add support for PARSE clocks 1 1
pci Enable PCI device discovery using libpci 1 1
pdfium Build the QtPdf module based on chromium's PDFium library 1 1
perforce Add support for Perforce version control system (requires manual installation of Perforce client) 1 1
pipewire Enable support for the <pkg>media-video/pipewire</pkg> audio backend 1 1
plugins Enables examples plugins. 1 1
pmi Build PMI1 and PMI2 interface 1 1
portmixer Enable the internal portmixer feature 1 1
profiler Install the NVIDIA CUDA profiler (nvprof) and the related libraries 1 1
proprietary-codecs Enable codecs for patent-encumbered audio and video formats. 1 1
ptex Enable Ptex texture mapping system file support via <pkg>media-libs/ptex</pkg> 1 1
pulseaudio Enable support for audio capture via PulseAudio 7 7
python Enable support for Python API bindings 6 6
q32 Set quantum depth value to 32 1 1
q8 Set quantum depth value to 8 1 1
qml Build QML/QtQuick bindings and imports 1 1
quirc Enable qrcode decoding via <pkg>media-libs/quirc</pkg> 1 1
rav1e Enable support for the rav1e codec encoding 2 2
rdma Enable infiniband support via <pkg>sys-cluster/rdma-core</pkg> 1 1
rocm Enable AMD RSMI device discovery 1 1
rrsync Install rrsync script to setup restricted rsync users via ssh logins 1 1
safe-directory Respect the safe.directory setting 1 1
samba Provide support for Samba's signing daemon (needed for Active Directory domain controllers) 1 1
sanitizer Install compute-sanitizer tool 1 1
sbsms Enable slower, more accurate pitch and tempo changing via <pkg>media-libs/libsbsms</pkg> 1 1
sndio Enable support for the <pkg>media-sound/sndio</pkg> backend 1 1
sound Control audio support (disable at your own risk) 1 1
soundio Enables libsoundio support. 1 1
sourceview Enable syntax highlighting support via <pkg>x11-libs/gtksourceview</pkg> 1 1
ssl Enable HTTPS support. 3 3
stk Enables STK Mallet plugin. 1 1
stunnel Provide helper scripts for using rsync via &gt;=<pkg>net-misc/stunnel</pkg>-4 1 1
subversion Include git-svn for <pkg>dev-vcs/subversion</pkg> support 1 1
svg2 Enable support for new SVG2 features 1 1
svt-av1 Enable support for the SVT-AV1 encoder 1 1
sysprof Enable profiling data capture support using <pkg>dev-util/sysprof-capture</pkg> 2 2
system-icu Use the system-wide <pkg>dev-libs/icu</pkg> instead of bundled. 1 1
system-re2 Use the system-wide <pkg>dev-libs/re2</pkg> instead of bundled. 1 1
system-zlib Use system zlib instead of bundled one. This is incompatible with older rsync releases! 1 1
tbb Enable multithreading with the Intel Threads Building Block (<pkg>dev-cpp/tbb</pkg>) 2 2
tesseract Use Google's OCR Engine 1 1
test Build the test programs (requires <pkg>sys-libs/zlib</pkg>) 36 36
test-full Run additional, quite slow tests 1 1
testprograms Build and install programs for testing OpenCV (performance) 1 1
tk Include the 'gitk' and 'git gui' tools 1 1
tools Build svg viewer tool 3 3
twolame Enable twolame support (MPEG Audio Layer 2 encoder) via <pkg>media-sound/twolame</pkg> 1 1
unwind Enable <pkg>sys-libs/libunwind</pkg> usage for better backtrace support in leaks tracer module 2 2
utils Build the libdeflate-gzip program 2 2
vamp Enable vamp plugins support (Audio analysing plugins) 1 1
vdpau Enable the VDPAU acceleration interface for the Gallium3D Video Layer. 1 1
video Allow access to GPU during tests run 2 2
video_cards_intel Enable Video Acceleration API for hardware decoding for Intel cards 2 2
vis-profiler Install the NVIDIA CUDA visual profiler (nvvp) 1 1
visio Enable support for Microsoft Visio diagrams via <pkg>media-libs/libvisio</pkg> 1 1
vst Enables the VeSTige plugin to run VST plugins through Wine. 1 1
vtk Build new 3D visualization module viz based on <pkg>sci-libs/vtk</pkg> 1 1
vulkan-overlay Build vulkan-overlay-layer which displays Frames Per Second and other statistics 1 1
wayland Enable Wayland EGL windowing system support (requires egl and at least one of gles2 or opengl) 10 10
webdav Adds support for push'ing to HTTP/HTTPS repositories via DAV 1 1
webdriver Build tool for automated testing (ChromeDriver equivalent) 1 1
webrtc Enable WebRTC audio/video network bin plugin 1 1
webui Install qBittorrent Web UI (qbittorrent-nox) and systemd/OpenRC service 1 1
widgets Enable QtWidgets support 1 1
wpg Enable support for WordPerfect graphics via <pkg>app-text/libwpg</pkg> 1 1
x265 Use <pkg> media-libs/x265</pkg> for HEIF encoding 1 1
xa Enable the XA (X Acceleration) API for Gallium3D. 1 1
xml use libxml2 for XML support, instead of a custom minimalistic support 2 2
xxhash Enable <pkg>dev-libs/xxhash</pkg> support for hashing muxer 2 2
zink Enable the Zink OpenGL-over-Vulkan Gallium driver 1 1
zlib Support the zlib format 3 3

Undocumented / Declared-Only Flags (IUSE / REQUIRED_USE)

Flag Distinct Packages Repo Instances
${CPU_FEATURES[*]%:*} 1 1
${GL_REQUIRED_USE} 1 1
${PYTHON_REQUIRED_USE} 2 2
( 1 1
abi_x86_64 1 1
acl 1 1
alembic 1 1
alsa 6 6
amd64 2 2
aqua 2 2
asm 1 1
avif 1 1
big-endian 1 1
bindist 1 1
blas 1 1
brotli 1 1
bullet 1 1
caps 2 2
cjk 1 1
collada 1 1
color-management 1 1
cpu_flags_arm_crc32 1 1
cpu_flags_arm_neon 2 2
cpu_flags_ppc_altivec 1 1
cpu_flags_ppc_vsx 1 1
cpu_flags_x86_3dnow 1 1
cpu_flags_x86_avx 4 4
cpu_flags_x86_avx2 2 2
cpu_flags_x86_f16c 2 2
cpu_flags_x86_mmx 2 2
cpu_flags_x86_sse 3 3
cpu_flags_x86_sse2 5 5
cpu_flags_x86_sse3 2 2
cpu_flags_x86_sse4_1 2 2
cpu_flags_x86_sse4_2 1 1
cpu_flags_x86_ssse3 1 1
cups 1 1
custom-cflags 2 2
cvs 1 1
cxx 1 1
cycles 1 1
cycles-bin-kernels 1 1
dbus 3 3
debug 11 11
djvu 1 1
doc 16 16
egl 1 1
emacs 1 1
embree 1 1
exif 1 1
experimental 1 1
ffmpeg 5 5
fftw 3 3
flac 1 1
fltk 1 1
fluid 1 1
fontconfig 1 1
geolocation 1 1
gif 3 3
git 1 1
gmp 1 1
gnome 1 1
gphoto2 1 1
graphicsmagick 1 1
graphviz 1 1
gstreamer 2 2
gtk-doc 4 4
hardened 2 2
heif 1 1
iconv 2 2
icu 1 1
idn 1 1
ieee1394 1 1
imagemagick 1 1
introspection 9 9
jack 4 4
java 1 1
jbig 1 1
jemalloc 1 1
jpeg 6 6
jpeg2k 4 4
jpegxl 1 1
kerberos 1 1
keyring 1 1
ladspa 1 1
lapack 2 2
lcms 1 1
ldap 1 1
libsamplerate 2 2
lz4 1 1
lzma 1 1
man 3 3
mp3 1 1
nanovdb 1 1
nas 1 1
ncurses 1 1
ndof 1 1
nls 4 4
ogg 3 3
oidn 1 1
openal 1 1
openexr 3 3
openmp 4 4
openpgl 1 1
opensubdiv 1 1
optix 1 1
opus 1 1
osl 1 1
oss 2 2
pcre 1 1
pdf 1 1
perl 2 2
png 3 3
portaudio 2 2
postscript 2 2
potrace 1 1
pugixml 1 1
qt5 1 1
qt6 3 3
raw 2 2
readline 2 2
renderdoc 1 1
screencast 2 2
sdl 2 2
selinux 5 5
sndfile 2 2
snmp 1 1
spell 1 1
split-usr 1 1
sqlite 1 1
static-libs 6 6
svg 2 2
systemd 1 1
theora 1 1
threads 4 4
tiff 5 5
truetype 3 3
udev 4 4
v4l 1 1
vaapi 3 3
vala 2 2
valgrind 3 3
video_cards_ 1 1
video_cards_lavapipe 1 1
video_cards_nouveau 1 1
video_cards_nvidia 1 1
video_cards_r300 1 1
video_cards_r600 1 1
video_cards_radeon 1 1
video_cards_radeonsi 1 1
video_cards_vmware 1 1
vim-syntax 1 1
vnc 1 1
vorbis 2 2
vulkan 4 4
wavpack 1 1
webkit 1 1
webp 3 3
wmf 1 1
x86 1 1
xattr 1 1
xine 1 1
xinerama 1 1
xinetd 1 1
xscreensaver 1 1
xv 1 1
zeroconf 1 1
zip 1 1
zstd 2 2