summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2022-09-08 02:39:17 +0300
committerJohn Helmert III <ajak@gentoo.org>2022-09-08 00:05:42 -0500
commit4ca6fb4d76c62f85ac3699b85107df38fdce5454 (patch)
treee7cbdfd656dc1a9d0c50295ee10cbfc5d9368833 /media-libs/virglrenderer
parentsys-apps/hdparm: add 9.65 (diff)
downloadgentoo-4ca6fb4d76c62f85ac3699b85107df38fdce5454.tar.gz
gentoo-4ca6fb4d76c62f85ac3699b85107df38fdce5454.tar.bz2
gentoo-4ca6fb4d76c62f85ac3699b85107df38fdce5454.zip
media-libs/virglrenderer: bump to 0.10.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Closes: https://github.com/gentoo/gentoo/pull/27186 Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'media-libs/virglrenderer')
-rw-r--r--media-libs/virglrenderer/Manifest1
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.10.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/virglrenderer/Manifest b/media-libs/virglrenderer/Manifest
index e2c8cbb39c58..0e461abb3dbb 100644
--- a/media-libs/virglrenderer/Manifest
+++ b/media-libs/virglrenderer/Manifest
@@ -1,2 +1,3 @@
+DIST virglrenderer-0.10.1.tar.gz 3814616 BLAKE2B f292bf49f772624d8bbc2dc48faa5c5cc3e2eeb46aef3e04abb7141743b763055e944beb6f119e1a99396d5b607510c1be7f9de0a319e63cf52d31d30216d273 SHA512 d832a1c19f7776fffcdabd848d8e3d43125613e3d4590704a98e63274d12573f0ab4501182076c28e026495e3690e79940695216da13eeabdddbe0e542eb077a
DIST virglrenderer-0.8.2.tar.gz 2697672 BLAKE2B 2c5b14fcca8ed778a674c35f3a88213d017f0cb30afcd5c28a13f8ea8d9d2fcb052150451cf0c9e7b48f0619fa93c9cc9036b59677fdae09ec97517984af43c1 SHA512 a64069bf6a28e5b77da53b5226a447decc3fe07a5c28bc49c2c15413b7651605170c5644a24f6a0ce9216a0f55afcee0246c3e4d9bc8f32dad771be3115e0f2a
DIST virglrenderer-0.9.1.tar.gz 2945799 BLAKE2B 86740155a824263b8ecb3a917db59996650e90a095e64be3cb6119eb2b6c5a64b6b3f5d40354fdf9d5bb4dae7d247749a8ddcfb33031aa2607057d18cedc319c SHA512 4edba82c83a6183871f74f365d55af88935edf9abad97c1617c569f21a16b008481364f50491dfbc7ed89832a6b618fce98d182f84cc1cbab9d2c7443a2ae936
diff --git a/media-libs/virglrenderer/virglrenderer-0.10.1.ebuild b/media-libs/virglrenderer/virglrenderer-0.10.1.ebuild
new file mode 100644
index 000000000000..06c7403906ec
--- /dev/null
+++ b/media-libs/virglrenderer/virglrenderer-0.10.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit eutils meson
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://anongit.freedesktop.org/git/virglrenderer.git"
+ inherit git-r3
+else
+ SRC_URI="https://gitlab.freedesktop.org/virgl/${PN}/-/archive/${P}/${PN}-${P}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~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 testuiste cannot run in our sandboxed environment, just don't
+# deal with it for now.
+RESTRICT="test"
+
+S=${WORKDIR}/${PN}-${P}
+
+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
+}