gnome.mutter: build docs
This commit is contained in:
parent
4a06436ff2
commit
93807a6352
@ -35,6 +35,7 @@
|
|||||||
, xorgserver
|
, xorgserver
|
||||||
, python3
|
, python3
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
|
, gi-docgen
|
||||||
, sysprof
|
, sysprof
|
||||||
, libsysprof-capture
|
, libsysprof-capture
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
@ -48,7 +49,7 @@ let self = stdenv.mkDerivation rec {
|
|||||||
pname = "mutter";
|
pname = "mutter";
|
||||||
version = "43.beta";
|
version = "43.beta";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" ];
|
outputs = [ "out" "dev" "man" "devdoc" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/mutter/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/mutter/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
@ -73,6 +74,7 @@ let self = stdenv.mkDerivation rec {
|
|||||||
# This should be auto detected, but it looks like it manages a false
|
# This should be auto detected, but it looks like it manages a false
|
||||||
# positive.
|
# positive.
|
||||||
"-Dxwayland_initfd=disabled"
|
"-Dxwayland_initfd=disabled"
|
||||||
|
"-Ddocs=true"
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -93,6 +95,7 @@ let self = stdenv.mkDerivation rec {
|
|||||||
pkg-config
|
pkg-config
|
||||||
python3
|
python3
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
|
gi-docgen
|
||||||
xorgserver # for cvt command
|
xorgserver # for cvt command
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -131,6 +134,12 @@ let self = stdenv.mkDerivation rec {
|
|||||||
${glib.dev}/bin/glib-compile-schemas "$out/share/glib-2.0/schemas"
|
${glib.dev}/bin/glib-compile-schemas "$out/share/glib-2.0/schemas"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
|
||||||
|
# TODO: Move this into a directory devhelp can find.
|
||||||
|
moveToOutput "share/mutter-11/doc" "$devdoc"
|
||||||
|
'';
|
||||||
|
|
||||||
# Install udev files into our own tree.
|
# Install udev files into our own tree.
|
||||||
PKG_CONFIG_UDEV_UDEVDIR = "${placeholder "out"}/lib/udev";
|
PKG_CONFIG_UDEV_UDEVDIR = "${placeholder "out"}/lib/udev";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user