The xpra ebuilds (current newest is xpra-2.1.1) don't seem to provide any way to build with --with-nvenc, which would be really nice to have.
There are some .pc files available on the xpra wiki at https://www.xpra.org/trac/wiki/Encodings/nvenc which xpra's build system needs. I hacked up a copy of the xpra-2.1.1 ebuild and it seems to build fine, even against media-video/nvidia-video-codec-8.0.14 which is much newer than what the wiki discusses. All I needed to do was adjust the include & lib paths in cuda.pc and nvenc5.pc to match my system. I stuck my files in /usr/share/pkgconfig just for testing, but there's surely a better/cleaner way to get the job done. (I'd post a suggested patch if my method was suitable for general consumption, but it's not)
Could the package maintainer(s) please take a look at making this work "properly"? TIA.
Thanks for your suggestion. I'd like to see upstream including this.
I need to fire up my nvidia machine to work on it. -- Give me some time.
Still relevant for 3.0.2