diff options
author | davidak <davidak@users.noreply.github.com> | 2021-08-03 08:10:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 08:10:12 +0200 |
commit | 677dc1b93b3c33f66ea66444516baf3c3e2d0aad (patch) | |
tree | d4c4247f745636330e5fc626fe9ab8dddf242e80 /pkgs/games | |
parent | bd27e2e8316ac6eab11aa35c586e743286f23ecf (diff) | |
parent | 10f9d7d2e960836a963e0ce4c8388f4e2c88b0a9 (diff) |
Merge pull request #122134 from fricklerhandwerk/freeciv-gtk
freeciv: build with `gtk` with `gtkClient = true`
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/freeciv/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/games/freeciv/default.nix b/pkgs/games/freeciv/default.nix index 1560a45b06181..27731a3a008b0 100644 --- a/pkgs/games/freeciv/default.nix +++ b/pkgs/games/freeciv/default.nix @@ -1,7 +1,7 @@ { lib, stdenv, fetchFromGitHub, autoreconfHook, lua5_3, pkg-config, python3 , zlib, bzip2, curl, xz, gettext, libiconv , sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype, fluidsynth -, gtkClient ? false, gtk3 +, gtkClient ? stdenv.isLinux, gtk3 , qtClient ? false, qt5 , server ? true, readline , enableSqlite ? true, sqlite @@ -46,6 +46,7 @@ in stdenv.mkDerivation rec { "--enable-client=qt" "--with-qt5-includes=${qt5.qtbase.dev}/include" ] + ++ optionals gtkClient [ "--enable-client=gtk3.22" ] ++ optional enableSqlite "--enable-fcdb=sqlite3" ++ optional (!gtkClient) "--enable-fcmp=cli" ++ optional (!server) "--disable-server"; |