summaryrefslogtreecommitdiff
path: root/media-libs/virglrenderer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-29 10:15:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-29 10:15:54 +0100
commit9aa80713372911cec499b3adb2cd746790920916 (patch)
treeb8e99dc5dd60ac2094a27cc52f74aada8df38f05 /media-libs/virglrenderer
parentb4d43e8c611df4a8061b6f88d9e9f6b1e3c83903 (diff)
gentoo resync : 29.06.2021
Diffstat (limited to 'media-libs/virglrenderer')
-rw-r--r--media-libs/virglrenderer/Manifest2
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.9.1.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/virglrenderer/Manifest b/media-libs/virglrenderer/Manifest
index 29ac4ef13074..1474c1a66662 100644
--- a/media-libs/virglrenderer/Manifest
+++ b/media-libs/virglrenderer/Manifest
@@ -1,4 +1,6 @@
DIST virglrenderer-0.8.2.tar.gz 2697672 BLAKE2B 2c5b14fcca8ed778a674c35f3a88213d017f0cb30afcd5c28a13f8ea8d9d2fcb052150451cf0c9e7b48f0619fa93c9cc9036b59677fdae09ec97517984af43c1 SHA512 a64069bf6a28e5b77da53b5226a447decc3fe07a5c28bc49c2c15413b7651605170c5644a24f6a0ce9216a0f55afcee0246c3e4d9bc8f32dad771be3115e0f2a
+DIST virglrenderer-0.9.1.tar.gz 2945799 BLAKE2B 86740155a824263b8ecb3a917db59996650e90a095e64be3cb6119eb2b6c5a64b6b3f5d40354fdf9d5bb4dae7d247749a8ddcfb33031aa2607057d18cedc319c SHA512 4edba82c83a6183871f74f365d55af88935edf9abad97c1617c569f21a16b008481364f50491dfbc7ed89832a6b618fce98d182f84cc1cbab9d2c7443a2ae936
EBUILD virglrenderer-0.8.2.ebuild 965 BLAKE2B 80a530f2799085f5dd234dac0bc3dadcf01b02d2dc928729dcd618efe58619c16f70616fa695a64d5abdd72832c561cb728e20caaf3550ab0350a6de54bc2a30 SHA512 71eb7c0f75ac412376297e20605f344bf639f41eeef7bce0405876dd01dc9203e7df7517922fb4198a413009e4c10ad1e7fa30d318fd709639cfde7d30546ac7
+EBUILD virglrenderer-0.9.1.ebuild 967 BLAKE2B ca1dffd8d749c9ac0cf82d1debd8c8a58c23f2cff098f785780bd9955609ddd83b6fa342f7d2cfb241c696398bf929587a6255bca61556671789f5c9f28ceca9 SHA512 8df7540a7baf02c86f8b8f01235dfe2564e07516c7ceb8639be47de1c1b7bc7725ad1cdb77bdcfcf3c32732ae3be03977d245d58497e88b89bb1eb793b0fa67f
EBUILD virglrenderer-9999.ebuild 942 BLAKE2B a17fbff964ec6e6a664738d37437e786a8505cc74283a36133dbfa1dd98a19ef19c4de7c3fbe7ae0fcc4c92067394df0224fc0882b92486bd6ceb1cd8a07b0de SHA512 2380fdec62258309db09746db46ce47a2a14b29e03e5e666e5722a651414bb8432a41844f563f9081b5879f6f54add3e7282447a26c6ea4a487b2a8325cedc7b
MISC metadata.xml 371 BLAKE2B 3e3bdb314577f4b67ad0b800c37da42bf1f94200938519c39a3fd4020154065a86925b9afe83aab994ef0cc9b3480005691fbbb7277c367fac72d6e4ce608510 SHA512 94fcfe4653d16579ae9fab9dede61165c0b45ef1f97b642b4d50f0933909fe6ba04e3aa0f0f0e3311d780f126b7860295746caadd1a0245cb950e1012784902d
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
+}