diff options
author | Nicu Borta <nicu.borta111@gmail.com> | 2024-04-06 11:58:51 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-05-27 16:24:35 +0300 |
commit | ab7b19237eb898465599e063dbb1a5cbbf92bfa5 (patch) | |
tree | c6df080853b3abd542b12b20f77a1f3efb31ba80 /media-libs/virglrenderer | |
parent | dev-libs/girara: fix live-ebuild (9999) (diff) | |
download | gentoo-ab7b19237eb898465599e063dbb1a5cbbf92bfa5.tar.gz gentoo-ab7b19237eb898465599e063dbb1a5cbbf92bfa5.tar.bz2 gentoo-ab7b19237eb898465599e063dbb1a5cbbf92bfa5.zip |
media-libs/virglrenderer: 1.0.1 version bump
Closes: https://bugs.gentoo.org/920307
Signed-off-by: Nicu Borta <nicu.borta111@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36134
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs/virglrenderer')
-rw-r--r-- | media-libs/virglrenderer/Manifest | 1 | ||||
-rw-r--r-- | media-libs/virglrenderer/virglrenderer-1.0.1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/virglrenderer/Manifest b/media-libs/virglrenderer/Manifest index f2fd4dcfdc2e..1fd2126c42fb 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.10.4.tar.gz 3833794 BLAKE2B 45420e5085866a5e38543129cff0361672595274b6dd94fd4a172ae78536ad13b5e0e8bcebd21f2ca1ac2b82e3cd0cd2217e6bdc67f22fe88969bb9544b51864 SHA512 dd545b4dd1ec504f8fc1209a933fef63ffdb08298c0cf274f0f314525b0bf03233a1b18cb6d7a8c372d1476af3a1b4b74bc3dc72ea18e99954a3ca324c2bb81f +DIST virglrenderer-1.0.1.tar.gz 980054 BLAKE2B 59295d4c6d92079fe2e2d6c8d7e170052e3a8c2d26db661575d582b847f06cd0b3b6299a07e0bec0fd85192eca19a9d48c607679c4d0f6e9fc6ece7336efceee SHA512 9f3b29f06c6359ac385c199fa186e004b2d32fbb50e9ad01ffd16aaf076ac6d6bf93cf5c938ad76505c80cda8b644342a9f6703e493860ee962d67f413966714 diff --git a/media-libs/virglrenderer/virglrenderer-1.0.1.ebuild b/media-libs/virglrenderer/virglrenderer-1.0.1.ebuild new file mode 100644 index 000000000000..7447e0b2e3d9 --- /dev/null +++ b/media-libs/virglrenderer/virglrenderer-1.0.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 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 || die +} |