Is there a way to supply additional CPU_FLAGS to applications which can not use the binpkg provided without causing all binpkg to become compile only?
For example ffmpeg, due to some additional non standard use flags has to be compiled rather than installed from the binpkg:
Code: Select all
[ebuild R ] media-video/ffmpeg-6.1.2:0/58.60.60::gentoo USE="X alsa bzip2 dav1d encode gnutls gpl iconv lcms mp3 network nvenc opengl opus pic postproc sdl svg threads truetype vaapi* vdpau* vorbis vulkan x264 xvid zlib -amf -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection (-cuda) -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -glslang -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpeg2k -jpegxl -kvazaar -ladspa -libaom -libaribb24 -libass -libcaca -libdrm -libilbc -libplacebo -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -modplug -openal -opencl -openh264 -openssl -oss -pulseaudio (-qsv) -rav1e -rubberband -samba -shaderc -snappy -sndio -soc -speex -srt -ssh -static-libs -svt-av1 -test -theora -twolame -v4l -verify-sig -vidstab (-vmaf) -vpx -webp -x265 -zeromq -zimg -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="mmx mmxext sse sse2 -3dnow -3dnowext -aes -avx -avx2 -fma3 -fma4 -sse3 -sse4_1 -sse4_2 -ssse3 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" 0 KiB
Maybe like a COMPILE_ONLY_CPU_FLAGS_X86 haha.
If something like this is not possible, how can I find all packages that are "compiled" and have support for CPU_FLAGS_X86 so I can attempt to add them to their proper package.use files as easily as possible.
I basically want to easiest way to enable the extra CPU features for packages that can use them without causing binpkg to skip packages due to non-standard useflags.
Thanks
