git.iko.soy/typeable/nixpkgs
on master help sign in
linphone: add withGui option
commitb6bfbafe5eab64faac9da8190996e916b242673a authorStefan Siegl <stesie@brokenpipe.de> dateTue 11 Sep 2018, 17:29 (8 years ago) parent2f15843
1 file changed+2−1
pkgs/applications/networking/instant-messengers/linphone/default.nix+2−1
pkgs/applications/networking/instant-messengers/linphone/default.nix+2−1
@@ -4,6 +4,7 @@
44, mediastreamer-openh264, bctoolbox, makeWrapper, fetchFromGitHub, cmake
55, libmatroska, bcunit, doxygen, gdk_pixbuf, glib, cairo, pango, polarssl
66, python, graphviz, belcard
7+, withGui ? true
78}:
89
910stdenv.mkDerivation rec {
@@ -18,7 +19,7 @@ stdenv.mkDerivation rec {
1819 sha256 = "0az2ywrpx11sqfb4s4r2v726avcjf4k15bvrqj7xvhz7hdndmh0j";
1920 };
2021
21− cmakeFlags = "-DENABLE_GTK_UI=ON";
22+ cmakeFlags = stdenv.lib.optional withGui [ "-DENABLE_GTK_UI=ON" ];
2223
2324 postPatch = ''
2425 touch coreapi/liblinphone_gitversion.h