jami-overlay icon indicating copy to clipboard operation
jami-overlay copied to clipboard

net-voip/ring-daemon: HW acceleration build options (VDPAU, VAAPI) removed in upstream

Open steils opened this issue 6 years ago • 1 comments

Since commit 2cc09ccc (https://gerrit-ring.savoirfairelinux.com/8043) --disable-vdpau and --disable-vaapi are removed from ring-daemon, leaving only --disable-accel. net-void/ring-daemon doesn't build without USE flag 'vdpau' because of that.

I see two possible approaches: a) Remove 'vdpau' and 'vaapi' from IUSE, add x11-libs/libvdpau to dependencies when 'hwaccel' is enabled. But that would force to install libvdpau even with global USE="-vdpau" (bad). b) Add a patch returning the flags --disable-vdpau and --disable-vaapi to configure.ac in ring-daemon. That would make vdpau and vaapi USE flags meaningful again. But it has purpose only in Gentoo, and probably such a patch will require some maintenance here (not in upstream), and I don't know how much work is that. For now I can just say that ring-daemon successfully configures and builds without libvdpau on my system if I return --disable-vdpau build option.

See also: https://tuleap.ring.cx/plugins/tracker/?aid=1883 (probably will be declined as notabug/wontfix but anyway) https://tuleap.ring.cx/plugins/tracker/?aid=1884

steils avatar May 28 '18 16:05 steils

Thanks for the references. I would opt for solution a) as this would follow upstream. The patch looks minimal but if they don't have the man power to support the option... Anyway if you like to create a patch we can add it and we'll see how it behaves in the future.

stefan-langenmaier avatar May 28 '18 17:05 stefan-langenmaier