gnu: liblinphone: Add features.
* gnu/packages/linphone.scm (liblinphone)[arguments]<#:configure-flags>: Add features. <#:phases>[patch]: New phase. [inputs]: Add glib, gtk2, notify. [propagated-inputs]: Add murrine.
This commit is contained in:
parent
9732910dd3
commit
02b32cdda6
1 changed files with 24 additions and 1 deletions
|
@ -26,8 +26,11 @@
|
||||||
#:use-module (gnu packages documentation)
|
#:use-module (gnu packages documentation)
|
||||||
#:use-module (gnu packages gettext)
|
#:use-module (gnu packages gettext)
|
||||||
#:use-module (gnu packages gl)
|
#:use-module (gnu packages gl)
|
||||||
|
#:use-module (gnu packages glib)
|
||||||
#:use-module (gnu packages gnome)
|
#:use-module (gnu packages gnome)
|
||||||
|
#:use-module (gnu packages gnome-xyz)
|
||||||
#:use-module (gnu packages graphviz)
|
#:use-module (gnu packages graphviz)
|
||||||
|
#:use-module (gnu packages gtk)
|
||||||
#:use-module (gnu packages image)
|
#:use-module (gnu packages image)
|
||||||
#:use-module (gnu packages linux)
|
#:use-module (gnu packages linux)
|
||||||
#:use-module (gnu packages pulseaudio)
|
#:use-module (gnu packages pulseaudio)
|
||||||
|
@ -387,7 +390,22 @@ including media capture, encoding and decoding, and rendering.")
|
||||||
`(#:tests? #f ; No test target
|
`(#:tests? #f ; No test target
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list
|
(list
|
||||||
"-DENABLE_STATIC=NO"))) ; Not required
|
(string-append "-DGTK2_GDKCONFIG_INCLUDE_DIR="
|
||||||
|
(string-append (assoc-ref %build-inputs "gtk2")
|
||||||
|
"/lib/gtk-2.0/include"))
|
||||||
|
(string-append "-DGTK2_GLIBCONFIG_INCLUDE_DIR="
|
||||||
|
(string-append (assoc-ref %build-inputs "glib")
|
||||||
|
"/lib/glib-2.0/include"))
|
||||||
|
"-DENABLE_STATIC=NO" ; Not required
|
||||||
|
"-DENABLE_GTK_UI=YES") ; For Legacy UI
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch
|
||||||
|
(lambda _
|
||||||
|
(substitute* "gtk/main.c"
|
||||||
|
(("#include \"liblinphone_gitversion.h\"")
|
||||||
|
""))
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("dot" ,graphviz)
|
`(("dot" ,graphviz)
|
||||||
("doxygen" ,doxygen)
|
("doxygen" ,doxygen)
|
||||||
|
@ -401,12 +419,17 @@ including media capture, encoding and decoding, and rendering.")
|
||||||
("belcard" ,belcard)
|
("belcard" ,belcard)
|
||||||
("bellesip" ,belle-sip)
|
("bellesip" ,belle-sip)
|
||||||
("bzrtp", bzrtp)
|
("bzrtp", bzrtp)
|
||||||
|
("glib" ,glib)
|
||||||
|
("gtk2" ,gtk+-2)
|
||||||
("mediastreamer2" ,mediastreamer2)
|
("mediastreamer2" ,mediastreamer2)
|
||||||
|
("notify" ,libnotify)
|
||||||
("ortp" ,ortp)
|
("ortp" ,ortp)
|
||||||
("pystache" ,python-pystache)
|
("pystache" ,python-pystache)
|
||||||
("six" ,python-six)
|
("six" ,python-six)
|
||||||
("sqlite" ,sqlite)
|
("sqlite" ,sqlite)
|
||||||
("udev" ,eudev)))
|
("udev" ,eudev)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("murrine" ,murrine))) ; Required for GTK UI
|
||||||
(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