summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Helmert III <ajak@gentoo.org>2022-09-08 00:12:03 -0500
committerJohn Helmert III <ajak@gentoo.org>2022-09-08 00:12:11 -0500
commit8ed6f4a0102ff4487277bfa36da7d372460a9265 (patch)
tree5fa982de7d26c29c4105046b64a62b529fd3cfd6 /media-libs/virglrenderer
parentmedia-libs/virglrenderer: bump to 0.10.1 (diff)
downloadgentoo-8ed6f4a0102ff4487277bfa36da7d372460a9265.tar.gz
gentoo-8ed6f4a0102ff4487277bfa36da7d372460a9265.tar.bz2
gentoo-8ed6f4a0102ff4487277bfa36da7d372460a9265.zip
media-libs/virglrenderer: update EAPI 7 -> 8, style tweaks
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'media-libs/virglrenderer')
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.10.1.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/media-libs/virglrenderer/virglrenderer-0.10.1.ebuild b/media-libs/virglrenderer/virglrenderer-0.10.1.ebuild
index 06c7403906ec..892e50ce7006 100644
--- a/media-libs/virglrenderer/virglrenderer-0.10.1.ebuild
+++ b/media-libs/virglrenderer/virglrenderer-0.10.1.ebuild
@@ -1,15 +1,16 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
+EAPI=8
-inherit eutils meson
+inherit 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"
+ MY_P="${PN}-${P}"
+ SRC_URI="https://gitlab.freedesktop.org/virgl/${PN}/-/archive/${P}/${MY_P}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
fi
@@ -30,7 +31,7 @@ DEPEND="${RDEPEND}"
# deal with it for now.
RESTRICT="test"
-S=${WORKDIR}/${PN}-${P}
+S="${WORKDIR}/${MY_P}"
src_configure() {
local emesonargs=(
@@ -42,5 +43,5 @@ src_configure() {
src_install() {
meson_src_install
- find "${ED}"/usr -name 'lib*.la' -delete
+ find "${ED}/usr" -name 'lib*.la' -delete
}