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
|
{ stdenv
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, lib
|
, lib
|
||||||
, cmake
|
, meson
|
||||||
|
, ninja
|
||||||
, libGL
|
, libGL
|
||||||
, libglvnd
|
, libglvnd
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
@ -9,6 +10,7 @@
|
|||||||
, wayland
|
, wayland
|
||||||
, libxcb
|
, libxcb
|
||||||
, libX11
|
, libX11
|
||||||
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -32,12 +34,16 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
meson
|
||||||
|
ninja
|
||||||
makeWrapper
|
makeWrapper
|
||||||
pkg-config
|
pkg-config
|
||||||
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [ "-Dplatforms=x11,wayland" ];
|
mesonFlags = [
|
||||||
|
"-Dgbm=disabled"
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/wflinfo \
|
wrapProgram $out/bin/wflinfo \
|
||||||
|
Loading…
Reference in New Issue
Block a user