babl: enable strictDeps and structuredAttrs (#526301)
This commit is contained in:
@@ -31,6 +31,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
./dev-prefix.patch
|
||||
];
|
||||
|
||||
depsBuildBuild = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
@@ -44,6 +48,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
lcms2
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
mesonFlags = [
|
||||
"-Dprefix-dev=${placeholder "dev"}"
|
||||
# On Linux, this would be disabled by default but we have -Dauto_features=enabled.
|
||||
@@ -61,6 +67,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
moveToOutput "share/doc" "$devdoc"
|
||||
'';
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = {
|
||||
description = "Image pixel format conversion library";
|
||||
mainProgram = "babl";
|
||||
|
||||
Reference in New Issue
Block a user