mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
linphone: add withGui option
This commit is contained in:
parent
2f15843601
commit
b6bfbafe5e
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
, mediastreamer-openh264, bctoolbox, makeWrapper, fetchFromGitHub, cmake
|
, mediastreamer-openh264, bctoolbox, makeWrapper, fetchFromGitHub, cmake
|
||||||
, libmatroska, bcunit, doxygen, gdk_pixbuf, glib, cairo, pango, polarssl
|
, libmatroska, bcunit, doxygen, gdk_pixbuf, glib, cairo, pango, polarssl
|
||||||
, python, graphviz, belcard
|
, python, graphviz, belcard
|
||||||
|
, withGui ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -18,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0az2ywrpx11sqfb4s4r2v726avcjf4k15bvrqj7xvhz7hdndmh0j";
|
sha256 = "0az2ywrpx11sqfb4s4r2v726avcjf4k15bvrqj7xvhz7hdndmh0j";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = "-DENABLE_GTK_UI=ON";
|
cmakeFlags = stdenv.lib.optional withGui [ "-DENABLE_GTK_UI=ON" ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
touch coreapi/liblinphone_gitversion.h
|
touch coreapi/liblinphone_gitversion.h
|
||||||
|
|
Loading…
Reference in a new issue