Similar idea was submitted by Vindex17 in PR #318.
This includes static build and APIs from MacOS and Windows.
Package-Manager: portage-2.2.24
$(use_enable libmpv libmpv-shared)
--disable-libmpv-static
+ --disable-static-build
--disable-build-date # Create reproducible build
--disable-optimize # Do not add '-O2' to CFLAGS
--disable-debug-build # Do not add '-g' to CFLAGS
$(use_enable jack)
$(use_enable openal)
$(use_enable alsa)
+ --disable-coreaudio
+ --disable-dsound
+ --disable-wasapi
# Video outputs
+ --disable-cocoa
$(use_enable wayland)
$(use_enable X x11)
$(use_enable xscreensaver xss)