From 133db48d54b5109d352720043b6188da947840c0 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sat, 17 Jun 2023 21:26:58 -0500 Subject: media-libs/virglrenderer: add 0.10.4 Signed-off-by: Matthias Maier --- media-libs/virglrenderer/Manifest | 1 + .../virglrenderer/virglrenderer-0.10.4.ebuild | 47 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 media-libs/virglrenderer/virglrenderer-0.10.4.ebuild (limited to 'media-libs/virglrenderer') diff --git a/media-libs/virglrenderer/Manifest b/media-libs/virglrenderer/Manifest index ea46ffad6a6f..f2fd4dcfdc2e 100644 --- a/media-libs/virglrenderer/Manifest +++ b/media-libs/virglrenderer/Manifest @@ -1 +1,2 @@ DIST virglrenderer-0.10.1.tar.gz 3814616 BLAKE2B f292bf49f772624d8bbc2dc48faa5c5cc3e2eeb46aef3e04abb7141743b763055e944beb6f119e1a99396d5b607510c1be7f9de0a319e63cf52d31d30216d273 SHA512 d832a1c19f7776fffcdabd848d8e3d43125613e3d4590704a98e63274d12573f0ab4501182076c28e026495e3690e79940695216da13eeabdddbe0e542eb077a +DIST virglrenderer-0.10.4.tar.gz 3833794 BLAKE2B 45420e5085866a5e38543129cff0361672595274b6dd94fd4a172ae78536ad13b5e0e8bcebd21f2ca1ac2b82e3cd0cd2217e6bdc67f22fe88969bb9544b51864 SHA512 dd545b4dd1ec504f8fc1209a933fef63ffdb08298c0cf274f0f314525b0bf03233a1b18cb6d7a8c372d1476af3a1b4b74bc3dc72ea18e99954a3ca324c2bb81f diff --git a/media-libs/virglrenderer/virglrenderer-0.10.4.ebuild b/media-libs/virglrenderer/virglrenderer-0.10.4.ebuild new file mode 100644 index 000000000000..a5451fe14c0b --- /dev/null +++ b/media-libs/virglrenderer/virglrenderer-0.10.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 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.gz -> ${P}.tar.gz" + 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" + +RDEPEND=" + >=x11-libs/libdrm-2.4.50 + media-libs/libepoxy" + +DEPEND="${RDEPEND}" + +# Most of the testsuite cannot run in our sandboxed environment, just don't +# deal with it for now. +RESTRICT="test" + +src_configure() { + local emesonargs=( + -Ddefault_library=$(usex static-libs both shared) + ) + + meson_src_configure +} + +src_install() { + meson_src_install + find "${ED}/usr" -name 'lib*.la' -delete +} -- cgit v1.2.3-65-gdbad