diff options
author | Matthias Maier <tamiko@gentoo.org> | 2020-04-19 15:01:23 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2020-04-19 15:44:35 -0500 |
commit | 73004619cc8ba46a7ee42b1496dbf0f064ccc87e (patch) | |
tree | c31f6ea4a4aeb25e73f5c83651e18b41f36763a6 /media-libs/virglrenderer | |
parent | mail-filter/pypolicyd-spf: new revision with python-3.{7,8} support. (diff) | |
download | gentoo-73004619cc8ba46a7ee42b1496dbf0f064ccc87e.tar.gz gentoo-73004619cc8ba46a7ee42b1496dbf0f064ccc87e.tar.bz2 gentoo-73004619cc8ba46a7ee42b1496dbf0f064ccc87e.zip |
media-libs/virglrenderer: version bump to 0.8.2
- contrary to the suggestion in https://bugs.gentoo.org/693246, do not
add a USE=gbm flag. The current code cannot be compiled with
mesa[gbm] and upstream restricted support for gbm allocation to
minigbm in current master
- port to meson build system
- disable testsuite -
- verified that the build system doesn't require python directly any more
Closes: https://bugs.gentoo.org/693246
Closes: https://bugs.gentoo.org/716354
Closes: https://bugs.gentoo.org/631740
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'media-libs/virglrenderer')
-rw-r--r-- | media-libs/virglrenderer/Manifest | 1 | ||||
-rw-r--r-- | media-libs/virglrenderer/virglrenderer-0.8.2.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/virglrenderer/Manifest b/media-libs/virglrenderer/Manifest index 92bc64cdd259..78c3bbeddd25 100644 --- a/media-libs/virglrenderer/Manifest +++ b/media-libs/virglrenderer/Manifest @@ -1,2 +1,3 @@ DIST virglrenderer-0.6.0.tar.xz 222536 BLAKE2B 2e359e88489458460a5fe1daa62913ed0159c10eee1e360fbf561221dc38aa27e3c6c402960eb1313e55dfcbdca3483a5672f5c68b7303783320b8beb330d987 SHA512 23d5f8c582f02303e3b4b59a6ca66e7859367a0bb931b884521f615bf9e25290f1ad2a32a92c127df1ec0f48503e20f557f6e910973ca2c7620b75801d5f3401 DIST virglrenderer-0.7.0.tar.xz 258128 BLAKE2B 93d878caa635671b0cabb4726df6f3a75a3153e6a138beb6f7de0985abd3c3cc50618727573d5f6a887cec2e0cdba082327ec7c2f9e359e9bd1c0ea22785abba SHA512 b8ee9242ac4184e65ade700306827e4d3e345bf6d742970d4b1ac7a09d8883e4195c4c2e69b73a59a08a43b4d8ee078a16501fbafe927e59b0f7627470d04ba8 +DIST virglrenderer-0.8.2.tar.gz 2697672 BLAKE2B 2c5b14fcca8ed778a674c35f3a88213d017f0cb30afcd5c28a13f8ea8d9d2fcb052150451cf0c9e7b48f0619fa93c9cc9036b59677fdae09ec97517984af43c1 SHA512 a64069bf6a28e5b77da53b5226a447decc3fe07a5c28bc49c2c15413b7651605170c5644a24f6a0ce9216a0f55afcee0246c3e4d9bc8f32dad771be3115e0f2a diff --git a/media-libs/virglrenderer/virglrenderer-0.8.2.ebuild b/media-libs/virglrenderer/virglrenderer-0.8.2.ebuild new file mode 100644 index 000000000000..d65f9a5cec75 --- /dev/null +++ b/media-libs/virglrenderer/virglrenderer-0.8.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 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 +} |