parent
8ea209dfe3
commit
1711b30687
@ -1,64 +0,0 @@ |
||||
{ version |
||||
, src |
||||
, jami-meta |
||||
, stdenv |
||||
, lib |
||||
, pkg-config |
||||
, cmake |
||||
, wrapQtAppsHook |
||||
, wrapGAppsHook |
||||
, gtk3-x11 |
||||
, networkmanager # for libnm |
||||
, libayatana-appindicator |
||||
, libnotify |
||||
, clutter-gtk |
||||
, libcanberra-gtk3 |
||||
, webkitgtk |
||||
, qrencode |
||||
, jami-libclient |
||||
, qttools |
||||
}: |
||||
|
||||
stdenv.mkDerivation { |
||||
pname = "jami-client-gnome"; |
||||
inherit version src; |
||||
|
||||
sourceRoot = "source/client-gnome"; |
||||
|
||||
preConfigure = '' |
||||
echo ${version} > version.txt |
||||
''; |
||||
|
||||
nativeBuildInputs = [ |
||||
pkg-config |
||||
cmake |
||||
wrapGAppsHook |
||||
wrapQtAppsHook |
||||
]; |
||||
# To spare double wrapping |
||||
dontWrapGApps = true; |
||||
preFixup = '' |
||||
qtWrapperArgs+=("''${gappsWrapperArgs[@]}") |
||||
# Users that set CLUTTER_BACKEND=wayland in their default environment will |
||||
# encounter a segfault due to: |
||||
# https://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/1100 . |
||||
qtWrapperArgs+=("--unset" "CLUTTER_BACKEND") |
||||
''; |
||||
|
||||
buildInputs = [ |
||||
qttools |
||||
jami-libclient |
||||
gtk3-x11 |
||||
networkmanager |
||||
libayatana-appindicator |
||||
libnotify |
||||
clutter-gtk |
||||
libcanberra-gtk3 |
||||
webkitgtk |
||||
qrencode |
||||
]; |
||||
|
||||
meta = jami-meta // { |
||||
description = "The client based on GTK" + jami-meta.description; |
||||
}; |
||||
} |
@ -0,0 +1,19 @@ |
||||
--disable-sound |
||||
--enable-video |
||||
--enable-ext-sound |
||||
--disable-speex-aec |
||||
--disable-g711-codec |
||||
--disable-l16-codec |
||||
--disable-gsm-codec |
||||
--disable-g722-codec |
||||
--disable-g7221-codec |
||||
--disable-speex-codec |
||||
--disable-ilbc-codec |
||||
--disable-opencore-amr |
||||
--disable-silk |
||||
--disable-sdl |
||||
--disable-ffmpeg |
||||
--disable-v4l2 |
||||
--disable-openh264 |
||||
--disable-resample |
||||
--disable-libwebrtc |
@ -0,0 +1 @@ |
||||
--enable-epoll |
@ -1,6 +0,0 @@ |
||||
{ |
||||
owner = "savoirfairelinux"; |
||||
repo = "pjproject"; |
||||
rev = "e1f389d0b905011e0cb62cbdf7a8b37fc1bcde1a"; |
||||
sha256 = "0inpmyb6mhrzr0g309d6clkc99lddqdvyf9xajz0igvgp9pvgpza"; |
||||
} |
Loading…
Reference in new issue