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