mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Making sflphone build, and its gnome client too.
This commit is contained in:
parent
53f38dcbd0
commit
538a1d3aa1
@ -1,8 +1,10 @@
|
||||
{ stdenv, fetchurl, libyaml, alsaLib, openssl, libuuid, pkgconfig, pulseaudio, libsamplerate,
|
||||
commoncpp2, ccrtp, libzrtpcpp, dbus, dbus_cplusplus, expat, pcre, gsm, speex, ilbc, libopus,
|
||||
autoconf, automake, libtool, gettext, perl }:
|
||||
{ stdenv, fetchurl, libyaml, alsaLib, openssl, libuuid, pkgconfig, pulseaudio, libsamplerate
|
||||
, commoncpp2, ccrtp, libzrtpcpp, dbus, dbus_cplusplus, expat, pcre, gsm, speex, ilbc, libopus
|
||||
, autoconf, automake, libtool, gettext, perl
|
||||
, cmake, qt4
|
||||
, gtk, glib, dbus_glib, libnotify, intltool }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
name = "sflphone-1.2.3";
|
||||
|
||||
src = fetchurl {
|
||||
@ -10,6 +12,21 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0aiwlky7mp5l51a7kkhkmaz7ivapypar291kdxzdxl1s3qy0x6fd";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://sflphone.org/;
|
||||
license = "GPLv3+";
|
||||
description = "Free software enterprise-class softphone for GNU/Linux";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
};
|
||||
|
||||
in
|
||||
rec {
|
||||
daemon = stdenv.mkDerivation {
|
||||
name = name + "-daemon";
|
||||
|
||||
inherit src;
|
||||
|
||||
patches = [ ./libzrtpcpp-cflags.patch ];
|
||||
|
||||
preConfigure = ''
|
||||
@ -29,4 +46,34 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libyaml alsaLib openssl libuuid pkgconfig pulseaudio libsamplerate
|
||||
commoncpp2 ccrtp libzrtpcpp dbus dbus_cplusplus expat pcre gsm speex ilbc libopus
|
||||
autoconf automake libtool gettext perl ];
|
||||
};
|
||||
|
||||
# This fails still.
|
||||
# I don't know the best way to make this a KDE program (with switchable kde
|
||||
# libs, like digikam for example)
|
||||
/*
|
||||
kde = stdenv.mkDerivation {
|
||||
name = name + "-kde";
|
||||
|
||||
inherit src;
|
||||
|
||||
preConfigure = ''
|
||||
cd kde
|
||||
'';
|
||||
|
||||
buildInputs = [ daemon cmake qt4 pkgconfig ];
|
||||
};
|
||||
*/
|
||||
|
||||
gnome = stdenv.mkDerivation {
|
||||
name = name + "-gnome";
|
||||
|
||||
inherit src;
|
||||
|
||||
preConfigure = ''
|
||||
cd gnome
|
||||
'';
|
||||
|
||||
buildInputs = [ daemon pkgconfig gtk glib dbus_glib libnotify intltool ];
|
||||
};
|
||||
}
|
||||
|
@ -8107,7 +8107,9 @@ let
|
||||
|
||||
seq24 = callPackage ../applications/audio/seq24 { };
|
||||
|
||||
sflphone = callPackage ../applications/networking/instant-messengers/sflphone { };
|
||||
sflphone = callPackage ../applications/networking/instant-messengers/sflphone {
|
||||
gtk = gtk3;
|
||||
};
|
||||
|
||||
siproxd = callPackage ../applications/networking/siproxd { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user