meson/ninja: add setup hooks (#28444)
* Add setupHook for meson/ninja build * libhttpseverywhere: Use meson/ninja setupHooks * jamomacore: Remove superfluous ninja buildInput * Remove obsolete ninja buildPhases These are all handled by ninja's setup hook. * lean2, xcbuild: fix build with ninja setup hook Ninja is a runtime dependency here. However, cmake can generate Ninja build files as well to satisfy the setup hook. * qtwebengine: fix build with ninja setup hook
This commit is contained in:
committed by
Robin Gloster
parent
cf7be87348
commit
f0a1ab78b4
@@ -15,18 +15,6 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ gnome3.vala valadoc gobjectIntrospection meson ninja pkgconfig ];
|
||||
buildInputs = [ glib gnome3.libgee libxml2 json_glib libsoup libarchive ];
|
||||
|
||||
configurePhase = ''
|
||||
mkdir build
|
||||
cd build
|
||||
meson --prefix "$out" ..
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
ninja
|
||||
'';
|
||||
|
||||
installPhase = "ninja install";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = "./httpseverywhere_test";
|
||||
|
||||
Reference in New Issue
Block a user