mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
lgogdownloader: enable GUI
This commit is contained in:
parent
7f6757e4f2
commit
8f0bc3884d
@ -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; };
|
||||
};
|
||||
|
@ -34866,7 +34866,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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user