Created attachment 588612 [details] Proposed ebuild Update to virglrenderer is available[0]. "lots of bug fixes", et cetera. Attaching proposed ebuild, which is based on 0.7.0. Seems like virglrenderer-0.6.0-libdrm.patch is already upstreamed, so I did not apply it to this version. 0.8.0 introduced "gbm_allocation" configure option, added that as IUSE. There is also "glx" and "egl" config options, not sure if they should be IUSE'd or defaulted to yes. glx and egl are available in 0.7.0 too. virgl 0.8.0 ============== prefix: /usr c compiler: x86_64-pc-linux-gnu-gcc win32: no glx: yes egl: yes gbm_allocation: yes debug: no tests: no fuzzer: no 0: https://lists.freedesktop.org/archives/virglrenderer-devel/2019-August/001718.html
Created attachment 589508 [details] virglrender-0.8.0.ebuild The tarball has a strange naming convention, setting ${S} was necessary Also added mesa as depend (media-libs/mesa[gbm?]")
According to the upstream commit below it seems that the configuration option "gbm_allocation" was never intended to be used with mesa. I will drop the USE flag. commit 1fcd27d021ccd9952922190950773c9e22a53a66 Author: Gurchetan Singh <gurchetansingh@chromium.org> Date: Wed Mar 25 17:02:34 2020 -0700 vrend: gbm_allocation --> minigbm allocation This is currently only used with minigbm, and largely untested elsewhere. This will also allow us to use flags which are not available in Mesa GBM. Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
( current version 0.8.2 that I am about to package cannot be compiled against mesa with gbm allocation enabled )
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73004619cc8ba46a7ee42b1496dbf0f064ccc87e commit 73004619cc8ba46a7ee42b1496dbf0f064ccc87e Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2020-04-19 20:01:23 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2020-04-19 20:44:35 +0000 media-libs/virglrenderer: version bump to 0.8.2 - contrary to the suggestion in https://bugs.gentoo.org/693246, do not add a USE=gbm flag. The current code cannot be compiled with mesa[gbm] and upstream restricted support for gbm allocation to minigbm in current master - port to meson build system - disable testsuite - - verified that the build system doesn't require python directly any more Closes: https://bugs.gentoo.org/693246 Closes: https://bugs.gentoo.org/716354 Closes: https://bugs.gentoo.org/631740 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthias Maier <tamiko@gentoo.org> media-libs/virglrenderer/Manifest | 1 + .../virglrenderer/virglrenderer-0.8.2.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+)