gnu: liblinphone: Update to 5.2.50.
* gnu/packages/linphone.scm (liblinphone): Update to 5.2.50. [arguments]: Use G-expression; disable flexiapi and strict mode. [inputs]: Replace openldap with openldap-for-linphone; add zxing-cpp.
This commit is contained in:
		
							parent
							
								
									626d921558
								
							
						
					
					
						commit
						850b3b116a
					
				
					 1 changed files with 31 additions and 27 deletions
				
			
		| 
						 | 
					@ -23,6 +23,7 @@
 | 
				
			||||||
(define-module (gnu packages linphone)
 | 
					(define-module (gnu packages linphone)
 | 
				
			||||||
  #:use-module (gnu packages)
 | 
					  #:use-module (gnu packages)
 | 
				
			||||||
  #:use-module (gnu packages admin)
 | 
					  #:use-module (gnu packages admin)
 | 
				
			||||||
 | 
					  #:use-module (gnu packages aidc)
 | 
				
			||||||
  #:use-module (gnu packages audio)
 | 
					  #:use-module (gnu packages audio)
 | 
				
			||||||
  #:use-module (gnu packages avahi)
 | 
					  #:use-module (gnu packages avahi)
 | 
				
			||||||
  #:use-module (gnu packages cpp)
 | 
					  #:use-module (gnu packages cpp)
 | 
				
			||||||
| 
						 | 
					@ -744,7 +745,7 @@ device.")
 | 
				
			||||||
(define-public liblinphone
 | 
					(define-public liblinphone
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "liblinphone")
 | 
					    (name "liblinphone")
 | 
				
			||||||
    (version "4.4.34")
 | 
					    (version "5.2.50")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method git-fetch)
 | 
					       (method git-fetch)
 | 
				
			||||||
| 
						 | 
					@ -753,30 +754,32 @@ device.")
 | 
				
			||||||
             (commit version)))
 | 
					             (commit version)))
 | 
				
			||||||
       (file-name (git-file-name name version))
 | 
					       (file-name (git-file-name name version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "1lwabr93jw24y04pdqnw9dgg8jb3lzfplyx19f83jgp9dj8kmfq9"))))
 | 
					        (base32 "1lvbva234rmck57cxgswgqqvnq8r58i0ls4qgpymrxdfj74rinxj"))))
 | 
				
			||||||
    (outputs '("out" "tester"))
 | 
					    (outputs '("out" "tester"))
 | 
				
			||||||
    (build-system cmake-build-system)
 | 
					    (build-system cmake-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:tests? #f                      ; Tests require networking
 | 
					     (list
 | 
				
			||||||
       #:configure-flags (list "-DENABLE_STATIC=NO"
 | 
					      #:tests? #f                       ; Tests require networking
 | 
				
			||||||
 | 
					      #:configure-flags
 | 
				
			||||||
 | 
					      '(list "-DENABLE_FLEXIAPI=NO"  ;requires jsoncpp, but it cannot be found
 | 
				
			||||||
 | 
					             "-DENABLE_STATIC=NO"
 | 
				
			||||||
             "-DENABLE_DOC=NO"       ;requires unpackaged javasphinx
 | 
					             "-DENABLE_DOC=NO"       ;requires unpackaged javasphinx
 | 
				
			||||||
                               "-DENABLE_LDAP=YES")
 | 
					             "-DENABLE_LDAP=YES"
 | 
				
			||||||
 | 
					             "-DENABLE_STRICT=NO")
 | 
				
			||||||
      #:phases
 | 
					      #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					      #~(modify-phases %standard-phases
 | 
				
			||||||
          (add-after 'install 'separate-outputs
 | 
					          (add-after 'install 'separate-outputs
 | 
				
			||||||
            (lambda* (#:key outputs #:allow-other-keys)
 | 
					            (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
             (let* ((out (assoc-ref outputs "out"))
 | 
					              (let ((tester-name (string-append #$name "_tester")))
 | 
				
			||||||
                    (tester (assoc-ref outputs "tester"))
 | 
					 | 
				
			||||||
                    (tester-name (string-append ,name "_tester")))
 | 
					 | 
				
			||||||
                (for-each mkdir-p
 | 
					                (for-each mkdir-p
 | 
				
			||||||
                         (list (string-append tester "/bin")
 | 
					                          (list (string-append #$output:tester "/bin")
 | 
				
			||||||
                               (string-append tester "/share")))
 | 
					                                (string-append #$output:tester "/share")))
 | 
				
			||||||
               (rename-file (string-append out "/bin/" tester-name)
 | 
					                (rename-file (string-append #$output "/bin/" tester-name)
 | 
				
			||||||
                            (string-append tester "/bin/" tester-name))
 | 
					                             (string-append #$output:tester "/bin/" tester-name))
 | 
				
			||||||
               (rename-file (string-append out "/bin/groupchat_benchmark")
 | 
					                (rename-file (string-append #$output "/bin/groupchat_benchmark")
 | 
				
			||||||
                            (string-append tester "/bin/groupchat_benchmark"))
 | 
					                             (string-append #$output:tester "/bin/groupchat_benchmark"))
 | 
				
			||||||
               (rename-file (string-append out "/share/" tester-name)
 | 
					                (rename-file (string-append #$output "/share/" tester-name)
 | 
				
			||||||
                            (string-append tester "/share/" tester-name))))))))
 | 
					                             (string-append #$output:tester "/share/" tester-name))))))))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     (list graphviz
 | 
					     (list graphviz
 | 
				
			||||||
           doxygen
 | 
					           doxygen
 | 
				
			||||||
| 
						 | 
					@ -792,16 +795,17 @@ device.")
 | 
				
			||||||
           belle-sip
 | 
					           belle-sip
 | 
				
			||||||
           belr
 | 
					           belr
 | 
				
			||||||
           bzrtp
 | 
					           bzrtp
 | 
				
			||||||
           openldap
 | 
					 | 
				
			||||||
           xsd
 | 
					 | 
				
			||||||
           lime
 | 
					           lime
 | 
				
			||||||
           mediastreamer2
 | 
					 | 
				
			||||||
           libnotify
 | 
					           libnotify
 | 
				
			||||||
 | 
					           libxml2
 | 
				
			||||||
 | 
					           mediastreamer2
 | 
				
			||||||
 | 
					           openldap-for-linphone
 | 
				
			||||||
           ortp
 | 
					           ortp
 | 
				
			||||||
           soci
 | 
					           soci
 | 
				
			||||||
           sqlite
 | 
					           sqlite
 | 
				
			||||||
           libxml2
 | 
					           xsd
 | 
				
			||||||
           zlib))
 | 
					           zlib
 | 
				
			||||||
 | 
					           zxing-cpp))
 | 
				
			||||||
    (synopsis "Belledonne Communications Softphone Library")
 | 
					    (synopsis "Belledonne Communications Softphone Library")
 | 
				
			||||||
    (description "Liblinphone is a high-level SIP library integrating
 | 
					    (description "Liblinphone is a high-level SIP library integrating
 | 
				
			||||||
all calling and instant messaging features into an unified
 | 
					all calling and instant messaging features into an unified
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue