summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2021-06-27 13:45:25 -0500
committerMatthias Maier <tamiko@gentoo.org>2021-06-27 13:48:05 -0500
commite9a931b8fab12edd7aa197fac3bf15c2c44528b5 (patch)
tree79fc1d7af0044f9d3717cde6cebb4132dfe46862 /media-libs/virglrenderer
parentapp-admin/terraform: Drop old (diff)
downloadgentoo-e9a931b8fab12edd7aa197fac3bf15c2c44528b5.tar.gz
gentoo-e9a931b8fab12edd7aa197fac3bf15c2c44528b5.tar.bz2
gentoo-e9a931b8fab12edd7aa197fac3bf15c2c44528b5.zip
media-libs/virglrenderer: version bump to 0.9.1
Closes: https://bugs.gentoo.org/796353 Closes: https://bugs.gentoo.org/743106 Closes: https://bugs.gentoo.org/797292 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'media-libs/virglrenderer')
-rw-r--r--media-libs/virglrenderer/Manifest1
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.9.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/virglrenderer/Manifest b/media-libs/virglrenderer/Manifest
index 2246062f8694..e2c8cbb39c58 100644
--- a/media-libs/virglrenderer/Manifest
+++ b/media-libs/virglrenderer/Manifest
@@ -1 +1,2 @@
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.9.1.ebuild b/media-libs/virglrenderer/virglrenderer-0.9.1.ebuild
new file mode 100644
index 000000000000..5f4fcc2eef17
--- /dev/null
+++ b/media-libs/virglrenderer/virglrenderer-0.9.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 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 ~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
+}