Skip to content

Commit

Permalink
waffle: Use meson instead of cmake
Browse files Browse the repository at this point in the history
The cmake build system is deprecated upstream.
  • Loading branch information
dcbaker committed Dec 22, 2020
1 parent 3dfcc7e commit fd4e4bd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pkgs/development/libraries/waffle/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{ stdenv
, fetchFromGitLab
, lib
, cmake
, meson
, ninja
, libGL
, libglvnd
, makeWrapper
, pkg-config
, wayland
, libxcb
, libX11
, python3
}:

stdenv.mkDerivation rec {
Expand All @@ -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 \
Expand Down

0 comments on commit fd4e4bd

Please sign in to comment.