mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
linphone: add withGui option
This commit is contained in:
parent
2f15843601
commit
b6bfbafe5e
@ -4,6 +4,7 @@
|
||||
, mediastreamer-openh264, bctoolbox, makeWrapper, fetchFromGitHub, cmake
|
||||
, libmatroska, bcunit, doxygen, gdk_pixbuf, glib, cairo, pango, polarssl
|
||||
, python, graphviz, belcard
|
||||
, withGui ? true
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -18,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0az2ywrpx11sqfb4s4r2v726avcjf4k15bvrqj7xvhz7hdndmh0j";
|
||||
};
|
||||
|
||||
cmakeFlags = "-DENABLE_GTK_UI=ON";
|
||||
cmakeFlags = stdenv.lib.optional withGui [ "-DENABLE_GTK_UI=ON" ];
|
||||
|
||||
postPatch = ''
|
||||
touch coreapi/liblinphone_gitversion.h
|
||||
|
Loading…
Reference in New Issue
Block a user