mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: pjproject: Include sensible configure flags from pjproject-jami.
This is done so the regular pjproject has more in common with pjproject-jami, which allows simplifying its definition. * gnu/packages/telephony.scm (pjproject)[configure-flags]: Add '--enable-epoll' when the system is Linux. Define CFLAGS with the '-DNDEBUG' options.
This commit is contained in:
parent
839bb42f0c
commit
3557d7d8bc
1 changed files with 21 additions and 11 deletions
|
@ -749,17 +749,27 @@ (define-public pjproject
|
|||
(arguments
|
||||
`(#:tests? #t
|
||||
#:test-target "selftest"
|
||||
configure-flags '("--with-external-speex"
|
||||
#:configure-flags
|
||||
(list "--with-external-speex"
|
||||
"--with-external-gsm"
|
||||
"--with-external-srtp"
|
||||
"--with-external-pa"
|
||||
;; The following flag is Linux specific.
|
||||
,@(if (string-contains (or (%current-system)
|
||||
(%current-target-system)) "linux")
|
||||
'("--enable-epoll")
|
||||
'())
|
||||
"--with-gnutls" ;disable OpenSSL checks
|
||||
"--disable-libyuv" ;TODO: add missing package
|
||||
"--disable-silk" ;TODO: add missing package
|
||||
"--disable-libwebrtc" ;TODO: add missing package
|
||||
"--disable-ilbc-codec" ;cannot be unbundled
|
||||
"--disable-g7221-codec" ;TODO: add missing package
|
||||
"--enable-libsamplerate")
|
||||
"--enable-libsamplerate"
|
||||
;; -DNDEBUG is set to prevent pjproject from raising
|
||||
;; assertions that aren't critical, crashing
|
||||
;; applications as the result.
|
||||
"CFLAGS=-DNDEBUG")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'make-source-files-writable
|
||||
|
|
Loading…
Reference in a new issue