Merge pull request #189768 from alyssais/virglrenderer-0.10.0
This commit is contained in:
commit
055fc94e81
2 changed files with 7 additions and 16 deletions
|
@ -3,7 +3,10 @@
|
|||
, libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols
|
||||
}:
|
||||
|
||||
let
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "crosvm";
|
||||
version = "104.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://chromium.googlesource.com/crosvm/crosvm";
|
||||
rev = "265aab613b1eb31598ea0826f04810d9f010a2c6";
|
||||
|
@ -11,18 +14,6 @@ let
|
|||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
# use vendored virglrenderer
|
||||
virglrenderer' = virglrenderer.overrideAttrs (oa: {
|
||||
src = "${src}/third_party/virglrenderer";
|
||||
});
|
||||
in
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "crosvm";
|
||||
version = "104.0";
|
||||
|
||||
inherit src;
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
patches = [
|
||||
|
@ -34,7 +25,7 @@ rustPlatform.buildRustPackage rec {
|
|||
nativeBuildInputs = [ minijail-tools pkg-config protobuf wayland-scanner ];
|
||||
|
||||
buildInputs = [
|
||||
libcap libdrm libepoxy minijail virglrenderer' wayland wayland-protocols
|
||||
libcap libdrm libepoxy minijail virglrenderer wayland wayland-protocols
|
||||
];
|
||||
|
||||
arch = stdenv.hostPlatform.parsed.cpu.name;
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "virglrenderer";
|
||||
version = "0.9.1";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/virglrenderer-${version}/virglrenderer-virglrenderer-${version}.tar.bz2";
|
||||
sha256 = "1h76a1ylhh4niq33sa5knx033sr4k2816vibh4m58j54y7qc6346";
|
||||
sha256 = "tMLD6lu1NnKeoQQIzwhMypKdrW5alULod2cdb8+76iM=";
|
||||
};
|
||||
|
||||
buildInputs = [ libGLU libepoxy libX11 libdrm mesa ];
|
||||
|
|
Loading…
Reference in a new issue