guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: mumble: Add 'murmur' output.


From: contact . ng0
Subject: [PATCH] gnu: mumble: Add 'murmur' output.
Date: Wed, 1 Feb 2017 20:43:12 +0000

From: ng0 <address@hidden>

* gnu/packages/telephony.scm (mumble): Add new output 'murmur'.
[arguments]: Add "no-ice" to config phase.
---
 gnu/packages/telephony.scm | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index c393caace..ce5d276f5 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2015, 2016 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016 Lukas Gradl <address@hidden>
 ;;; Copyright © 2016 Francesco Frassinelli <address@hidden>
-;;; Copyright © 2016 ng0 <address@hidden>
+;;; Copyright © 2016, 2017 ng0 <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -353,7 +353,7 @@ address of one of the participants.")
                              (string-append "CONFIG+="
                                             (string-join
                                              (list "no-update"
-                                                   "no-server"
+                                                   "no-ice"
                                                    "no-embed-qt-translations"
                                                    "no-bundled-speex"
                                                    "pch"
@@ -377,6 +377,11 @@ address of one of the participants.")
          (replace 'install ; install phase does not exist
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))
+                    (murmur (assoc-ref outputs "murmur"))
+                    (mbin (string-append murmur "/bin"))
+                    (metc (string-append murmur "/etc/murmur"))
+                    (mdbus (string-append murmur "/etc/dbus-1/system.d/"))
+                    (mman (string-append murmur "/share/man/man1"))
                     (bin (string-append out "/bin"))
                     (services (string-append out "/share/services"))
                     (applications (string-append out "/share/applications"))
@@ -390,6 +395,13 @@ address of one of the participants.")
                (install-file "icons/mumble.svg" icons)
                (install-file "man/mumble-overlay.1" man)
                (install-file "man/mumble.1" man)
+               ;; Murmur
+               (install-file "release/murmurd" mbin)
+               (install-file "scripts/murmur.ini.system" metc)
+               (rename-file (string-append metc "/murmur.ini.system")
+                            (string-append metc "/murmur.ini"))
+               (install-file "scripts/murmur.conf" mdbus)
+               (install-file "man/murmurd.1" mman)
                (for-each (lambda (file) (install-file file lib))
                          (find-files "." "\\.so\\."))
                (for-each (lambda (file) (install-file file lib))
@@ -410,6 +422,8 @@ address of one of the participants.")
        ("pulseaudio" ,pulseaudio)))
     (native-inputs
      `(("pkg-config" ,pkg-config)))
+    (outputs '("out"      ; The client
+               "murmur")) ; The server
     (synopsis "Low-latency, high quality voice chat software")
     (description
      "Mumble is an low-latency, high quality voice chat
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]