mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #122134 from fricklerhandwerk/freeciv-gtk
freeciv: build with `gtk` with `gtkClient = true`
This commit is contained in:
commit
677dc1b93b
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user