forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-libs/virglrenderer: 1.0.1 version bump
Closes: https://bugs.gentoo.org/920307 Signed-off-by: Nicu Borta <[email protected]> Closes: gentoo#36134 Signed-off-by: Joonas Niilola <[email protected]>
- Loading branch information
1 parent
a18dce6
commit ab7b192
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |