Skip to content

Commit

Permalink
freeciv: build with gtk when gtkClient = true
Browse files Browse the repository at this point in the history
the configure flag was missing, and now the `freeciv-gtk3` binary will
be produced.
  • Loading branch information
fricklerhandwerk committed May 8, 2021
1 parent de87f98 commit 10f9d7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 10f9d7d

Please sign in to comment.