It's seems that ffmpeg need that imlib2 ebuild be compiled with the X flag to got the imlib2 vhook support. I've tried on several servers with no X installed and got the same issue. I have just add the X flag on the imlib2 ebuild to got the imlib2 support working in ffmpeg. So maybe the X flag requierement on imlib2 ebuild must be add when the imlib flag is set on ffmpeg. Reproducible: Always
what issue? at least here it built fine with imlib2 with use=-X
I stumbled across the same issue compiling ffmpeg for a server with no X installed. If you edit the Makefile and add -DX_DISPLAY_MISSING=1 to VHOOKCFLAGS-$(HAVE_IMLIB2) and set HAVE_IMLIB2 to 1 in config.h, then the imlib2 vhook will compile. I'm not sure what changes are required to the configure script etc to make this happen automatically.
I've noticed the same issue between w3m and imlib2. Trying to view images on the framebuffer in w3m. w3m +X +imlib2 and imlib2 -X compiles without complaining about the flags and deps, but then fails and complain about missing functions (XCreatePixmap etc.. i can add a emerge.log tonight if necessary) w3m +X +imlib2 and imlib2 +X compiles correctly and allows to view images in w3m. Shouldn't the dependency of w3m be changed from imlib2 to imlib2[X]?