Separate Qt 5 packages from dependent libraries
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ stdenv, lib, fetchurl, cmake, mesa, pkgconfig, libpulseaudio
|
||||
, qt4 ? null, extra-cmake-modules, qtbase ? null, qttools ? null
|
||||
, qt4 ? null, ecm ? null, qtbase ? null, qttools ? null
|
||||
, withQt5 ? false
|
||||
, debug ? false }:
|
||||
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
[ mesa libpulseaudio ]
|
||||
++ (if withQt5 then [ qtbase qttools ] else [ qt4 ]);
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ] ++ optional withQt5 extra-cmake-modules;
|
||||
nativeBuildInputs = [ cmake pkgconfig ] ++ optional withQt5 ecm;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-fPIC";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user