-
Notifications
You must be signed in to change notification settings - Fork 11
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: Add 20241205.2
Let's hope we will not have more than 10 releases in a single day Signed-off-by: Sasha Finkelstein <[email protected]>
- Loading branch information
1 parent
00951cb
commit ba86e54
Showing
2 changed files
with
51 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 +1,2 @@ | ||
DIST virglrenderer-asahi-20241129.tar.bz2 779570 BLAKE2B 8d1ded3de296cc020cc16c217afe7fd91f31ffbeaf9e804278168292691225fe95cb81a9ecda14e5e3e1c06ef5cf063efd1b669f3264097147f3d3a0b8089376 SHA512 783bb5ef5411718f03d649831ab31ccda7cda33d8732f4f1e3685c2c5d0204b8c89fa4f593f714a3f5e9004cc255111682d81cf627833746ec4c1e9b2d777141 | ||
DIST virglrenderer-asahi-20241205.2.tar.bz2 781537 BLAKE2B c25b7b991d0e785ab186f4ae3a9e1d107b7cd14a064c7805813d9262e814d601307f5cb33565bbb7d9b096a90de1bbf5e72c0f76572b83e56c8d010870015005 SHA512 093f1dd6dd1701e36d237a1f69411b4c2051eb237e60d8bb21e52c6fa59d5fed968dd78b10b69e1d1096e2774e3cef969739713d09fd6d8b9282c987e7cf72c0 |
50 changes: 50 additions & 0 deletions
50
media-libs/virglrenderer/virglrenderer-1.0.1_p202412052.ebuild
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,50 @@ | ||
# 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://gitlab.freedesktop.org/asahi/virglrenderer.git" | ||
inherit git-r3 | ||
else | ||
pv_full="$(ver_cut 5)" | ||
pv_date="$((pv_full / 10))" | ||
pv_patch="$((pv_full % 10))" | ||
MY_PV="asahi-${pv_date}.${pv_patch}" | ||
MY_P="${PN}-${MY_PV}" | ||
SRC_URI="https://gitlab.freedesktop.org/asahi/${PN}/-/archive/${MY_PV}/${MY_P}.tar.bz2" | ||
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 | ||
media-libs/mesa | ||
x11-libs/libX11 | ||
" | ||
|
||
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) | ||
-Ddrm-renderers=asahi-experimental | ||
) | ||
|
||
meson_src_configure | ||
} |