summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-08 20:59:48 +0100
committerSam James <sam@gentoo.org>2022-10-08 21:01:34 +0100
commit9f62acfb1b940d8db0578abedb8e6f386bea2f0a (patch)
tree54d9d897c3fc6ca01095ab7bfec5c21b5f1807f8 /media-libs/virglrenderer
parentmedia-libs/virglrenderer: drop 0.9.1 (diff)
downloadgentoo-9f62acfb1b940d8db0578abedb8e6f386bea2f0a.tar.gz
gentoo-9f62acfb1b940d8db0578abedb8e6f386bea2f0a.tar.bz2
gentoo-9f62acfb1b940d8db0578abedb8e6f386bea2f0a.zip
media-libs/virglrenderer: sync live
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/virglrenderer')
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.10.1.ebuild6
-rw-r--r--media-libs/virglrenderer/virglrenderer-9999.ebuild17
2 files changed, 13 insertions, 10 deletions
diff --git a/media-libs/virglrenderer/virglrenderer-0.10.1.ebuild b/media-libs/virglrenderer/virglrenderer-0.10.1.ebuild
index 892e50ce7006..a0ee87345132 100644
--- a/media-libs/virglrenderer/virglrenderer-0.10.1.ebuild
+++ b/media-libs/virglrenderer/virglrenderer-0.10.1.ebuild
@@ -11,6 +11,8 @@ if [[ ${PV} == "9999" ]] ; then
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 ~riscv ~x86"
fi
@@ -27,12 +29,10 @@ RDEPEND="
DEPEND="${RDEPEND}"
-# Most of the testuiste cannot run in our sandboxed environment, just don't
+# Most of the testsuite cannot run in our sandboxed environment, just don't
# deal with it for now.
RESTRICT="test"
-S="${WORKDIR}/${MY_P}"
-
src_configure() {
local emesonargs=(
-Ddefault_library=$(usex static-libs both shared)
diff --git a/media-libs/virglrenderer/virglrenderer-9999.ebuild b/media-libs/virglrenderer/virglrenderer-9999.ebuild
index 00473eb8188e..a0ee87345132 100644
--- a/media-libs/virglrenderer/virglrenderer-9999.ebuild
+++ b/media-libs/virglrenderer/virglrenderer-9999.ebuild
@@ -1,16 +1,19 @@
-# Copyright 1999-2020 Gentoo Authors
+# 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"
- KEYWORDS="~amd64 ~arm64 ~x86"
+ 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 ~riscv ~x86"
fi
DESCRIPTION="library used implement a virtual 3D GPU used by qemu"
@@ -26,7 +29,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
-# Most of the testuiste cannot run in our sandboxed environment, just don't
+# Most of the testsuite cannot run in our sandboxed environment, just don't
# deal with it for now.
RESTRICT="test"
@@ -40,5 +43,5 @@ src_configure() {
src_install() {
meson_src_install
- find "${ED}"/usr -name 'lib*.la' -delete
+ find "${ED}/usr" -name 'lib*.la' -delete
}