waffle: Use meson instead of cmake
The cmake build system is deprecated upstream.
This commit is contained in:
parent
3dfcc7e3a5
commit
fd4e4bd8be
|
@ -1,7 +1,8 @@
|
|||
{ stdenv
|
||||
, fetchFromGitLab
|
||||
, lib
|
||||
, cmake
|
||||
, meson
|
||||
, ninja
|
||||
, libGL
|
||||
, libglvnd
|
||||
, makeWrapper
|
||||
|
@ -9,6 +10,7 @@
|
|||
, wayland
|
||||
, libxcb
|
||||
, libX11
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -32,12 +34,16 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
meson
|
||||
ninja
|
||||
makeWrapper
|
||||
pkg-config
|
||||
python3
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-Dplatforms=x11,wayland" ];
|
||||
mesonFlags = [
|
||||
"-Dgbm=disabled"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/wflinfo \
|
||||
|
|
Loading…
Reference in New Issue