waffle: Use meson instead of cmake

The cmake build system is deprecated upstream.
This commit is contained in:
Dylan Baker 2020-12-22 14:10:01 -08:00
parent 3dfcc7e3a5
commit fd4e4bd8be

View file

@ -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 \