Merge pull request #211620 from fgaz/lgogdownloader/gui

lgogdownloader: enable GUI
This commit is contained in:
0x4A6F 2023-01-20 00:34:45 +01:00 committed by GitHub
commit b188e656d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View file

@ -11,8 +11,13 @@
, rhash
, tinyxml-2
, help2man
, wrapQtAppsHook
, qtbase
, qtwebengine
, testers
, lgogdownloader
, enableGui ? true
}:
stdenv.mkDerivation rec {
@ -30,7 +35,7 @@ stdenv.mkDerivation rec {
cmake
pkg-config
help2man
];
] ++ lib.optional enableGui wrapQtAppsHook;
buildInputs = [
boost
@ -40,8 +45,13 @@ stdenv.mkDerivation rec {
liboauth
rhash
tinyxml-2
] ++ lib.optionals enableGui [
qtbase
qtwebengine
];
cmakeFlags = lib.optional enableGui "-DUSE_QT_GUI=ON";
passthru.tests = {
version = testers.testVersion { package = lgogdownloader; };
};

View file

@ -34916,7 +34916,7 @@ with pkgs;
left4gore-bin = callPackage ../games/left4gore { };
lgogdownloader = callPackage ../games/lgogdownloader { };
lgogdownloader = libsForQt5.callPackage ../games/lgogdownloader { };
liberal-crime-squad = callPackage ../games/liberal-crime-squad { };