mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
baresip: assert that all expected modules were compiled
This commit is contained in:
parent
e5e7f76711
commit
7245ee8389
@ -123,6 +123,70 @@ stdenv.mkDerivation rec {
|
|||||||
-DHAVE_INTTYPES_H -D__GLIBC__
|
-DHAVE_INTTYPES_H -D__GLIBC__
|
||||||
-D__need_timeval -D__need_timespec -D__need_time_t '';
|
-D__need_timeval -D__need_timespec -D__need_time_t '';
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
# CMake feature detection is prone to breakage between upgrades:
|
||||||
|
# spot-check that the optional modules we care about were compiled
|
||||||
|
postInstallCheck = lib.concatMapStringsSep "\n" (m: "test -x $out/lib/baresip/modules/${m}.so") [
|
||||||
|
"account"
|
||||||
|
"alsa"
|
||||||
|
"aubridge"
|
||||||
|
"auconv"
|
||||||
|
"aufile"
|
||||||
|
"auresamp"
|
||||||
|
"ausine"
|
||||||
|
"avcodec"
|
||||||
|
"avfilter"
|
||||||
|
"avformat"
|
||||||
|
"cons"
|
||||||
|
"contact"
|
||||||
|
"ctrl_dbus"
|
||||||
|
"ctrl_tcp"
|
||||||
|
"debug_cmd"
|
||||||
|
"dtls_srtp"
|
||||||
|
"ebuacip"
|
||||||
|
"echo"
|
||||||
|
"evdev"
|
||||||
|
"fakevideo"
|
||||||
|
"g711"
|
||||||
|
"g722"
|
||||||
|
"g726"
|
||||||
|
"httpd"
|
||||||
|
"httpreq"
|
||||||
|
"ice"
|
||||||
|
"l16"
|
||||||
|
"menu"
|
||||||
|
"mixausrc"
|
||||||
|
"mixminus"
|
||||||
|
"multicast"
|
||||||
|
"mwi"
|
||||||
|
"natpmp"
|
||||||
|
"netroam"
|
||||||
|
"pcp"
|
||||||
|
"plc"
|
||||||
|
"portaudio"
|
||||||
|
"presence"
|
||||||
|
"rtcpsummary"
|
||||||
|
"sdl"
|
||||||
|
"selfview"
|
||||||
|
"serreg"
|
||||||
|
"snapshot"
|
||||||
|
"sndfile"
|
||||||
|
"srtp"
|
||||||
|
"stdio"
|
||||||
|
"stun"
|
||||||
|
"swscale"
|
||||||
|
"syslog"
|
||||||
|
"turn"
|
||||||
|
"uuid"
|
||||||
|
"v4l2"
|
||||||
|
"vidbridge"
|
||||||
|
"vidinfo"
|
||||||
|
"vp8"
|
||||||
|
"vp9"
|
||||||
|
"vumeter"
|
||||||
|
"x11"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Modular SIP User-Agent with audio and video support";
|
description = "Modular SIP User-Agent with audio and video support";
|
||||||
homepage = "https://github.com/baresip/baresip";
|
homepage = "https://github.com/baresip/baresip";
|
||||||
|
Loading…
Reference in New Issue
Block a user