add untested venus support to media-libs/virglrenderer

This commit is contained in:
Marc
2025-06-28 08:47:07 +02:00
parent 22ee9ad60e
commit deb029d437
2 changed files with 48 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST virglrenderer-virglrenderer-1.1.1.tar.bz2 837534 BLAKE2B c1d00f69c8d3f44c56c87889190a85ef517f324a5446ae2f60d2b64bca00a3e34b65cd2705aae7fe8721185c89e6baaa250cfe4749d5673c29a127f491c4da90 SHA512 1f1483867574ce46fac7d2b562f71df5ee3d41493467adac2ac831605bc6946878c66f07492f1edda36d54896a814673dd314eaa63fb62f8f322da8122404712
@@ -0,0 +1,47 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://anongit.freedesktop.org/git/virglrenderer.git"
inherit git-r3
else
MY_P="${PN}-${P}"
SRC_URI="https://gitlab.freedesktop.org/virgl/${PN}/-/archive/${P}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
fi
DESCRIPTION="Library used implement a virtual 3D GPU used by qemu"
HOMEPAGE="https://virgil3d.github.io/"
LICENSE="MIT"
SLOT="0"
IUSE="static-libs test venus"
# Most of the testsuite cannot run in our sandboxed environment, just don't
# deal with it for now.
RESTRICT="!test? ( test ) test"
RDEPEND="
>=x11-libs/libdrm-2.4.121
media-libs/libepoxy
"
DEPEND="
${RDEPEND}
sys-kernel/linux-headers
"
src_configure() {
local emesonargs=(
# TODO: Wire up drm-renderers= (msm, amdgpu-experimental as of 1.1.1)
-Ddefault_library=$(usex static-libs both shared)
$(meson_use test tests)
$(meson_use venus)
)
meson_src_configure
}