Unverified Commit e75c6e22 authored by Anderson Torres's avatar Anderson Torres Committed by GitHub
Browse files

Merge pull request #185544 from romildo/fix.fvwm

fvwm{,3}: add pyxdg dependence and enable parallel building
parents cef51afe 77c641e1
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
, libxslt
, perl
, pkg-config
, python3Packages
, readline
, enableGestures ? false
}:
@@ -32,7 +33,11 @@ stdenv.mkDerivation rec {
    hash = "sha256-sBVOrrl2WrZ2wWN/r1kDUtR+tPwXgDoSJDaxGeFkXJI=";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config ];
  nativeBuildInputs = [
    autoreconfHook
    pkg-config
    python3Packages.wrapPython
  ];

  buildInputs = [
    cairo
@@ -48,14 +53,25 @@ stdenv.mkDerivation rec {
    librsvg
    libxslt
    perl
    python3Packages.python
    readline
  ] ++ lib.optional enableGestures libstroke;

  pythonPath = [
    python3Packages.pyxdg
  ];

  configureFlags = [
    "--enable-mandoc"
    "--disable-htmldoc"
  ];

  postFixup = ''
    wrapPythonPrograms
  '';

  enableParallelBuilding = true;

  meta = with lib; {
    homepage = "http://fvwm.org";
    description = "A multiple large virtual desktop window manager";
+13 −2
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
, libxslt
, perl
, pkg-config
, python3
, python3Packages
, readline
, sharutils
}:
@@ -45,6 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
    autoreconfHook
    asciidoctor
    pkg-config
    python3Packages.wrapPython
  ];

  buildInputs = [
@@ -69,15 +70,25 @@ stdenv.mkDerivation (finalAttrs: {
    libstroke
    libxslt
    perl
    python3
    python3Packages.python
    readline
    sharutils
  ];

  pythonPath = [
    python3Packages.pyxdg
  ];

  configureFlags = [
    "--enable-mandoc"
  ];

  postFixup = ''
    wrapPythonPrograms
  '';

  enableParallelBuilding = true;

  meta = with lib; {
    homepage = "http://fvwm.org";
    description = "A multiple large virtual desktop window manager - Version 3";