diff options
author | Raghav Gururajan <raghavgururajan@disroot.org> | 2020-04-11 01:21:03 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2020-04-11 01:49:22 +0200 |
commit | c0cce2055757c18619ef1826c54ed3d5b9ec7eb0 (patch) | |
tree | 24dede9d7bbbf2e13f5d130116c612f65bf1f00d | |
parent | 3daf981942122f0d9b301b0c5f33551ffaaa130e (diff) | |
download | guix-c0cce2055757c18619ef1826c54ed3d5b9ec7eb0.tar.gz |
gnu: Add linphoneqt.
* gnu/packages/linphone.scm (linphoneqt): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
-rw-r--r-- | gnu/packages/linphone.scm | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm index feb8e26eba..fb9a6fd421 100644 --- a/gnu/packages/linphone.scm +++ b/gnu/packages/linphone.scm @@ -37,6 +37,7 @@ #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages qt) #:use-module (gnu packages java) #:use-module (gnu packages sqlite) #:use-module (gnu packages telephony) @@ -49,6 +50,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system cmake) + #:use-module (guix build-system qt) #:use-module (guix build-system gnu)) (define-public bcunit @@ -470,6 +472,50 @@ and video calls or instant messaging capabilities to an application.") (home-page "https://gitlab.linphone.org/BC/public/liblinphone") (license license:gpl2+))) +(define-public linphoneqt + (package + (name "linphoneqt") + (version "4.1.1") + (source + (origin + (method url-fetch) + (uri + (string-append "https://www.linphone.org/releases/sources/" name + "/" name "-" version ".tar.gz")) + (sha256 + (base32 "1g2zrr9li0g1hgs6vys06vr98h5dx36z22hx7a6ry231536c002a")))) + (build-system qt-build-system) + (arguments + `(#:tests? #f ; No test target + #:phases + ;; For replacing undeclared variable. + (modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + (substitute* "src/app/AppController.cpp" + (("LINPHONE_QT_GIT_VERSION") + "\"4.1.1\"")) + #t))))) + (native-inputs + `(("qttools" ,qttools))) + (inputs + `(("bctoolbox" ,bctoolbox) + ("belcard" ,belcard) + ("bellesip" ,belle-sip) + ("linphone" ,liblinphone) + ("mediastreamer2" ,mediastreamer2) + ("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("qtgraphicaleffects" ,qtgraphicaleffects) + ("qtquickcontrols2" ,qtquickcontrols2) + ("qtsvg" ,qtsvg))) + (synopsis "Belledonne Communications Softphone Application") + (description "Linphone is a softphone for voice and video over IP calling +and instant messaging. It is fully SIP-based, for all calling, presence +and IM features.") + (home-page "https://gitlab.linphone.org/BC/public/linphone-desktop") + (license license:gpl2+))) + (define-public msopenh264 (package (name "msopenh264") |