Merge pull request #211620 from fgaz/lgogdownloader/gui
lgogdownloader: enable GUI
This commit is contained in:
commit
b188e656d9
|
@ -11,8 +11,13 @@
|
||||||
, rhash
|
, rhash
|
||||||
, tinyxml-2
|
, tinyxml-2
|
||||||
, help2man
|
, help2man
|
||||||
|
, wrapQtAppsHook
|
||||||
|
, qtbase
|
||||||
|
, qtwebengine
|
||||||
, testers
|
, testers
|
||||||
, lgogdownloader
|
, lgogdownloader
|
||||||
|
|
||||||
|
, enableGui ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -30,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||||
cmake
|
cmake
|
||||||
pkg-config
|
pkg-config
|
||||||
help2man
|
help2man
|
||||||
];
|
] ++ lib.optional enableGui wrapQtAppsHook;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost
|
boost
|
||||||
|
@ -40,8 +45,13 @@ stdenv.mkDerivation rec {
|
||||||
liboauth
|
liboauth
|
||||||
rhash
|
rhash
|
||||||
tinyxml-2
|
tinyxml-2
|
||||||
|
] ++ lib.optionals enableGui [
|
||||||
|
qtbase
|
||||||
|
qtwebengine
|
||||||
];
|
];
|
||||||
|
|
||||||
|
cmakeFlags = lib.optional enableGui "-DUSE_QT_GUI=ON";
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
version = testers.testVersion { package = lgogdownloader; };
|
version = testers.testVersion { package = lgogdownloader; };
|
||||||
};
|
};
|
||||||
|
|
|
@ -34916,7 +34916,7 @@ with pkgs;
|
||||||
|
|
||||||
left4gore-bin = callPackage ../games/left4gore { };
|
left4gore-bin = callPackage ../games/left4gore { };
|
||||||
|
|
||||||
lgogdownloader = callPackage ../games/lgogdownloader { };
|
lgogdownloader = libsForQt5.callPackage ../games/lgogdownloader { };
|
||||||
|
|
||||||
liberal-crime-squad = callPackage ../games/liberal-crime-squad { };
|
liberal-crime-squad = callPackage ../games/liberal-crime-squad { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue